VectorGraphicOptimizerRemoveStraightPoints(VectorGraphicLayer, Double) Method |
Loops through all paths and checks all polylines for adjacent
points building a line. If found, the points between the line's
borders are removed.
Namespace: RAYLASE.Marker.VectorGraphicElementAssembly: RAYLASE.Marker.VectorGraphicElement (in RAYLASE.Marker.VectorGraphicElement.dll) Version: 2.19.0
Syntaxpublic void RemoveStraightPoints(
VectorGraphicLayer layer,
double collinearityDistance = 100
)
Parameters
- layer VectorGraphicLayer
- The layer to be worked on.
- collinearityDistance Double (Optional)
-
A point is considered to be laying on the line defined by two other points if its perpendicular distance from the line is less than this value, measured in micrometers.
See for details.
RemarksCollinearityDistance determines how close (in micrometers)
a control point should be to the line to consider it to be on the
line.
See
for details.
See Also