GeometryOperations 类

GeometryOperations class

几何操作类为几何体提供了额外的地理处理算法。

public static class GeometryOperations

方法

名称描述
static BuildCenterline(IEnumerable<Point>)为点集合(站点)构建中心线图
static BuildCenterline(Polygon)为多边形构建中心线图
static CloseLinearRing(IGeometry)在需要时闭合环中的几何线段。
static CreateMidpoints(IGeometry)通过在每段中间添加新点来创建中点。
static DeleteNearPoints(IGeometry, NearPointsCleanerOptions)删除彼此过于接近的点。
static ExtractGeometryCollection(VectorLayer)从图层中提取几何集合
static GetCenterlineLength(IEnumerable<Point>)获取中心线长度
static GetCenterlineLength(Polygon)获取中心线长度
static MakeVoronoiGraph(IEnumerable<IPoint>)为点集合(站点)构建 “Voronoi” 图
static OrderGeometryCollection(IGeometry)按类型将几何集合排序为四个集合(点、线、多边形和其他类型)
static SimplifySegments(IGeometry, SimplifySegmentsOptions)删除位于同一线段上的点。

备注

其他算法可在 Geometry 的方法中找到

另见