Determines whether this geometry overlap with a specified geometry.
public bool Overlaps(IGeometry other)
true if this geometry is “spatially overlaps” another geometry.
|ArgumentNullException||Argument is |
|ArgumentException||One of the geometries is invalid in such way that operation can not be finished.|
This method tests whether geometries are overlaps in terms of DE-9IM intersection matrix. Two geometries overlap if they have some but not all interior points in common and the intersection of the geometries have the same dimension as the geometries themselves. For two Point geometries or two Surface geometries this method is equivalent to:
For two Line geometries this method is equivalent to:
For two geometries with not equal
Dimension this method always returns
false. See OpenGIS Simple Features Specification for more details about DE-9IM and “spatially overlaps” relation.
- interface IGeometry
- namespace Aspose.Gis.Geometries
- assembly Aspose.GIS