This document is archived and information here might be outdated.  Recommended version.


IRelationalOperator.Overlaps Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Geometry)  

IRelationalOperator.Overlaps Method

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*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

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.

Remarks

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.

See Also

IRelationalOperator Interface