Geotools.Net

Geometry.CompareTo Method 

Returns whether this Geometry is greater than, equal to, or less than another Geometry. If their classes are different, they are compared using the following ordering:

If the two Geometrys have the same class, their first elements are compared. If those are the same, the second elements are compared, etc.

[Visual Basic]
Overridable Public Function CompareTo( _
   ByVal obj As Object _
) As Integer Implements _
   IComparable.CompareTo
[C#]
public virtual int CompareTo(
   object obj
);

Parameters

obj
A Geometry with which to compare to this Geometry.

Return Value

Returns a positive number, 0, or a negative number, depending on whether this object is greater than, equal to, or less than the other geometry.

Implements

IComparable.CompareTo

Remarks

Missing <remarks> documentation for M:Geotools.Geometries.Geometry.CompareTo(System.Object)

See Also

Geometry Class | Geometry Members | Geotools.Geometries Namespace