Represents the polyline geometry.
Inheritance Hierarchy
PreStormGeometryBase
PreStormGeometry
PreStormPolyline
Namespace: PreStorm
Assembly: PreStorm (in PreStorm.dll) Version: 1.8.19.0 (1.8.19.0)
Syntax
The Polyline type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| Polyline | Initializes a new instance of the Polyline class |
Properties
| Name | Description | |
|---|---|---|
| curvePaths |
The array of paths that may contain true curves.
| |
| paths |
The array of paths.
| |
| spatialReference |
The spatial reference of this geometry.
(Inherited from GeometryBase.) |
Methods
| Name | Description | |
|---|---|---|
| FromJson |
Creates a new polyline from JSON.
| |
| FromWkt |
Creates a new polyline from well-known text (WKT).
| |
| ToString |
Returns the JSON representation of the geometry.
(Inherited from GeometryBase.) |
Operators
| Name | Description | |
|---|---|---|
| (String to Polyline) |
Deserializes the JSON string into a Polyline object.
| |
| (Polyline 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 shortest distance to the point.
(Defined by GeometryFunctions.) | |
| Distance(Polygon) | Overloaded.
Calculates the shortest distance to the polygon.
(Defined by GeometryFunctions.) | |
| Distance(Polyline) | Overloaded.
Calculates the distance to the other polyline.
(Defined by GeometryFunctions.) | |
| Extent |
Returns the extent of this polyline.
(Defined by GeometryFunctions.) | |
| Intersect |
Returns intersection points between the two polylines.
(Defined by GeometryFunctions.) | |
| Intersects(Polygon) | Overloaded.
Determines if the polyline intersects the polygon.
(Defined by GeometryFunctions.) | |
| Intersects(Polyline) | Overloaded.
Determines if the polyline intersects the other polyline.
(Defined by GeometryFunctions.) | |
| Length |
Calculates the length of the polyline.
(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 polyline is inside the polygon.
(Defined by GeometryFunctions.) | |
| WithinDistance(Multipoint, Double) | Overloaded.
Determines if the polyline is within the specified distance from the multipoint.
(Defined by GeometryFunctions.) | |
| WithinDistance(Point, Double) | Overloaded.
Determines if the polyline is within the specified distance from the point.
(Defined by GeometryFunctions.) | |
| WithinDistance(Polygon, Double) | Overloaded.
Determines if the polyline is within the specified distance from the polygon.
(Defined by GeometryFunctions.) | |
| WithinDistance(Polyline, Double) | Overloaded.
Determines if the polyline is within the specified distance from the other polyline.
(Defined by GeometryFunctions.) |
See Also