Class PowerDiagram
java.lang.Object
com.treemap.swing.fastvoronoi.originalconvexhull.PowerDiagram
Computes the PowerDiagram by using the convex hull of the transformed half
planes of the sites.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected PolygonSimple
static boolean
static final int
static Random
protected OpenList
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
int
static void
void
setAmountPolygons
(int amountPolygons) void
setClipPoly
(PolygonSimple polygon) void
void
-
Field Details
-
rand
-
halfLineScalingFactor
public static final int halfLineScalingFactor- See Also:
-
debug
public static boolean debug -
hull
-
sites
-
clipPoly
-
facets
-
-
Constructor Details
-
PowerDiagram
public PowerDiagram() -
PowerDiagram
-
-
Method Details
-
setSites
-
setClipPoly
-
getClipPoly
-
computeDiagram
public void computeDiagram() -
writeHullTestCodeOut
-
setAmountPolygons
public void setAmountPolygons(int amountPolygons) -
getAmountPolygons
public int getAmountPolygons() -
main
-