public class

MultiLineGeometry

extends MultiGeometry
java.lang.Object
   ↳ com.carto.geometry.Geometry
     ↳ com.carto.geometry.MultiGeometry
       ↳ com.carto.geometry.MultiLineGeometry

Class Overview

A multiline container.

Summary

Public Constructors
MultiLineGeometry(LineGeometryVector geometries)
Constructs a MultiLineGeometry object from the vector of lines.
Public Methods
synchronized void delete()
LineGeometry getGeometry(int index)
Returns the line geometry at the specified index.
[Expand]
Inherited Methods
From class com.carto.geometry.MultiGeometry
From class com.carto.geometry.Geometry
From class java.lang.Object

Public Constructors

public MultiLineGeometry (LineGeometryVector geometries)

Constructs a MultiLineGeometry object from the vector of lines.

Parameters
geometries The vector of line geometries.

Public Methods

public synchronized void delete ()

public LineGeometry getGeometry (int index)

Returns the line geometry at the specified index. Index must be between 0 and getGeometryCount (exclusive)

Parameters
index The index of the line geometry.
Returns
  • The line geometry at specified index.
Throws
IndexOutOfBoundsException If the index is out of range.