The Polygon type exposes the following members.
Methods
Name | Description | |
---|---|---|
FromJson |
Creates a new polygon from JSON.
| |
FromWkt |
Creates a new polygon from well-known text (WKT).
| |
ToString |
Returns the JSON representation of the geometry.
(Inherited from GeometryBase.) |
Extension Methods
Name | Description | |
---|---|---|
Area |
Calculates the area of the polygon.
(Defined by GeometryFunctions.) | |
Contains(Multipoint) | Overloaded.
Determines if the polygon completely contains the multipoint.
(Defined by GeometryFunctions.) | |
Contains(Point) | Overloaded.
Determines if the polygon contains the point.
(Defined by GeometryFunctions.) | |
Contains(Polygon) | Overloaded.
Determines if the polygon completely contains the other polygon.
(Defined by GeometryFunctions.) | |
Contains(Polyline) | Overloaded.
Determines if the polygon completely contains the polyline.
(Defined by GeometryFunctions.) | |
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 distance to the other polygon.
(Defined by GeometryFunctions.) | |
Distance(Polyline) | Overloaded.
Calculates the shortest distance to the polyline.
(Defined by GeometryFunctions.) | |
Extent |
Returns the extent of this polygon.
(Defined by GeometryFunctions.) | |
Intersects(Polygon) | Overloaded.
Determines if the polygon intersects the other polygon.
(Defined by GeometryFunctions.) | |
Intersects(Polyline) | Overloaded.
Determines if the polygon intersects the polyline.
(Defined by GeometryFunctions.) | |
Perimeter |
Calculates the perimeter of the polygon.
(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 polygon is inside the other polygon.
(Defined by GeometryFunctions.) | |
WithinDistance(Multipoint, Double) | Overloaded.
Determines if the polygon is within the specified distance from the multipoint.
(Defined by GeometryFunctions.) | |
WithinDistance(Point, Double) | Overloaded.
Determines if the polygon is within the specified distance from the point.
(Defined by GeometryFunctions.) | |
WithinDistance(Polygon, Double) | Overloaded.
Determines if the polygon is within the specified distance from the other polygon.
(Defined by GeometryFunctions.) | |
WithinDistance(Polyline, Double) | Overloaded.
Determines if the polygon is within the specified distance from the polyline.
(Defined by GeometryFunctions.) |
See Also