Polygon Methods |
The Polygon type exposes the following members.
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 | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetPythagoreanArea | Obsolete. | |
GetType | Gets the Type of the current instance. (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 | Returns a string that represents the current object. (Inherited from Object.) |