M_Rhino_Geometry_Point2d_CompareTo - mcneel/rhinocommon-api-docs GitHub Wiki
Compares this Point2d with another Point2d. Coordinates evaluation priority is first X, then Y.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public int CompareTo(
Point2d other
)
VB
Public Function CompareTo (
other As Point2d
) As Integer
- other
- Type: Rhino.Geometry.Point2d
The other Point2d to use in comparison.
Type: Int32
0: if this is identical to other
-1: if this.X < other.X
-1: if this.X == other.X and this.Y < other.Y
+1: otherwise.
Supported in: 6.0.16224.21491, 5D58w