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


IRelationalOperator.Disjoint Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IR > IRelationalOperator Interface > IRelationalOperator.Disjoint Method
ArcGIS Developer Help

IRelationalOperator.Disjoint Method

Indicates if the two geometries share no points in common. Negate this result to compute the Intersect relation.

[Visual Basic .NET]
Public Function Disjoint ( _
    ByVal other As IGeometry _
) As Boolean
[C#]
public bool Disjoint (
    IGeometry other
);
[C++]
HRESULT Disjoint(
  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 are disjoint if their intersection is empty.  Two geometries intersect if disjoint is "false".  Disjoint is a Clementini operator.

Remarks

Only geometries that support the IRelationalOperator interface can be used as input geometries.

Two geometries are disjoint if either one is empty.

Disjoint example. Only "true" relationships are showed in this picture.

See Also

IRelationalOperator Interface