IGeometry.Disjoint

IGeometry.Disjoint method

Determines if this geometry is disjoint from a specified geometry.

public bool Disjoint(IGeometry other)
ParameterTypeDescription
otherIGeometryA geometry.

Return Value

true if this geometry is “spatially disjoint” from another geometry. false otherwise.

Exceptions

exceptioncondition
ArgumentNullExceptionArgument is null.
ArgumentExceptionOne of the geometries is invalid in such way that operation can not be finished.
ArgumentExceptionSpatialReferenceSystem of geometries are not equivalent. You can use SpatialReferenceSystemTransformation in order to convert geometries to the same spatial reference system.

Remarks

This method tests whether geometries are disjoint in terms of DE-9IM intersection matrix. Basically, it tests that two geometries have no common points. This method is equivalent to:

this.Relate(other, "FF*FF****");

See OpenGIS Simple Features Specification for more details about DE-9IM.

See Also