IntervalCompareTo Method |
The lower bound has first evaluation priority.
Namespace: Rhino.Geometry
public int CompareTo( Interval other )
Public Function CompareTo ( other As Interval ) As Integer
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]
.