TwoDLocationCompareTo Method (ILocation, Double) |
like IComaparable, but with tolerance for coordinate comparison as an argument.
Hierarchical calls to the CompareTo methods
for topo ID, then x1, then y1, x2, y2 comparison (but not Info). String comparisons
are case-insensitive and culture-invariant.
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(
ILocation other,
double tolerance
)
Public Function CompareTo (
other As ILocation,
tolerance As Double
) As Integer
public:
int CompareTo(
ILocation^ other,
double tolerance
)
Parameters
- other
- Type: DHI.Mike1D.GenericILocation
the location to compare to - tolerance
- Type: SystemDouble
the tolerance [m] within which chainages are taken as equal
Return Value
Type:
Int32lexical comparison result
See Also