M_Rhino_Geometry_Interval_CompareTo - mcneel/rhinocommon-api-docs GitHub Wiki
Compares this Interval with another interval. The lower bound has first evaluation priority.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public int CompareTo(
Interval other
)VB
Public Function CompareTo (
other As Interval
) As Integer
- other
- Type: Rhino.Geometry.Interval
The other Interval to compare with.
Type: Int32
0: if this is identical to other
-1: if this[0] < other[0]
+1: if this[0] > other[0]
-1: if this[0] == other[0] and this[1] < other[1]
+1: if this[0] == other[0] and this[1] > other[1] .
Supported in: 6.0.16224.21491, 5D58w