Geometry.Union

Geometry.Union method

将此几何图形与指定的几何图形结合起来。

public IGeometry Union(IGeometry other)
范围类型描述
otherIGeometry与之结合的几何体。

返回值

表示此几何与参数联合的几何。结果几何包含存在于该几何或参数中的 点集。

例外

例外(健康)状况
ArgumentNullExceptionothernull.
ArgumentException其中一个几何图形无效,无法完成操作。
ArgumentExceptionSpatialReferenceSystem几何形状不等价。 您可以使用SpatialReferenceSystemTransformation为了将几何图形转换为相同的 spatial 参考系统。

也可以看看