Compares two ILocations. First id is compared, secondly chainage.
This can be used to sort the ILocations, first alphabetically, secondly
by chainage.
Namespace:
DHI.Mike1D.Generic
Assembly:
DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax public int CompareTo(
Object obj
)
Public Function CompareTo (
obj As Object
) As Integer
public:
virtual int CompareTo(
Object^ obj
) sealed
Parameters
- obj
- Type: SystemObject
Other ILocation (or Location) to compare to
Return Value
Type:
Int320 if the same (withing Constants.LOCATION_EQUAL_TOLERANCE), else nonzero.
Implements
IComparableCompareTo(Object)See Also