Geotools.Net

Geometry.EqualsTopology Method 

Returns true if the DE-9IM intersection matrix for the two Geometrys is T*F**FFF*.

[Visual Basic]
Overridable Public Function EqualsTopology( _
   ByVal geometry As Geometry _
) As Boolean Implements _
   IGeometry.EqualsTopology
[C#]
public virtual bool EqualsTopology(
   Geometry geometry
);

Parameters

geometry
The Geometry with which to compare this Geometry.

Return Value

Returns true if the two Geometrys are equal.

Implements

IGeometry.EqualsTopology

Remarks

EqualsTopology is a topological relationship, and does not imply that the Geometries have the same points or even that they are of the same class. This more restrictive form of equality is implemented in the Equals method. Two geometries are topologically equal if and only iff their interiors intersect and no part of the interior or boundary of one geomtry intersects the exterior of the other.

See Also

Geometry Class | Geometry Members | Geotools.Geometries Namespace