Modifier and Type | Field and Description |
---|---|
private BoundingBox2DFloat |
Point2DFloatList.boundingBox
Bounding box of the shape.
|
Modifier and Type | Method and Description |
---|---|
BoundingBox2DFloat |
BoundingBox2DFloat.expand(float expandBy)
Expands a BoundingBox2DFloat by the specified value on each side and
returns a new bounding box.
|
BoundingBox2DFloat |
BoundingBox2DFloat.expand(float expandX,
float expandY)
Expands a BoundingBox2DFloat by the specified value on each side and
returns a new bounding box.
|
BoundingBox2DFloat |
BoundingBox2DFloat.expand(float xmin,
float ymin,
float xmax,
float ymax)
Expands a BoundingBox2DFloat by the specified value on each side and
returns a new bounding box.
|
BoundingBox2DFloat |
Point2DFloatList.getBoundingBox()
Returns the Bounding box of the object.
|
BoundingBox2DFloat |
BoundingBox2DFloat.intersection(BoundingBox2DFloat b1,
BoundingBox2DFloat b2)
Returns a new BoundingBox2DFloat which is the intersection of two
bounding boxes.
|
BoundingBox2DFloat |
BoundingBox2DFloat.scaleAround(float cx,
float cy,
float scale)
Scales a BoundingBox2DFloat around a point [cx, cy]
and returns a new bounding box that could contain its scaled area.
|
static BoundingBox2DFloat |
BoundingBox2DFloat.union(BoundingBox2DFloat b1,
BoundingBox2DFloat b2)
Returns a new BoundingBox2DFloat which is the union of two bounding
boxes.
|
Modifier and Type | Method and Description |
---|---|
BoundingBox2DFloat |
BoundingBox2DFloat.intersection(BoundingBox2DFloat b1,
BoundingBox2DFloat b2)
Returns a new BoundingBox2DFloat which is the intersection of two
bounding boxes.
|
static BoundingBox2DFloat |
BoundingBox2DFloat.union(BoundingBox2DFloat b1,
BoundingBox2DFloat b2)
Returns a new BoundingBox2DFloat which is the union of two bounding
boxes.
|
Constructor and Description |
---|
BoundingBox2DFloat(BoundingBox2DFloat orig)
Copy constructor.
|