public class MultiPoint extends GeometryCollection implements PointTypeGeometry
bounds, geometries
GEOMETRY_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, validate
asText, spatiallyEquals
finalize, getClass, notify, notifyAll, wait, wait, wait
area, asText, boundary, createBounds, getBounds, length, sizeOf, spatiallyEquals, spatiallyEquals, transform, translate
public MultiPoint()
public MultiPoint(Point[] points)
public Point[] serialize()
GeometryCollection
serialize
in interface Geometry
serialize
in class GeometryCollection
public MultiPoint clone()
GeometryCollection
clone
in interface Geometry
clone
in class GeometryCollection
public Point[] getPoints()
public void setGeometries(Geometry[] geometries)
setGeometries
in class GeometryCollection
public void setPoints(Point[] points)
public PointGeometryIterator pointIterator()
pointIterator
in interface PointTypeGeometry
public java.lang.String toString()
Geometry
public short getGeometryId()
Geometry
getGeometryId
in interface Geometry
public int getGeometryType()
Geometry
getGeometryType
in interface Geometry
for more details.
public Point getCenteredPoint()
Geometry
getCenteredPoint
in interface Geometry
Geometry.getCenteredPoint()