Geometry.Intersection
Geometry.Intersection method
构建此几何体与指定几何体的交集。
public IGeometry Intersection(IGeometry other)
| 参数 | 类型 | 描述 |
|---|---|---|
| 其他 | IGeometry | 用于计算交集的几何体。 |
返回值
表示此几何体与参数交集的几何体。结果几何体包含同时存在于此几何体和参数中的点集。
异常
| 异常 | 条件 |
|---|---|
| ArgumentNullException | other 为 null。 |
| ArgumentException | 其中一个几何体无效,导致操作无法完成。 |
| ArgumentException | SpatialReferenceSystem 的几何体空间参考系统不等价。您可以使用 SpatialReferenceSystemTransformation 将几何体转换为相同的空间参考系统。 |
另见
- interface IGeometry
- class Geometry
- namespace Aspose.Gis.Geometries
- assembly Aspose.GIS