IGeometry.Intersects

Intersects(Extent)

Determines whether this geometry intersects a specified extent.

public bool Intersects(Extent extent)
ParameterTypeDescription
extentExtentThe extent.

Return Value

true if this geometry intersects the extent; false otherwise.

Exceptions

exceptioncondition
ArgumentNullExceptionArgument is null.

See Also


Intersects(IGeometry)

Determines if this geometry and a specified geometry intersects.

public bool Intersects(IGeometry other)
ParameterTypeDescription
otherIGeometryA geometry.

Return Value

true if this geometry “spatially intersects” 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 is equivalent to:

!this.Disjoint(other);

This is the negation of Disjoint. See Disjoint for more details.

See Also