| Package | Description |
|---|---|
| net.postgis.jdbc.geometry |
| Modifier and Type | Method and Description |
|---|---|
abstract Point |
Geometry.getFirstPoint()
Same as getPoint(0);
|
Point |
Point.getFirstPoint()
Optimized versions for this special case
|
Point |
ComposedGeom.getFirstPoint()
Optimized version
|
abstract Point |
Geometry.getLastPoint()
Same as getPoint(numPoints()-1);
|
Point |
Point.getLastPoint()
Optimized versions for this special case
|
Point |
ComposedGeom.getLastPoint()
Optimized version
|
abstract Point |
Geometry.getPoint(int n)
Get the nth Point of the geometry
|
Point |
Point.getPoint(int index) |
Point |
ComposedGeom.getPoint(int n) |
Point |
PointComposedGeom.getPoint(int idx)
optimized version
|
Point[] |
PointComposedGeom.getPoints()
Get the underlying Point array
|
| Modifier and Type | Method and Description |
|---|---|
double |
Point.distance(Point other) |
boolean |
Point.equals(Point other) |
| Constructor and Description |
|---|
LinearRing(Point[] points) |
LineString(Point[] points) |
MultiPoint(Point[] points) |
PointComposedGeom(int type,
Point[] points) |
Copyright © 2024. All rights reserved.