| Package | Description |
|---|---|
| mil.nga.wkb.geom | |
| mil.nga.wkb.io | |
| mil.nga.wkb.util |
| Modifier and Type | Method and Description |
|---|---|
List<Point> |
MultiPoint.getPoints()
Get the points
|
List<Point> |
LineString.getPoints()
Get the points
|
| Modifier and Type | Method and Description |
|---|---|
void |
MultiPoint.addPoint(Point point)
Add a point
|
void |
LineString.addPoint(Point point)
Add a point
|
| Modifier and Type | Method and Description |
|---|---|
void |
MultiPoint.setPoints(List<Point> points)
Set the points
|
void |
LineString.setPoints(List<Point> points)
Set the points
|
| Constructor and Description |
|---|
Point(Point point)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
static Point |
WkbGeometryReader.readPoint(ByteReader reader,
boolean hasZ,
boolean hasM)
Read a Point
|
| Modifier and Type | Method and Description |
|---|---|
static void |
WkbGeometryWriter.writePoint(ByteWriter writer,
Point point)
Write a Point
|
| Modifier and Type | Method and Description |
|---|---|
Point |
CentroidSurface.getCentroid()
Get the centroid point
|
Point |
CentroidPoint.getCentroid()
Get the centroid point
|
Point |
CentroidCurve.getCentroid()
Get the centroid point
|
static Point |
GeometryUtils.getCentroid(Geometry geometry)
Get the centroid point of the Geometry
|
| Modifier and Type | Method and Description |
|---|---|
static List<Point> |
GeometryUtils.simplifyPoints(List<Point> points,
double tolerance)
Simplify the ordered points (representing a line, polygon, etc) using the
Douglas Peucker algorithm to create a similar curve with fewer points.
|
| Modifier and Type | Method and Description |
|---|---|
static double |
GeometryUtils.distance(Point point1,
Point point2)
Get the Pythagorean theorem distance between two points
|
static double |
GeometryUtils.perpendicularDistance(Point point,
Point lineStart,
Point lineEnd)
Calculate the perpendicular distance between the point and the line
represented by the start and end points.
|
| Modifier and Type | Method and Description |
|---|---|
static List<Point> |
GeometryUtils.simplifyPoints(List<Point> points,
double tolerance)
Simplify the ordered points (representing a line, polygon, etc) using the
Douglas Peucker algorithm to create a similar curve with fewer points.
|
Copyright © 2017 National Geospatial-Intelligence Agency. All rights reserved.