Extent.Intersects

Intersects(Extent)

Determines whether this extent intersects with the argument.

public bool Intersects(Extent extent)
ParameterTypeDescription
extentExtentAnother extent.

Return Value

Value, indicating whether this extent intersects with the argument.

Exceptions

exceptioncondition
ArgumentNullExceptionArgument is null.
ArgumentExceptionSpatialReferenceSystem of this extent and the argument are both not null and not equal to each other.

See Also


Intersects(IGeometry)

Determines whether this extent intersects with the argument.

public bool Intersects(IGeometry geometry)
ParameterTypeDescription
geometryIGeometryA geometry to test for intersection

Return Value

Value, indicating whether this extent intersects with the argument.

Exceptions

exceptioncondition
ArgumentNullExceptionArgument is null.
ArgumentExceptionSpatialReferenceSystem of this extent and the argument are both not null and not equal to each other.

See Also