|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openjump.core.graph.delauneySimplexInsert.DTriangulationForJTS
public class DTriangulationForJTS
| Field Summary | |
|---|---|
boolean |
debug
|
| Constructor Summary | |
|---|---|
DTriangulationForJTS(java.util.ArrayList pointList)
|
|
DTriangulationForJTS(java.util.ArrayList pointList,
com.vividsolutions.jts.geom.Envelope envelope)
|
|
| Method Summary | |
|---|---|
void |
addPoint(double x,
double y)
|
void |
addPoints(java.util.ArrayList pointList)
|
java.util.ArrayList |
drawAllCircles()
Draw all the empty circles (one for each triangle) of the DT. |
java.util.ArrayList |
drawAllDelaunay()
Draw all the Delaunay edges. |
java.util.ArrayList |
drawAllSites()
Draw all the sites (i.e., the input points) of the DT. |
java.util.ArrayList |
drawAllVoronoi()
Draw all the Voronoi edges. |
DelaunayTriangulation |
getDelaunayTriangulation()
|
java.util.ArrayList |
getInitialSimmplexAsJTSPoints()
|
com.vividsolutions.jts.geom.Geometry |
getThiessenBoundingBox()
the size of the box has been empirically defined to get "undistorted" outer thiessen polygons |
java.util.ArrayList |
getThiessenPolys()
Method returns thiessen polygons within a empirically enlarged bounding box around the point set. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public boolean debug
| Constructor Detail |
|---|
public DTriangulationForJTS(java.util.ArrayList pointList)
public DTriangulationForJTS(java.util.ArrayList pointList,
com.vividsolutions.jts.geom.Envelope envelope)
pointList - envelope - the envelope my extend the initial point cloud and result in a larger initial simplex| Method Detail |
|---|
public void addPoints(java.util.ArrayList pointList)
public void addPoint(double x,
double y)
public java.util.ArrayList drawAllDelaunay()
public java.util.ArrayList drawAllVoronoi()
public java.util.ArrayList drawAllSites()
public java.util.ArrayList drawAllCircles()
public DelaunayTriangulation getDelaunayTriangulation()
public java.util.ArrayList getInitialSimmplexAsJTSPoints()
public com.vividsolutions.jts.geom.Geometry getThiessenBoundingBox()
public java.util.ArrayList getThiessenPolys()
Note: "thiesen" and "voronoi" is exchangeable.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||