C# 클래스 MapAround.Serialization.WKTGeometrySerializer

Serializes geometries into well-known text and constructs geometries from such representation.
파일 보기 프로젝트 열기: gkrsu/maparound.core

공개 메소드들

메소드 설명
GeometryFromWKT ( string wkt ) : IGeometry

Constructs a geometry from its well-known text representation.

GetGeometryWKT ( IGeometry geometry ) : string

Computes a well-known text representation of geometry.

GetMultiPointWKT ( MultiPoint multiPoint ) : string

Computes a well-known text representation of the multipoint geometry.

GetPointWKT ( PointD point ) : string

Computes a well-known text representation of the point geometry.

GetPolygonWKT ( Polygon polygon ) : string

Computes a well-known text representation of the polygon geometry.

GetPolygonWKT ( Polygon polygon, bool reverseVerticesOrder ) : string

Computes a well-known text representation of the polygon geometry.

GetPolylineWKT ( Polyline polyline ) : string

Computes a well-known text representation of the polyline geometry.

비공개 메소드들

메소드 설명
contourString ( Contour contour ) : string
pointCoordsString ( ICoordinate point ) : string
readLineString ( WktStreamTokenizer tokenizer ) : Polyline
readMultiLineString ( WktStreamTokenizer tokenizer ) : Polyline
readMultiPoint ( WktStreamTokenizer tokenizer ) : MultiPoint
readMultiPolygon ( WktStreamTokenizer tokenizer ) : Polygon
readPoint ( WktStreamTokenizer tokenizer ) : PointD
readPointCoords ( WktStreamTokenizer tokenizer ) : ICoordinate
readPointCoordsList ( WktStreamTokenizer tokenizer ) : List
readPointsCoordLists ( WktStreamTokenizer tokenizer ) : List>
readPolygon ( WktStreamTokenizer tokenizer ) : Polygon
throwMissingCloseBracket ( WktStreamTokenizer tokenizer ) : void

메소드 상세

GeometryFromWKT() 공개 정적인 메소드

Constructs a geometry from its well-known text representation.
public static GeometryFromWKT ( string wkt ) : IGeometry
wkt string
리턴 IGeometry

GetGeometryWKT() 공개 정적인 메소드

Computes a well-known text representation of geometry.
public static GetGeometryWKT ( IGeometry geometry ) : string
geometry IGeometry A geometry to setialize
리턴 string

GetMultiPointWKT() 공개 정적인 메소드

Computes a well-known text representation of the multipoint geometry.
public static GetMultiPointWKT ( MultiPoint multiPoint ) : string
multiPoint MultiPoint An instance of MapAround.Geometry.MultiPoint to setialize
리턴 string

GetPointWKT() 공개 정적인 메소드

Computes a well-known text representation of the point geometry.
public static GetPointWKT ( PointD point ) : string
point PointD An instance of MapAround.Geometry.PointD to setialize
리턴 string

GetPolygonWKT() 공개 정적인 메소드

Computes a well-known text representation of the polygon geometry.
public static GetPolygonWKT ( Polygon polygon ) : string
polygon Polygon An instance of MapAround.Geometry.Polygon to setialize
리턴 string

GetPolygonWKT() 공개 정적인 메소드

Computes a well-known text representation of the polygon geometry.
public static GetPolygonWKT ( Polygon polygon, bool reverseVerticesOrder ) : string
polygon Polygon An instance of MapAround.Geometry.Polygon to setialize
reverseVerticesOrder bool A value indicating whether a standart order of vertices /// should be inverted in WKT
리턴 string

GetPolylineWKT() 공개 정적인 메소드

Computes a well-known text representation of the polyline geometry.
public static GetPolylineWKT ( Polyline polyline ) : string
polyline Polyline An instance of MapAround.Geometry.Polyline to setialize
리턴 string