Polygon Class |
Namespace: Telogis.GeoBase
The Polygon type exposes the following members.
Name | Description | |
---|---|---|
Polygon |
Create a new Polygon object.
| |
Polygon(Polygon) |
Create a new Polygon object with the specified geometry.
|
Name | Description | |
---|---|---|
Abbreviation |
The abbreviated label attached to this feature. If this object represents a feature
in a custom dataset then this field will be equal to the "abbrev" column if one exists.
| |
Clearance |
The distance between the bottom of the polygon and the ground, for example a skywalk.
Returns a Distance object, which consists of
a value and a distance unit.
| |
Columns |
Every GIS object comprises a series of columns.
This function returns the names of the columns for this GISObject.
(Inherited from GISObject.) | |
FeatureType |
Returns FeatureType.Polygon.
(Overrides GISObjectFeatureType.) | |
Geometries |
The polygon geometries associated with this feature.
Returns an array of Polygons.
| |
Geometry | Obsolete.
The polygon geometry associated with this feature.
| |
Height |
The height of this polygon feature, for example a building.
Returns a Distance object, which consists of
a value and a distance unit.
| |
Item |
The field of the specified column for this object.
(Inherited from GISObject.) | |
Name |
The label attached to this feature. If this object represents a feature
in a custom dataset then this field will be equal to the "name" column if one exists.
| |
Rings | Obsolete.
This property is obsolete. Please use Geometries.
| |
Type |
The kind of polygon this is.
| |
WKT |
Returns the WKT representation of the Geometry.
(Overrides GISObjectWKT.) |
Name | Description | |
---|---|---|
Contains |
Check whether a given point is inside this polygon. If the point
is inside a hole this will return false.
| |
DistanceTo |
Gets 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. See QuickDistanceTo(LatLon, DistanceUnit) remarks for comment
on the accuracy of this method.
(Overrides GISObjectDistanceTo(LatLon, DistanceUnit).) | |
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.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Related articles: Data Query Concept.