Orders a set of points so they will be connected in a "reasonable polyline" order.
Also, removes points from the list if their common distance exceeds a specified threshold.
RhinoCommon (in RhinoCommon.dll)
public static Point3d SortAndCullPointList(
Public Shared Function SortAndCullPointList (
points As IEnumerable(Of Point3d),
minimumDistance As Double
) As Point3d()
- Type: System.Collections.GenericIEnumerablePoint3d
A list, an array or any enumerable of Point3d.
- Type: SystemDouble
Minimum allowed distance among a pair of points. If points are closer than this, only one of them will be kept.
The new array of sorted and culled points.
Rhino for MacSupported in: 5.4
Rhino for WindowsSupported in: 6.8