Click or drag to resize

Polygon Class

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Represents a closed polygonal map feature such as a lake or national park. Not to be confused with a Polygon, which is the physical shape of the Geometry object contained in the Geometries property.
Inheritance Hierarchy

Namespace:  Telogis.GeoBase
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
public class Polygon : GISObject

The Polygon type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyAbbreviation
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.
Public propertyClearance
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.
Public propertyColumns
Every GIS object comprises a series of columns. This function returns the names of the columns for this GISObject.
(Inherited from GISObject.)
Public propertyFeatureType
Returns FeatureType.Polygon.
(Overrides GISObjectFeatureType.)
Public propertyGeometries
The polygon geometries associated with this feature. Returns an array of Polygons.
Public propertyGeometry Obsolete.
The polygon geometry associated with this feature.
Public propertyHeight
The height of this polygon feature, for example a building. Returns a Distance object, which consists of a value and a distance unit.
Public propertyItem
The field of the specified column for this object.
(Inherited from GISObject.)
Public propertyName
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.
Public propertyRings Obsolete.
This property is obsolete. Please use Geometries.
Public propertyType
The kind of polygon this is.
Public propertyWKT
Returns the WKT representation of the Geometry.
(Overrides GISObjectWKT.)
Top
Methods
  NameDescription
Public methodContains
Check whether a given point is inside this polygon. If the point is inside a hole this will return false.
Public methodDistanceTo
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).)
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 methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldFlags
The flag represents the type of polygon feature, for example a lake.
Top
Remarks
The geometry associated with a polygon feature can be accessed via the Geometries property, which contains an array of Geometry objects.

Related articles: Data Query Concept.

See Also