TwoDLocationCompareTo(Object) Method

IComparable implementation. 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.

Definition

Namespace: DHI.Mike1D.Generic
Assembly: DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public int CompareTo(
	Object obj
)

Parameters

obj  Object
other object (really a Location) to compare to

Return Value

Int32
lexical comparison result

Implements

IComparableCompareTo(Object)

See Also