IPolygon

A polygon is a two-dimensional surface stored as a sequence of points that has a bounding ring and 0 or more interior rings. In addition to the other properties inherited from IGeometry, polygons have area.

 

Properties

 

Area

Gets the polygon area.

Centroid

An IPoint representing the center of the geometry.

Dimension

Gets the dimension of the geometry object. (Inherited from IGeometry)

Envelope

Gets the geometry’s bounding box. (Inherited from IGeometry)

ExteriorRing

An ILinearRing representing the polygon’s exterior ring.

GeometryType

Gets the geometry type ID. (Inherited from IGeometry)

GeometryTypeStr

Gets a string representation of the geometry type. (Inherited from IGeometry)

InteriorRing

An ILinearRing representing an interior ring. (C# exposes this property as get_InteriorRing method)

NumInteriorRings

Gets the number of interior rings.

PointOnSurface

An IPoint representing a point on the surface of the polygon.

Rings

An IRings representing all of the polygon’s interior and exterior rings.

SpatialOperator

An ISpatialOperator representing the selected geometry’s interaction with another geometry object. (Inherited from IGeometry)

SpatialRelation

An ISpatialRelation that tests the geometry’s spatial relationship with other geometries. (Inherited from IGeometry)

Wks

An IWks representing methods for transferring coordinate system information (WKT and WKB). (Inherited from IGeometry)

 

Methods

 

Clone

Creates an exact copy of the selected geometry. (Inherited from IGeometry)

EndEdit

Terminates the edit item mode. (Inherited from IGeometry)

 

get_InteriorRing

An ILinearRing representing the polygon’s interior rings.

IsEmpty

Returns whether or not the set of points in the selected geometry is empty. (Inherited from IGeometry)

IsSimple

Returns whether or not the geometry is simple. (Inherited from IGeometry)

SetEmpty

Removes all points from this geometry. (Inherited from IGeometry)

StartEdit

Starts the edit item mode. (Inherited from IGeometry)