Polygon Class 
Namespace: Telogis.GeoBase.Geometry
The Polygon type exposes the following members.
Name  Description  

Polygon(String) 
Construct a Polygon from WKT.
 
Polygon(LineString) 
Construct a polygon from one or more LineStrings.

Name  Description  

BoundingBox 
Calculates the boundingbox of the polygon.
(Overrides GeometryBoundingBox.)  
InnerRings 
The holes and islands of a polygon.
 
OuterRing 
The shell of the polygon. Must be clockwise.
 
WKT 
The WKT representation of the polygon.
(Overrides GeometryWKT.)  
WKTWithZ 
The WKT representation of the polygon with Z Level.

Name  Description  

Contains 
Determines whether the Polygon contains or touches a point.
 
DistanceTo 
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.)  
GetPythagoreanArea  Obsolete.  
GetType  (Inherited from Object.)  
Intersects(BoundingBox) 
Determines whether the Polygon intersects, contains, or touches a BoundingBox.
 
Intersects(LatLon) 
Determines whether the Polygon intersects, contains, or touches a line.
 
PythagoreanDistanceTo  Obsolete.  
QuickArea 
Calculates a Pythagorean approximation of the area.
 
QuickDistanceTo 
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 counterclockwise.
Intersecting InnerRings must be merged into a single Ring.
Related articles: Data Query Concept.