Thetype exposes the following members.
Construct a Polygon from WKT.
Construct a polygon from one or more LineStrings.
Calculates the bounding-box of the polygon.(Overrides GeometryBoundingBox.)
The holes and islands of a polygon.
The shell of the polygon. Must be clockwise.
The WKT representation of the polygon.(Overrides GeometryWKT.)
The WKT representation of the polygon with Z Level.
Determines whether the Polygon contains or touches a point.
Returns the shortest distance from the given location to the edge of this Polygon, in the specified units. If the given location is inside this Polygon, the distance returned will be zero. This is calculated using the great circle distance.
|Equals||(Inherited from Object.)|
|GetHashCode||(Inherited from Object.)|
|GetType||(Inherited from Object.)|
Determines whether the Polygon intersects, contains, or touches a BoundingBox.
Determines whether the Polygon intersects, contains, or touches a line.
Calculates a Pythagorean approximation of the area.
Returns the Pythagorean distance from the given location to the edge of this Polygon, in the specified units. If the given location is inside this Polygon, the distance returned will be zero. See remarks for comments on the accuracy of this method.
|ToString||(Inherited from Object.)|
A polygon feature is made up of a number of PolygonRings. The OuterRing property forms the external boundary of the polygon. One or more InnerRings may be specified to add holes or islands within the polygon.
A ring must contain at least 4 points. The first and last points must be equal.
A simple polygon like a lake might only have an OuterRing, which describes the outline of the lake. A lake with an island in the middle of it is represented by a polygon with an OuterRing and an a single InnerRing for the island. Furthermore, A lake with an island with a lake would be represented by a polygon with an OuterRing and two InnerRings.
The winding of polygons is irrelevant, however by convention filled areas are oriented clockwise while holes are oriented counter-clockwise.
Intersecting InnerRings must be merged into a single Ring.
Related articles: Data Query Concept.