public class PolyhedralSurface extends Surface
| Modifier | Constructor and Description |
|---|---|
|
PolyhedralSurface()
Constructor
|
|
PolyhedralSurface(boolean hasZ,
boolean hasM)
Constructor
|
protected |
PolyhedralSurface(GeometryType type,
boolean hasZ,
boolean hasM)
Constructor
|
|
PolyhedralSurface(List<Polygon> polygons)
Constructor
|
|
PolyhedralSurface(Polygon polygon)
Constructor
|
|
PolyhedralSurface(PolyhedralSurface polyhedralSurface)
Copy Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addPatch(Polygon patch)
Add patch
|
void |
addPatches(List<Polygon> patches)
Add patches
|
void |
addPolygon(Polygon polygon)
Add polygon
|
void |
addPolygons(List<Polygon> polygons)
Add polygons
|
Geometry |
copy()
Copy the geometry
|
boolean |
equals(Object obj) |
Polygon |
getPatch(int n)
Get the Nth polygon patch
|
List<Polygon> |
getPatches()
Get patches
|
Polygon |
getPolygon(int n)
Get the Nth polygon
|
List<Polygon> |
getPolygons()
Get polygons
|
int |
hashCode() |
boolean |
isEmpty()
Is the Geometry empty
|
boolean |
isSimple()
Determine if this Geometry has no anomalous geometric points, such as
self intersection or self tangency
|
int |
numPatches()
Get the number of polygons
|
int |
numPolygons()
Get the number of polygons
|
void |
setPatches(List<Polygon> patches)
Set patches
|
void |
setPolygons(List<Polygon> polygons)
Set polygons
|
getCentroid, getDimension, getEnvelope, getGeometryType, hasM, hasZ, is3D, isMeasuredpublic PolyhedralSurface()
public PolyhedralSurface(boolean hasZ,
boolean hasM)
hasZ - has zhasM - has mpublic PolyhedralSurface(List<Polygon> polygons)
polygons - list of polygonspublic PolyhedralSurface(Polygon polygon)
polygon - polygonpublic PolyhedralSurface(PolyhedralSurface polyhedralSurface)
polyhedralSurface - polyhedral surface to copyprotected PolyhedralSurface(GeometryType type, boolean hasZ, boolean hasM)
type - geometry typehasZ - has zhasM - has mpublic List<Polygon> getPatches()
getPolygons()public void setPolygons(List<Polygon> polygons)
polygons - polygonspublic void setPatches(List<Polygon> patches)
patches - patchessetPolygons(List)public void addPolygon(Polygon polygon)
polygon - polygonpublic void addPatch(Polygon patch)
patch - patchaddPolygon(Polygon)public void addPolygons(List<Polygon> polygons)
polygons - polygonspublic void addPatches(List<Polygon> patches)
patches - patchesaddPolygons(List)public int numPolygons()
public int numPatches()
numPolygons()public Polygon getPolygon(int n)
n - nth polygon to returnpublic Polygon getPatch(int n)
n - nth polygon patch to returngetPolygon(int)public Geometry copy()
public boolean isEmpty()
public boolean isSimple()
Copyright © 2019 National Geospatial-Intelligence Agency. All rights reserved.