C# Class PreStorm.Wkt

Provides extension methods for converting geometries to well-known text (WKT).
Datei anzeigen Open project: jshirota/PreStorm

Public Methods

Method Description
ToGeometry ( string wkt ) : Geometry

Creates a new geometry from well-known text (WKT).

ToWkt ( this geometry ) : string

Converts the geometry to well-known text (WKT).

Private Methods

Method Description
LoadWkt ( this point, string wkt ) : void
ToJson ( this wkt, string type ) : string

Method Details

ToGeometry() public static method

Creates a new geometry from well-known text (WKT).
public static ToGeometry ( string wkt ) : Geometry
wkt string
return Geometry

ToWkt() public static method

Converts the geometry to well-known text (WKT).
public static ToWkt ( this geometry ) : string
geometry this
return string