Home > All Other Interfaces > ILineString

ILineString

A linestring is a geometry that has a dimension of 1. In addition to other properties inherited from IGeometry, linestrings have length. A linestring is a ring if its first and last points are the same.

 

 

Properties

 

Dimension

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

EndPoint

An IPoint representing the end point of the line string.

Envelope

Returns the linestring’s bounding box. (Inherited from IGeometry)

GeometryType

Returns the geometry type ID. (Inherited from IGeometry)

GeometryTypeStr

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

Length

The linestring length.

NumPoints

The number of points in the linestring.

Points

An IPoints representing the points in the linestring.

SpatialOperator

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

SpatialRelation

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

StartPoint

An IPoint representing the start point of the line string.

Value

Returns the value associated with the specified linestring. C# exposes this property as get_Value.

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 linestring. (Inherited from IGeometry)

EndEdit

Terminates the edit item mode. (Inherited from IGeometry)

get_Value

This method is exposed only in C#. To use from C++ or JavaScript use the Value property.

IsClosed

Returns true if the line string is closed, such that the first and last points are the same.

IsEmpty

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

IsSimple

Returns whether or not the linestring is simple. A linestring is simple if it does not intersect itself. (Inherited from IGeometry)

SetEmpty

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

StartEdit

Starts the edit item mode. (Inherited from IGeometry)