Click or drag to resize

VectorGraphicOptimizerOptimizeVectors(IListVectorGraphicLayer, OptimizationSettings, dmat4, Double, Int32, NullableCancellationToken) Method

Optimizes all objects for filling. For best filling Results, the vectors have to be in order, the objects have to closed and objects contained in another object must be of opposite orientation.

Namespace: RAYLASE.Marker.VectorGraphicElement
Assembly: RAYLASE.Marker.VectorGraphicElement (in RAYLASE.Marker.VectorGraphicElement.dll) Version: 2.19.0
Syntax
C#
public void OptimizeVectors(
	IList<VectorGraphicLayer> layers,
	OptimizationSettings optimizationSettings,
	dmat4 transformation,
	double motfAngle = 0,
	int defaultPenNumber = 1,
	CancellationToken? cancellationToken = null
)

Parameters

layers  IListVectorGraphicLayer

[Missing <param name="layers"/> documentation for "M:RAYLASE.Marker.VectorGraphicElement.VectorGraphicOptimizer.OptimizeVectors(System.Collections.Generic.IList{RAYLASE.Marker.VectorGraphicElement.VectorGraphicLayer},RAYLASE.Marker.Configuration.OptimizationSettings,GlmSharp.dmat4,System.Double,System.Int32,System.Nullable{System.Threading.CancellationToken})"]

optimizationSettings  OptimizationSettings
The optimization parameters.
transformation  dmat4

[Missing <param name="transformation"/> documentation for "M:RAYLASE.Marker.VectorGraphicElement.VectorGraphicOptimizer.OptimizeVectors(System.Collections.Generic.IList{RAYLASE.Marker.VectorGraphicElement.VectorGraphicLayer},RAYLASE.Marker.Configuration.OptimizationSettings,GlmSharp.dmat4,System.Double,System.Int32,System.Nullable{System.Threading.CancellationToken})"]

motfAngle  Double  (Optional)

[Missing <param name="motfAngle"/> documentation for "M:RAYLASE.Marker.VectorGraphicElement.VectorGraphicOptimizer.OptimizeVectors(System.Collections.Generic.IList{RAYLASE.Marker.VectorGraphicElement.VectorGraphicLayer},RAYLASE.Marker.Configuration.OptimizationSettings,GlmSharp.dmat4,System.Double,System.Int32,System.Nullable{System.Threading.CancellationToken})"]

defaultPenNumber  Int32  (Optional)

[Missing <param name="defaultPenNumber"/> documentation for "M:RAYLASE.Marker.VectorGraphicElement.VectorGraphicOptimizer.OptimizeVectors(System.Collections.Generic.IList{RAYLASE.Marker.VectorGraphicElement.VectorGraphicLayer},RAYLASE.Marker.Configuration.OptimizationSettings,GlmSharp.dmat4,System.Double,System.Int32,System.Nullable{System.Threading.CancellationToken})"]

cancellationToken  NullableCancellationToken  (Optional)

[Missing <param name="cancellationToken"/> documentation for "M:RAYLASE.Marker.VectorGraphicElement.VectorGraphicOptimizer.OptimizeVectors(System.Collections.Generic.IList{RAYLASE.Marker.VectorGraphicElement.VectorGraphicLayer},RAYLASE.Marker.Configuration.OptimizationSettings,GlmSharp.dmat4,System.Double,System.Int32,System.Nullable{System.Threading.CancellationToken})"]

See Also