ILinearRing

A linear ring is a special line string which is closed. It closes itself automatically on every AddPoint/DeletePoint/InsertPoint by adding a copy of the first point as the last point.

 

 

Properties

 

Area

Gets the area enclosed by the linear ring.

Centroid

An IPoint representing the geometric center of the curve.

Dimension

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

EndPoint

An IPoint representing the end point of the linear ring. (Inherited from ILineString)

Envelope

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

GeometryType

Gets the geometry type ID. (Inherited from IGeometry)

GeometryTypeStr

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

Length

Gets the curve length. (Inherited from ILineString)

NumPoints

Gets the number of points in the linear ring. (Inherited from ILineString)

Points

An IPoints representing the points in the linear ring. (Inherited from ILineString)

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)

StartPoint

An IPoint representing the start point of the linear ring. (Inherited from ILineString)

Value

Gets the value associated with the specified linestring.

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)

IsClosed

Returns TRUE if the linear ring is closed. (Inherited from ILineString)

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)

Area

Gets the area enclosed by the linear ring.

JavaScript

 

Area

 

C#

 

double Area { get; }

 

C++

 

HRESULT Area([out, retval] double* dArea)