ArcObjects Library Reference (Geometry)  

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

Parameters

other

  other is a parameter of type IGeometry

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

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

.NET Related Topics

Creating a plug-in data source