EllipseToMetafileCommandCreatePolyline 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.MetafileCommandAssembly: RAYLASE.Marker.VectorGraphicElement (in RAYLASE.Marker.VectorGraphicElement.dll) Version: 2.19.0
Syntaxpublic 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.EllipseToMetafileCommand.CreatePolyline(System.Int32,System.Double)"]
Return Value
PolyLineMetafileCommandThe new polyline command approximating the object.
See Also