LocationCompareTo Method
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.GenericAssembly: DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 24.0.0.0 (11.1.1.1111)
public int CompareTo(
Object obj
)
- obj Object
- Other ILocation (or Location) to compare to
Int320 if the same (withing Constants.LOCATION_EQUAL_TOLERANCE), else nonzero.
IComparableCompareTo(Object)