public class MultiPoint extends GeometryCollection<Point>
| Constructor and Description |
|---|
MultiPoint()
Constructor
|
MultiPoint(boolean hasZ,
boolean hasM)
Constructor
|
MultiPoint(List<Point> points)
Constructor
|
MultiPoint(MultiPoint multiPoint)
Copy Constructor
|
MultiPoint(Point point)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addPoint(Point point)
Add a point
|
void |
addPoints(List<Point> points)
Add points
|
Geometry |
copy()
Copy the geometry
|
Point |
getPoint(int n)
Returns the Nth point
|
List<Point> |
getPoints()
Get the points
|
boolean |
isSimple()
Determine if this Geometry has no anomalous geometric points, such as
self intersection or self tangency
|
int |
numPoints()
Get the number of points
|
void |
setPoints(List<Point> points)
Set the points
|
addGeometries, addGeometry, equals, getAsGeometryCollection, getAsMultiCurve, getAsMultiLineString, getAsMultiPoint, getAsMultiPolygon, getAsMultiSurface, getCollectionType, getGeometries, getGeometry, hashCode, isEmpty, isMultiCurve, isMultiLineString, isMultiPoint, isMultiPolygon, isMultiSurface, numGeometries, setGeometriesgetCentroid, getDimension, getEnvelope, getGeometryType, hasM, hasZ, is3D, isMeasured, setHasM, setHasZ, updateZMpublic MultiPoint()
public MultiPoint(boolean hasZ,
boolean hasM)
hasZ - has zhasM - has mpublic MultiPoint(Point point)
point - pointpublic MultiPoint(MultiPoint multiPoint)
multiPoint - multi point to copypublic void addPoint(Point point)
point - pointpublic int numPoints()
public Point getPoint(int n)
n - nth point to returnpublic Geometry copy()
copy in class GeometryCollection<Point>public boolean isSimple()
isSimple in class GeometryCollection<Point>Copyright © 2021 National Geospatial-Intelligence Agency. All rights reserved.