C# Class PreStorm.Point

Represents the point geometry.
Inheritance: Geometry
Exibir arquivo Open project: jshirota/PreStorm Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
FromJson ( string json ) : Point

Creates a new point from JSON.

FromWkt ( string wkt ) : Point

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

Point ( ) : Newtonsoft.Json

Initializes a new instance of the Point class.

Point ( double x, double y, double z = null ) : Newtonsoft.Json

Initializes a new instance of the Point class.

Method Details

FromJson() public static method

Creates a new point from JSON.
public static FromJson ( string json ) : Point
json string
return Point

FromWkt() public static method

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

Point() public method

Initializes a new instance of the Point class.
public Point ( ) : Newtonsoft.Json
return Newtonsoft.Json

Point() public method

Initializes a new instance of the Point class.
public Point ( double x, double y, double z = null ) : Newtonsoft.Json
x double
y double
z double
return Newtonsoft.Json