public class MultiPoint extends GeometryCollection
geometries, points
Constructor and Description |
---|
MultiPoint(Point[] points)
Constructs a
MultiPoint from the specified Point s |
Modifier and Type | Method and Description |
---|---|
static MultiPoint |
createEmpty()
Constructs an empty
MultiPoint . |
Geometry |
getBoundary()
Returns the boundary of this
Geometry . |
int |
getDimension()
Returns the topological dimension of this instance.
|
Point |
getGeometryN(int num)
Returns the
Geometry element at the specified (zero-based) position in this GeometryCollection . |
GeometryType |
getGeometryType()
Returns the type of this
Geometry . |
accept, getNumGeometries, getPoints, iterator
asBinary, asText, buffer, collectPointSets, contains, convexHull, crosses, difference, disjoint, distance, equals, getCoordinateDimension, getCrsId, getCrsId, getDimensionalFlag, getEnvelope, getGeometryOperations, getGeometryOperations, getNumPoints, getPointN, getSRID, hashCode, intersection, intersects, is3D, isEmpty, isMeasured, isSimple, locateAlong, locateBetween, overlaps, relate, symDifference, toString, touches, union, within
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, spliterator
public MultiPoint(Point[] points)
MultiPoint
from the specified Point
spoints
- the element Point
s for the constructed MultiPoint
public static MultiPoint createEmpty()
MultiPoint
.MultiPoint
.public int getDimension()
Geometry
Geometries
.getDimension
in class GeometryCollection
public GeometryType getGeometryType()
Geometry
Geometry
.getGeometryType
in class GeometryCollection
GeometryType
of this instance.public Geometry getBoundary()
Geometry
Geometry
.getBoundary
in class Geometry
public Point getGeometryN(int num)
GeometryCollection
Geometry
element at the specified (zero-based) position in this GeometryCollection
.getGeometryN
in class GeometryCollection
num
- the position in the collection of the requested Geometry
Geometry
at the position specified by the num parameter.Copyright © 2015 geolatte.org. All rights reserved.