Represents the point geometry.
Inheritance Hierarchy
PreStormGeometryBase
PreStormGeometry
PreStormPoint
Namespace: PreStorm
Assembly: PreStorm (in PreStorm.dll) Version: 1.8.19.0 (1.8.19.0)
Syntax
The Point type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| Point |
Initializes a new instance of the Point class.
| |
| Point(Double, Double, NullableDouble) |
Initializes a new instance of the Point class.
|
Properties
| Name | Description | |
|---|---|---|
| spatialReference |
The spatial reference of this geometry.
(Inherited from GeometryBase.) | |
| x |
The X coordinate.
| |
| y |
The Y coordinate.
| |
| z |
The Z coordinate. This is available only if the layer supports it.
|
Methods
| Name | Description | |
|---|---|---|
| FromJson |
Creates a new point from JSON.
| |
| FromWkt |
Creates a new point from well-known text (WKT).
| |
| ToString |
Returns the JSON representation of the geometry.
(Inherited from GeometryBase.) |
Operators
| Name | Description | |
|---|---|---|
| (String to Point) |
Deserializes the JSON string into a Point object.
| |
| (Point to String) |
Returns the JSON representation of the geometry.
|
Extension Methods
| Name | Description | |
|---|---|---|
| Distance(Multipoint) | Overloaded.
Calculates the shortest distance to the multipoint.
(Defined by GeometryFunctions.) | |
| Distance(Point) | Overloaded.
Calculates the distance to the other point.
(Defined by GeometryFunctions.) | |
| Distance(Polygon) | Overloaded.
Calculates the shortest distance to the polygon.
(Defined by GeometryFunctions.) | |
| Distance(Polyline) | Overloaded.
Calculates the shortest distance to the polyline.
(Defined by GeometryFunctions.) | |
| Extent |
Returns the extent of this point.
(Defined by GeometryFunctions.) | |
| ToJson |
Returns the JSON representation of the geometry.
(Defined by Json.) | |
| ToKml |
Converts the geometry to KML.
(Defined by Kml.) | |
| ToWkt |
Converts the geometry to well-known text (WKT).
(Defined by Wkt.) | |
| Within |
Determines if the point is inside the polygon.
(Defined by GeometryFunctions.) | |
| WithinDistance(Multipoint, Double) | Overloaded.
Determines if the point is within the specified distance from the multipoint.
(Defined by GeometryFunctions.) | |
| WithinDistance(Point, Double) | Overloaded.
Determines if the point is within the specified distance from the other point.
(Defined by GeometryFunctions.) | |
| WithinDistance(Polygon, Double) | Overloaded.
Determines if the point is within the specified distance from the polygon.
(Defined by GeometryFunctions.) | |
| WithinDistance(Polyline, Double) | Overloaded.
Determines if the point is within the specified distance from the polyline.
(Defined by GeometryFunctions.) |
See Also