Geometry.Intersects
Intersects(Extent)
确定此几何图形是否与指定范围相交。
public bool Intersects(Extent extent)
| 范围 | 类型 | 描述 |
|---|---|---|
| extent | Extent | 的程度。 |
返回值
true如果此几何图形与范围相交;false否则.
例外
| 例外 | (健康)状况 |
|---|---|
| ArgumentNullException | 参数是null. |
也可以看看
- method Intersects
- class Extent
- class Geometry
- 命名空间 Aspose.Gis.Geometries
- 部件 Aspose.GIS
Intersects(IGeometry)
确定此几何图形和指定的几何图形是否相交。
public bool Intersects(IGeometry other)
| 范围 | 类型 | 描述 |
|---|---|---|
| other | IGeometry | 一个几何。 |
返回值
true如果此几何图形“空间相交”另一个几何图形。false否则.
例外
| 例外 | (健康)状况 |
|---|---|
| ArgumentNullException | 参数是null. |
| ArgumentException | 其中一个几何图形无效,无法完成操作。 |
| ArgumentException | SpatialReferenceSystem几何形状不等价。 您可以使用SpatialReferenceSystemTransformation为了将几何图形转换为相同的 spatial 参考系统。 |
评论
这个方法等同于: 这是对的否定Disjoint.看Disjoint了解更多详情。
!this.Disjoint(other);
也可以看看
- interface IGeometry
- class Geometry
- 命名空间 Aspose.Gis.Geometries
- 部件 Aspose.GIS