IGeometry.Intersects
Contents
[
Hide
]Intersects(Extent)
Determines whether this geometry intersects a specified extent.
public bool Intersects(Extent extent)
| Parameter | Type | Description |
|---|---|---|
| extent | Extent | The extent. |
Return Value
true if this geometry intersects the extent; false otherwise.
Exceptions
| exception | condition |
|---|---|
| ArgumentNullException | Argument is null. |
See Also
- method Intersects
- class Extent
- interface IGeometry
- namespace Aspose.Gis.Geometries
- assembly Aspose.GIS
Intersects(IGeometry)
Determines if this geometry and a specified geometry intersects.
public bool Intersects(IGeometry other)
| Parameter | Type | Description |
|---|---|---|
| other | IGeometry | A geometry. |
Return Value
true if this geometry “spatially intersects” another geometry. false otherwise.
Exceptions
| exception | condition |
|---|---|
| ArgumentNullException | Argument is null. |
| ArgumentException | One of the geometries is invalid in such way that operation can not be finished. |
| ArgumentException | SpatialReferenceSystem 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
- interface IGeometry
- namespace Aspose.Gis.Geometries
- assembly Aspose.GIS