com.vividsolutions.jts.geom
Class MultiPoint
- Cloneable, Comparable, Serializable
Models a collection of Point
s.
apply , apply , apply , clone , compareToSameClass , compareToSameClass , computeEnvelopeInternal , equalsExact , getArea , getBoundary , getBoundaryDimension , getCoordinate , getCoordinates , getDimension , getGeometryN , getGeometryType , getLength , getNumGeometries , getNumPoints , isEmpty , isSimple , normalize |
apply , apply , apply , buffer , buffer , buffer , checkNotGeometryCollection , clone , compare , compareTo , compareTo , compareToSameClass , compareToSameClass , computeEnvelopeInternal , contains , convexHull , coveredBy , covers , crosses , difference , disjoint , distance , equal , equals , equalsExact , equalsExact , geometryChanged , geometryChangedAction , getArea , getBoundary , getBoundaryDimension , getCentroid , getCoordinate , getCoordinates , getDimension , getEnvelope , getEnvelopeInternal , getFactory , getGeometryN , getGeometryType , getInteriorPoint , getLength , getNumGeometries , getNumPoints , getPrecisionModel , getSRID , getUserData , hasNonEmptyElements , hasNullElements , intersection , intersects , isEmpty , isEquivalentClass , isRectangle , isSimple , isValid , isWithinDistance , normalize , overlaps , relate , relate , setSRID , setUserData , symDifference , toString , toText , touches , union , within |
MultiPoint
public MultiPoint(Point[] points,
GeometryFactory factory)
points
- the Point
s for this MultiPoint
, or null
or an empty array to create the empty geometry.
Elements may be empty Point
s, but not null
s.
MultiPoint
public MultiPoint(Point[] points,
PrecisionModel precisionModel,
int SRID)
Use GeometryFactory instead
Constructs a MultiPoint
.
points
- the Point
s for this MultiPoint
, or null
or an empty array to create the empty geometry.
Elements may be empty Point
s, but not null
s.precisionModel
- the specification of the grid of allowable points
for this MultiPoint
SRID
- the ID of the Spatial Reference System used by this
MultiPoint
getCoordinate
protected Coordinate getCoordinate(int n)
Returns the Coordinate
at the given position.
n
- the index of the Coordinate
to retrieve, beginning
at 0