public class ShamosHoey extends Object
| Constructor and Description |
|---|
ShamosHoey() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
simplePolygon(LineString ring)
Determine if the polygon line string ring is simple
|
static boolean |
simplePolygon(List<LineString> rings)
Determine if the polygon rings are simple
|
static boolean |
simplePolygon(Polygon polygon)
Determine if the polygon is simple
|
static boolean |
simplePolygonPoints(List<Point> points)
Determine if the polygon points are simple
|
static boolean |
simplePolygonRingPoints(List<List<Point>> pointRings)
Determine if the polygon point rings are simple
|
public static boolean simplePolygon(Polygon polygon)
polygon - polygonpublic static boolean simplePolygonPoints(List<Point> points)
points - polygon as pointspublic static boolean simplePolygonRingPoints(List<List<Point>> pointRings)
pointRings - polygon point ringspublic static boolean simplePolygon(LineString ring)
ring - polygon ring as a line stringpublic static boolean simplePolygon(List<LineString> rings)
rings - polygon ringsCopyright © 2021 National Geospatial-Intelligence Agency. All rights reserved.