Order a set of ReferencePoints in the same way Revit does
when creating a curve from points.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public static bool SortPoints( ReferencePointArray arr )
Parameters
- arr ReferencePointArray
- An array of ReferencePoints. The array is reordered if sortPoints returns true, and is unchanged if sortPoints returns false.
Return Value
BooleanFalse if the least-squares method is unable to find a solution; true otherwise.