Package | Description |
---|---|
org.locationtech.jts.geom |
Contains the
Geometry interface hierarchy and supporting classes. |
org.locationtech.jts.geom.util |
Provides classes that parse and modify Geometry objects.
|
Modifier and Type | Method and Description |
---|---|
Point |
Point.copy()
Creates and returns a full copy of this
Point object. |
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(Collection points)
Converts the
List to an array. |
Modifier and Type | Method and Description |
---|---|
MultiPoint |
GeometryFactory.createMultiPoint(Point[] point)
Creates a
MultiPoint using the given Point s. |
Constructor and Description |
---|
MultiPoint(Point[] points,
GeometryFactory factory) |
MultiPoint(Point[] points,
PrecisionModel precisionModel,
int SRID)
Deprecated.
Use GeometryFactory instead
|
Modifier and Type | Method and Description |
---|---|
protected Geometry |
GeometryTransformer.transformPoint(Point geom,
Geometry parent) |
Copyright © 2023. All rights reserved.