TwoDLocationCompareTo(ILocation, Double) Method
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.GenericAssembly: DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 24.0.0.0 (11.1.1.1111)
public int CompareTo(
ILocation other,
double tolerance
)
- other ILocation
- the location to compare to
- tolerance Double
- the tolerance [m] within which chainages are taken as equal
Int32lexical comparison result