Click or drag to resize

QuadraticCurveToMetafileCommandCreatePolyline 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 delta = 100
)

Parameters

numOfPoints  Int32  (Optional)
The number of points used in the first step of the conversion.
delta  Double  (Optional)
A point P is considered to be laying on a line if the perpendicular of P to the line between the line and P is less than this value in micrometers.

Return Value

PolyLineMetafileCommand
The new polyline command approximating the object.
See Also