Package | Description |
---|---|
org.locationtech.jts.geom |
Contains the
Geometry interface hierarchy and supporting classes. |
Modifier and Type | Method | Description |
---|---|---|
Point |
GeometryFactory.createPoint() |
|
Point |
GeometryFactory.createPoint(Coordinate coordinate) |
Creates a Point using the given Coordinate.
|
Point |
GeometryFactory.createPoint(CoordinateSequence coordinates) |
Creates a Point using the given CoordinateSequence; a null or empty
CoordinateSequence will create an empty Point.
|
static Point |
GeometryFactory.createPointFromInternalCoord(Coordinate coord,
Geometry exemplar) |
|
Point |
Geometry.getCentroid() |
Computes the centroid of this
Geometry . |
Point |
LineString.getEndPoint() |
|
Point |
Geometry.getInteriorPoint() |
Computes an interior point of this
Geometry . |
Point |
LineString.getPointN(int n) |
|
Point |
LineString.getStartPoint() |
|
static Point[] |
GeometryFactory.toPointArray(java.util.Collection points) |
Converts the
List to an array. |
Modifier and Type | Method | Description |
---|---|---|
MultiPoint |
GeometryFactory.createMultiPoint(Point[] point) |
Creates a
MultiPoint using the given Point s. |
Constructor | Description |
---|---|
MultiPoint(Point[] points,
GeometryFactory factory) |
|
MultiPoint(Point[] points,
PrecisionModel precisionModel,
int SRID) |
Deprecated.
Use GeometryFactory instead
|
Copyright © 2018. All rights reserved.