This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IR > IRelationalOperator Interface > IRelationalOperator.Disjoint Method (ArcObjects .NET 10.4 SDK) |
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
Two geometries are disjoint if their intersection is empty. Two geometries intersect if disjoint is "false". Disjoint is a Clementini operator.
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.