This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IR > IRelationalOperator Interface > IRelationalOperator.Overlaps Method (ArcObjects .NET 10.4 SDK) |
Indicates if the intersection of the two geometries has the same dimension as one of the input geometries.
[Visual Basic .NET] Public Function Overlaps ( _ ByVal other As IGeometry _ ) As Boolean
[C#] public bool Overlaps ( IGeometry other );
[C++]
HRESULT Overlaps(
IGeometry* other,
VARIANT_BOOL* Overlaps
);
[C++]
Parameters other
other is a parameter of type IGeometry Overlaps [out, retval] Overlaps is a parameter of type VARIANT_BOOL
Two geometries overlap if the region of their intersection is of the same dimension as the geometries involved and is not equivalent to either of the geometries. Overlaps is a Clementini operator.
Only geometries that support the IRelationalOperator interface can be used as input geometries.
Overlaps only applies to polyline/polyline, polygon/polygon and multipoint/multipoint relations.
Two geometries do not overlap if either one is empty.
Overlaps examples. Only "true" relationships are showed in this picture.