Polygon Class |
Namespace: Dse.Geometry
[SerializableAttribute] public class Polygon : GeometryBase
The Polygon type exposes the following members.
Name | Description | |
---|---|---|
Polygon |
Creates a new instance of Polygon with no rings (empty).
| |
Polygon(Point) |
Creates a new instance of Polygon with a single ring.
| |
Polygon(IListPoint) |
Creates a new instance of Polygon with a sequence of rings.
| |
Polygon(IListIListPoint) |
Creates a new instance of Polygon using multiple rings.
|
Name | Description | |
---|---|---|
Equals |
Returns a value indicating whether this instance and a specified object represent the same value.
(Overrides ObjectEquals(Object).) | |
GetHashCode |
Returns the hash code based on the value of this instance.
(Overrides ObjectGetHashCode.) | |
GetObjectData | Populates a SerializationInfo with the data needed to serialize the target object. (Inherited from GeometryBase.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToGeoJson |
Returns the GeoJSON representation of the instance.
(Inherited from GeometryBase.) | |
ToString |
Returns Well-known text (WKT) representation of the geometry object.
(Overrides ObjectToString.) |