C# 클래스 MapAround.Geometry.GeometrySimplifier

Simplifies a geometry, ensuring that the result is a geometry having the same topology. Implements an S-DMin algorithm.
파일 보기 프로젝트 열기: gkrsu/maparound.core

공개 메소드들

메소드 설명
SymplifySDMin ( IGeometry geometry, double compressionLevel ) : IGeometry

Simplifies a geometry using S-DMin method.

비공개 메소드들

메소드 설명
buildVertexIndex ( List weightedVertices, Polyline polyline ) : KDTree
checkWeightedVertex ( Polyline polyline, KDTree vertexIndex, SDMinVertex currentVertex, KDTree crossPointIndex ) : bool
getCrossPointsIndex ( Polyline polyline ) : KDTree
getPolygonBounds ( Polygon polygon ) : Polyline
getPolygonFromBounds ( Polyline polyline ) : Polygon
getVertexWeight ( Polyline polyline, int pathIndex, int pointIndex ) : double
getWeightedVertex ( Polyline polyline, int pathIndex, int pointIndex ) : SDMinVertex
getWeightedVertices ( Polyline polyline ) : List
pointOfWeightedVertex ( Polyline polyline, SDMinVertex vertex ) : ICoordinate
removeVertices ( Polyline polyline, List deletedVertices ) : void
simplifyPolylineSDMin ( Polyline polyline, double compressionLevel ) : Polyline

메소드 상세

SymplifySDMin() 공개 메소드

Simplifies a geometry using S-DMin method.
public SymplifySDMin ( IGeometry geometry, double compressionLevel ) : IGeometry
geometry IGeometry A geometry for simplification
compressionLevel double A compression level (the ratio of the /// number of coordinates in a simplified geometry to the number of coordinates /// in the original figure).
리턴 IGeometry