This document is archived and information here might be outdated. Recommended version. |
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
);
[C++] Parameters other
other is a parameter of type IGeometry*
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.