Click or drag to resize

CubicCurveToMetafileCommandCreatePolyline Method

Creates a polyline from the command. The creation process is done in two steps: In the first step a polyline with numOfPoints points is created; this number should not be too small to have a good approximation guaranteed. In the second step all straight points are removed using the delta parameter. See CheckThreePointsOnLinearityWithDistance(dvec3, dvec3, dvec3, Double) for details.

Namespace: RAYLASE.Marker.VectorGraphicElement.MetafileCommand
Assembly: RAYLASE.Marker.VectorGraphicElement (in RAYLASE.Marker.VectorGraphicElement.dll) Version: 2.19.0
Syntax
C#
public override PolyLineMetafileCommand CreatePolyline(
	int numOfPoints = 500,
	double collinearityDistance = 100
)

Parameters

numOfPoints  Int32  (Optional)
The number of points used in the first step of the conversion.
collinearityDistance  Double  (Optional)

[Missing <param name="collinearityDistance"/> documentation for "M:RAYLASE.Marker.VectorGraphicElement.MetafileCommand.CubicCurveToMetafileCommand.CreatePolyline(System.Int32,System.Double)"]

Return Value

PolyLineMetafileCommand
The new polyline command approximating the object.
See Also