Class Site
- java.lang.Object
-
- com.macrofocus.treemap.fastvoronoi.originalconvexhull.Vertex
-
- com.macrofocus.treemap.fastvoronoi.originalconvexhull.ASite
-
- com.macrofocus.treemap.fastvoronoi.originalconvexhull.Site
-
-
Field Summary
Fields Modifier and Type Field Description boolean
isDummy
This attribute is used to mark the sites, which are only added to bound the Voronoi diagram.-
Fields inherited from class com.macrofocus.treemap.fastvoronoi.originalconvexhull.ASite
nearlyZero, neighbours, nonClippedPolyon, percentage, polygon, weight
-
Fields inherited from class com.macrofocus.treemap.fastvoronoi.originalconvexhull.Vertex
originalObject, x, y, z
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Site
cloneZeroWeight()
java.lang.Object
getData()
void
setAsDummy()
void
setData(java.lang.Object child)
java.lang.String
toString()
-
Methods inherited from class com.macrofocus.treemap.fastvoronoi.originalconvexhull.ASite
compareTo, distance, distanceCircles, getNeighbours, getPercentage, getPoint, getPolygon, getWeight, 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)
-
-