public class BestVoronoiCells
extends java.lang.Object
Constructor and Description |
---|
BestVoronoiCells(int number) |
BestVoronoiCells(int number,
java.util.Collection<VPoint> voronoicells) |
Modifier and Type | Method and Description |
---|---|
void |
findBest(java.util.Collection<VPoint> voronoicells) |
double |
getAverageArea() |
int |
getAverageX() |
int |
getAverageY() |
double |
getBestArea(int index) |
VVoronoiCell |
getBestCell(int index) |
int |
getBestStored() |
double |
getTotalAreaOfBest() |
public BestVoronoiCells(int number)
public BestVoronoiCells(int number, java.util.Collection<VPoint> voronoicells)
public int getBestStored()
public double getBestArea(int index)
public VVoronoiCell getBestCell(int index)
public double getTotalAreaOfBest()
public double getAverageArea()
public int getAverageX()
public int getAverageY()
public void findBest(java.util.Collection<VPoint> voronoicells)