Click or drag to resize

UtilsRemoveStraightPoints Method

Loops repeatedly through the points until all points laying on a line defined by two predecessor points are removed.

Namespace: RAYLASE.Marker.VectorGraphicElement
Assembly: RAYLASE.Marker.VectorGraphicElement (in RAYLASE.Marker.VectorGraphicElement.dll) Version: 2.42.0
Syntax
C#
public static IList<dvec3> RemoveStraightPoints(
	IList<dvec3> points,
	dvec3 start,
	double delta = 0.01
)

Parameters

points  IListdvec3
Points to check.
start  dvec3
Start point (not part of the point list).
delta  Double  (Optional)
The delta determines how close a point should be to the line to consider it to be on the line; given in micrometers. for details.

Return Value

IListdvec3
Filtered points.
See Also