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,
  VARIANT_BOOL* Overlaps
);
[C++]

Parameters

other

  other is a parameter of type IGeometry

Overlaps [out, retval]   Overlaps is a parameter of type VARIANT_BOOL

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