IMultiLineString

A collection of linestrings. In addition to the other properties inherited from IGeometry, multilinestrings have length.

 

 

Properties

 

Count

Gets the number of linestrings in the collection. (Inherited from IGeometryCollection

Dimension

Gets the dimension of the multilinestring. (Inherited from IGeometry)

Envelope

Gets the multilinestring’s bounding box. The envelope of a multilinestring is the non-intersected endpoints of the linestring elements. Returns NULL if all the endpoints of all the linestrings are intersected. (Inherited from IGeometry)

Geometry

Gets an IGeometry, representing a specific multiline in the collection. (C# exposes this property as get_Geometry method)

GeometryType

Gets the geometry type ID. (Inherited from IGeometry)

GeometryTypeStr

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

Item

Gets the data stored in the specified zero-based index. (Inherited from IGeometryCollection

Length

Gets the length of the multiline string.

NumGeometries

Gets the number of linestrings in this multilinestring collection. (Inherited from IGeometryCollection

SpatialOperator

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

SpatialRelation

An ISpatialRelation that tests the multilinestring’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

 

AddGeometry

Adds a linestring to the collection. (Inherited from IGeometryCollection)

Clone

Returns an exact copy of the selected multilinestring (Inherited from IGeometry)

DeleteGeometry

Deletes the selected linestring from the collection. (Inherited from IGeometryCollection)

EndEdit

Terminates the edit item mode. (Inherited from IGeometry)

Get_Geometry

Returns an IGeometry, representing a specific linestring in the collection. (This method is exposed only in C#. To use from C++ or JavaScript use the Geometry property)

IsClosed

Gets a Boolean determining if the multilinestring is closed. A multilinestring is closed if all its linestring elements are closed.

IsEmpty

Returns whether or not the collection is empty. (Inherited from IGeometry)

IsSimple

Returns whether or not the geometry collection is simple. Multilinestrings are simple if they only intersect at the endpoints of the linestring elements, and non-simple if they intersect in the middle of a linestring. (Inherited from IGeometry)

SetEmpty

Removes all linestrings from this collection. (Inherited from IGeometry)

StartEdit

Starts the edit item mode. (Inherited from IGeometry)