Class Site
java.lang.Object
com.treemap.swing.fastvoronoi.originalconvexhull.Vertex
com.treemap.swing.fastvoronoi.originalconvexhull.ASite
com.treemap.swing.fastvoronoi.originalconvexhull.Site
- All Implemented Interfaces:
iSite,Comparable<Site>
Extended Version of a site, which has relative Positions
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanThis attribute is used to mark the sites, which are only added to bound the Voronoi diagram.Fields inherited from class com.treemap.swing.fastvoronoi.originalconvexhull.ASite
nearlyZero, neighbours, nonClippedPolyon, percentage, polygon, weightFields inherited from class com.treemap.swing.fastvoronoi.originalconvexhull.Vertex
originalObject, x, y, z -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.treemap.swing.fastvoronoi.originalconvexhull.ASite
compareTo, distance, distanceCircles, getNeighbours, getPercentage, getPoint, getPolygon, getWeight, setNeighbours, setPercentage, setPolygon, setWeight, setX, setXY, setXYW, setY
-
Field Details
-
isDummy
public boolean isDummyThis attribute is used to mark the sites, which are only added to bound the Voronoi diagram.
-
-
Constructor Details
-
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)
-
-
Method Details