Click or drag to resize

VectorGraphicOptimizerJoinStraightLines(VectorGraphicLayer, Double) Method

Loops through all paths and concatenates in each path adjacent lines if they are collinear.

Namespace: RAYLASE.Marker.VectorGraphicElement
Assembly: RAYLASE.Marker.VectorGraphicElement (in RAYLASE.Marker.VectorGraphicElement.dll) Version: 2.19.0
Syntax
C#
public void JoinStraightLines(
	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.
See Also