Geotools.Net

Geometry.IsEquivalentClass Method 

Returns whether the two Geometrys are equal, from the point of view of the equalsExact method.

[Visual Basic]
Overridable Protected Function IsEquivalentClass( _
   ByVal geometry As Geometry _
) As Boolean
[C#]
protected virtual bool IsEquivalentClass(
   Geometry geometry
);

Parameters

geometry
the Geometry with which to compare this Geometry for equality

Return Value

Returns true if the classes of the two Geometries are considered to be equal by the equalsExact method.

Remarks

Called by equalsExact. In general, two Geometry classes are considered to be "equivalent" only if they are the same class. An exception is LineString, which is considered to be equivalent to its subclasses.

See Also

Geometry Class | Geometry Members | Geotools.Geometries Namespace