C# Class PreStorm.Polygon

Represents the polygon geometry.
Inheritance: Geometry
Show file Open project: jshirota/PreStorm Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
FromJson ( string json ) : Polygon

Creates a new polygon from JSON.

FromWkt ( string wkt ) : Polygon

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

Method Details

FromJson() public static method

Creates a new polygon from JSON.
public static FromJson ( string json ) : Polygon
json string
return Polygon

FromWkt() public static method

Creates a new polygon from well-known text (WKT).
public static FromWkt ( string wkt ) : Polygon
wkt string
return Polygon