public class AreaInformation
extends java.lang.Object
| Constructor and Description |
|---|
AreaInformation(java.util.List<FitRotationalRectangle> listRectangle)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(double x,
double y)
Add a point.
|
void |
computeGoodPoints(java.util.List<Point> points)
Clear old points then compute the good points
|
boolean |
contains(double x,
double y)
Check if the area contain the point with the given parameters.
|
java.awt.Color |
getColor()
Return the color of the selection.
|
public AreaInformation(java.util.List<FitRotationalRectangle> listRectangle)
listRectangle - The list of rectangle/selection.public void add(double x,
double y)
x - The x value of the point.y - The y value of the point.public boolean contains(double x,
double y)
x - The x value of the point to check.y - The y value of the point to check.public void computeGoodPoints(java.util.List<Point> points)
points - The points to compute.public java.awt.Color getColor()