public class TwoDimensionalClusterShapeStats
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) int |
maxX |
(package private) int |
maxY |
(package private) int |
minX |
(package private) int |
minY |
(package private) int |
unitCount |
Constructor and Description |
---|
TwoDimensionalClusterShapeStats() |
Modifier and Type | Method and Description |
---|---|
void |
addPoint(int x,
int y)
Add one point to the cluster stats
|
double |
getBoundingBoxRatio()
Get the ratio of
getStretchX() and getStretchY() |
double |
getFilledRatio() |
int |
getMaxX() |
int |
getMaxY() |
int |
getMinX() |
int |
getMinY() |
private int |
getStretchX() |
private int |
getStretchY() |
public void addPoint(int x, int y)
public double getBoundingBoxRatio()
getStretchX()
and getStretchY()
private int getStretchY()
private int getStretchX()
public double getFilledRatio()
public int getMinX()
public int getMinY()
public int getMaxX()
public int getMaxY()