Class Site
- java.lang.Object
-
- com.macrofocus.treemap.originalfastvoronoi.convexHull.JVertex
-
- com.macrofocus.treemap.originalfastvoronoi.j2d.ASite
-
- com.macrofocus.treemap.originalfastvoronoi.j2d.Site
-
-
Field Summary
Fields Modifier and Type Field Description booleanisDummyThis attribute is used to mark the sites, which are only added to bound the Voronoi diagram.-
Fields inherited from class com.macrofocus.treemap.originalfastvoronoi.j2d.ASite
cellObject, nearlyZero, neighbours, nonClippedPolyon, percentage, polygon, preflowVector, weight
-
Fields inherited from class com.macrofocus.treemap.originalfastvoronoi.convexHull.JVertex
originalObject, x, y, z
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SitecloneZeroWeight()java.lang.ObjectgetData()voidsetAsDummy()voidsetData(java.lang.Object child)java.lang.StringtoString()-
Methods inherited from class com.macrofocus.treemap.originalfastvoronoi.j2d.ASite
compareTo, distance, distanceCircles, getNeighbours, getPercentage, getPoint, getPolygon, getWeight, paint, setNeighbours, setPercentage, setPolygon, setWeight, setX, setXY, setXYW, setY
-
-
-
-
Constructor Detail
-
Site
public Site(double x, double y)- Parameters:
x- x-coordinatey- y-coordinate
-
Site
public Site(double x, double y, double weight)- Parameters:
x- x-coordinatey- y-coordinateweight- the weight of the site, where weight=radius*radius which is used for weighting
-
Site
public Site(double x, double y, double weight, double percentage)
-
-