public class Polygon extends CurvePolygon<LineString>
| Modifier | Constructor and Description |
|---|---|
|
Polygon()
Constructor
|
|
Polygon(boolean hasZ,
boolean hasM)
Constructor
|
protected |
Polygon(GeometryType type,
boolean hasZ,
boolean hasM)
Constructor
|
|
Polygon(LineString ring)
Constructor
|
|
Polygon(List<LineString> rings)
Constructor
|
|
Polygon(Polygon polygon)
Copy Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Geometry |
copy()
Copy the geometry
|
boolean |
isSimple()
Determine if this Geometry has no anomalous geometric points, such as
self intersection or self tangency
|
addRing, addRings, equals, getExteriorRing, getInteriorRing, getRing, getRings, hashCode, isEmpty, numInteriorRings, numRings, setRingsgetCentroid, getDimension, getEnvelope, getGeometryType, hasM, hasZ, is3D, isMeasuredpublic Polygon()
public Polygon(boolean hasZ,
boolean hasM)
hasZ - has zhasM - has mpublic Polygon(List<LineString> rings)
rings - list of ringspublic Polygon(LineString ring)
ring - ringpublic Polygon(Polygon polygon)
polygon - polygon to copyprotected Polygon(GeometryType type, boolean hasZ, boolean hasM)
type - geometry typehasZ - has zhasM - has mpublic Geometry copy()
copy in class CurvePolygon<LineString>public boolean isSimple()
isSimple in class CurvePolygon<LineString>Copyright © 2019 National Geospatial-Intelligence Agency. All rights reserved.