public class BoxInGrid
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
AbstractContainer |
box
Container that represents the same box as BoxInGrid object.
|
int |
boxesPlace
Place in array boxes[].
|
int |
gridCol
Number of column taken by box.
|
int |
gridRow
Number of row taken by box.
|
double |
hor
Original size of the box.
|
boolean |
inGrid
Variable is true if at the moment box is putted to grid[][] array.
|
java.util.ArrayList<Line> |
lines
Stores all lines that are connected to box.
|
int |
nH
Horizontal and vertical size that box is taking in grid.
|
int |
nV
Horizontal and vertical size that box is taking in grid.
|
int |
posInOpt
Position in QuadraticOptimization array.
|
double |
vert
Original size of the box.
|
int |
x
Coordinates of left-top corner of BoxInGrin in grid[][] array.
|
double |
xd
x-double and y-double.
|
int |
y
Coordinates of left-top corner of BoxInGrin in grid[][] array.
|
double |
yd
x-double and y-double.
|
Constructor and Description |
---|
BoxInGrid(AbstractContainer box1)
Constructor.
|
public AbstractContainer box
public int x
public int y
public double xd
public double yd
public int nH
public int nV
public double hor
public double vert
public int boxesPlace
public int posInOpt
public boolean inGrid
public java.util.ArrayList<Line> lines
public int gridRow
public int gridCol
public BoxInGrid(AbstractContainer box1)
box1
- Container object that represents the same box as BoxInGrid object.