public class MultiPoint extends GeometryCollection implements PointTypeGeometry
bounds, geometriesGEOMETRY_ANNOTATION, GEOMETRY_COMPLEX, GEOMETRY_ELLIPSE, GEOMETRY_LINE, GEOMETRY_LINEAR_RING, GEOMETRY_LINESTRING, GEOMETRY_MULTI_ANNOTATION, GEOMETRY_MULTI_LINESTRING, GEOMETRY_MULTI_POINT, GEOMETRY_MULTI_POLYGON, GEOMETRY_POINT, GEOMETRY_POLYGON, GEOMETRY_RECTANGLE| Constructor and Description |
|---|
MultiPoint() |
MultiPoint(Point[] points) |
| Modifier and Type | Method and Description |
|---|---|
MultiPoint |
clone()
Clones this geometry.
|
Point |
getCenteredPoint()
This method returns a point that is typically centered on the geometry.
|
short |
getGeometryId()
Returns the geometry class id.
|
int |
getGeometryType()
Returns the geometry type for this geometry.
|
Point[] |
getPoints() |
PointGeometryIterator |
pointIterator() |
Point[] |
serialize()
Returns this geometry as an array of Point.
|
void |
setGeometries(Geometry[] geometries) |
void |
setPoints(Point[] points) |
java.lang.String |
toString()
Returns informations about the current geometry.
|
area, boundary, createBounds, equals, fit, geometryN, getBounds, getGeometries, getGeometryCount, hashCode, keepLineString, keepLineString, keepPoint, keepPoint, keepPolygon, keepPolygon, length, numGeometries, sizeOf, spatiallyEquals, transform, translate, validateasText, spatiallyEqualsfinalize, getClass, notify, notifyAll, wait, wait, waitarea, asText, boundary, createBounds, getBounds, length, sizeOf, spatiallyEquals, spatiallyEquals, transform, translatepublic MultiPoint()
public MultiPoint(Point[] points)
public Point[] serialize()
GeometryCollectionserialize in interface Geometryserialize in class GeometryCollectionpublic MultiPoint clone()
GeometryCollectionclone in interface Geometryclone in class GeometryCollectionpublic Point[] getPoints()
public void setGeometries(Geometry[] geometries)
setGeometries in class GeometryCollectionpublic void setPoints(Point[] points)
public PointGeometryIterator pointIterator()
pointIterator in interface PointTypeGeometrypublic java.lang.String toString()
Geometrypublic short getGeometryId()
GeometrygetGeometryId in interface Geometrypublic int getGeometryType()
GeometrygetGeometryType in interface Geometryfor more details.public Point getCenteredPoint()
GeometrygetCenteredPoint in interface GeometryGeometry.getCenteredPoint()