| Package | Description |
|---|---|
| mil.nga.wkb.geom | |
| mil.nga.wkb.io | |
| mil.nga.wkb.util | |
| mil.nga.wkb.util.centroid | |
| mil.nga.wkb.util.sweep |
| 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
|
| Constructor and Description |
|---|
MultiPoint(List<Point> points)
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 |
|---|---|
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.
|
static boolean |
GeometryUtils.pointInPolygon(Point point,
LineString ring)
Check if the point is in the polygon ring
|
static boolean |
GeometryUtils.pointInPolygon(Point point,
LineString ring,
double epsilon)
Check if the point is in the polygon ring
|
static boolean |
GeometryUtils.pointInPolygon(Point point,
List<Point> points)
Check if the point is in the polygon points
|
static boolean |
GeometryUtils.pointInPolygon(Point point,
List<Point> points,
double epsilon)
Check if the point is in the polygon points
|
static boolean |
GeometryUtils.pointInPolygon(Point point,
Polygon polygon)
Check if the point is in the polygon
|
static boolean |
GeometryUtils.pointInPolygon(Point point,
Polygon polygon,
double epsilon)
Check if the point is in the polygon
|
static boolean |
GeometryUtils.pointOnLine(Point point,
LineString line)
Check if the point is on the line
|
static boolean |
GeometryUtils.pointOnLine(Point point,
LineString line,
double epsilon)
Check if the point is on the line
|
static boolean |
GeometryUtils.pointOnLine(Point point,
List<Point> points)
Check if the point is on the line represented by the points
|
static boolean |
GeometryUtils.pointOnLine(Point point,
List<Point> points,
double epsilon)
Check if the point is on the line represented by the points
|
static boolean |
GeometryUtils.pointOnPath(Point point,
Point point1,
Point point2)
Check if the point is on the path between point 1 and point 2
|
static boolean |
GeometryUtils.pointOnPath(Point point,
Point point1,
Point point2,
double epsilon)
Check if the point is on the path between point 1 and point 2
|
static boolean |
GeometryUtils.pointOnPolygonEdge(Point point,
LineString ring)
Check if the point is on the polygon ring edge
|
static boolean |
GeometryUtils.pointOnPolygonEdge(Point point,
LineString ring,
double epsilon)
Check if the point is on the polygon ring edge
|
static boolean |
GeometryUtils.pointOnPolygonEdge(Point point,
List<Point> points)
Check if the point is on the polygon ring edge points
|
static boolean |
GeometryUtils.pointOnPolygonEdge(Point point,
List<Point> points,
double epsilon)
Check if the point is on the polygon ring edge points
|
static boolean |
GeometryUtils.pointOnPolygonEdge(Point point,
Polygon polygon)
Check if the point is on the polygon edge
|
static boolean |
GeometryUtils.pointOnPolygonEdge(Point point,
Polygon polygon,
double epsilon)
Check if the point is on the polygon edge
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
GeometryUtils.closedPolygon(List<Point> points)
Check if the polygon ring points are explicitly closed, where the first
and last point are the same
|
static boolean |
GeometryUtils.pointInPolygon(Point point,
List<Point> points)
Check if the point is in the polygon points
|
static boolean |
GeometryUtils.pointInPolygon(Point point,
List<Point> points,
double epsilon)
Check if the point is in the polygon points
|
static boolean |
GeometryUtils.pointOnLine(Point point,
List<Point> points)
Check if the point is on the line represented by the points
|
static boolean |
GeometryUtils.pointOnLine(Point point,
List<Point> points,
double epsilon)
Check if the point is on the line represented by the points
|
static boolean |
GeometryUtils.pointOnPolygonEdge(Point point,
List<Point> points)
Check if the point is on the polygon ring edge points
|
static boolean |
GeometryUtils.pointOnPolygonEdge(Point point,
List<Point> points,
double epsilon)
Check if the point is on the polygon ring edge points
|
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 |
|---|---|
Point |
CentroidCurve.getCentroid()
Get the centroid point
|
Point |
CentroidSurface.getCentroid()
Get the centroid point
|
Point |
CentroidPoint.getCentroid()
Get the centroid point
|
| Modifier and Type | Method and Description |
|---|---|
Point |
Segment.getLeftPoint()
Get the left point
|
Point |
Event.getPoint()
Get the polygon point
|
Point |
Segment.getRightPoint()
Get the right point
|
| Modifier and Type | Method and Description |
|---|---|
static int |
SweepLine.xyOrder(Point point1,
Point point2)
XY order of two points
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
ShamosHoey.simplePolygonPoints(List<Point> points)
Determine if the polygon points are simple
|
static boolean |
ShamosHoey.simplePolygonRingPoints(List<List<Point>> pointRings)
Determine if the polygon point rings are simple
|
| Constructor and Description |
|---|
Event(int edge,
int ring,
Point point,
EventType type)
Constructor
|
Segment(int edge,
int ring,
Point leftPoint,
Point rightPoint)
Constructor
|
Copyright © 2018 National Geospatial-Intelligence Agency. All rights reserved.