Click or drag to resize

Polygon Methods

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release

The Polygon type exposes the following members.

Methods
  NameDescription
Public methodContains
Determines whether the Polygon contains or touches a point.
Public methodDistanceTo
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.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetPythagoreanArea Obsolete.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodCode exampleIntersects(BoundingBox)
Determines whether the Polygon intersects, contains, or touches a BoundingBox.
Public methodCode exampleIntersects(LatLon)
Determines whether the Polygon intersects, contains, or touches a line.
Public methodPythagoreanDistanceTo Obsolete.
Public methodQuickArea
Calculates a Pythagorean approximation of the area.
Public methodQuickDistanceTo
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.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also