public class

MultiPointGeometry

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

Class Overview

A multipoint container.

Summary

Public Constructors
MultiPointGeometry(PointGeometryVector geometries)
Constructs a MultiPointGeometry from the vector of points.
Public Methods
synchronized void delete()
PointGeometry getGeometry(int index)
Returns the point 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 MultiPointGeometry (PointGeometryVector geometries)

Constructs a MultiPointGeometry from the vector of points.

Parameters
geometries The vector of point geometries.

Public Methods

public synchronized void delete ()

public PointGeometry getGeometry (int index)

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

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