| Modifier and Type | Method and Description |
|---|---|
BoundingBox |
Mesh.calculateBoundingBox()
Calculates the
BoundingBox of the vertices contained in this mesh. |
| Modifier and Type | Method and Description |
|---|---|
void |
Mesh.calculateBoundingBox(BoundingBox bbox)
Calculates the
BoundingBox of the vertices contained in this mesh. |
| Modifier and Type | Method and Description |
|---|---|
void |
Model.getBoundingBox(BoundingBox bbox)
Generates the bounding box for the Model.
For every finite 3D object there exists a box that can enclose the object. |
abstract void |
SubMesh.getBoundingBox(BoundingBox bbox)
Obtain the
BoundingBox of this SubMesh. |
| Modifier and Type | Method and Description |
|---|---|
void |
KeyframedModel.getBoundingBox(BoundingBox bbox) |
void |
KeyframedSubMesh.getBoundingBox(BoundingBox bbox) |
| Modifier and Type | Method and Description |
|---|---|
void |
SkeletonModel.getBoundingBox(BoundingBox bbox) |
void |
SkeletonSubMesh.getBoundingBox(BoundingBox bbox) |
| Modifier and Type | Method and Description |
|---|---|
void |
StillModel.getBoundingBox(BoundingBox bbox) |
void |
StillSubMesh.getBoundingBox(BoundingBox bbox) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
Frustum.boundsInFrustum(BoundingBox bounds)
Returns whether the given
BoundingBox is in the frustum. |
static boolean |
Intersector.intersectRayBounds(Ray ray,
BoundingBox box,
Vector3 intersection)
Intersects a
Ray and a BoundingBox, returning the intersection point in intersection. |
static boolean |
Intersector.intersectRayBoundsFast(Ray ray,
BoundingBox box)
Quick check whether the given
Ray and BoundingBox intersect. |
| Modifier and Type | Method and Description |
|---|---|
BoundingBox |
BoundingBox.clr()
Sets the minimum and maximum vector to zeros
|
BoundingBox |
BoundingBox.ext(BoundingBox a_bounds)
Extends this bounding box by the given bounding box.
|
BoundingBox |
BoundingBox.ext(float x,
float y,
float z)
Extends the bounding box by the given vector.
|
BoundingBox |
BoundingBox.ext(Vector3 point)
Extends the bounding box to incorporate the given
Vector3. |
BoundingBox |
BoundingBox.inf()
Sets the minimum and maximum vector to positive and negative infinity.
|
BoundingBox |
BoundingBox.mul(Matrix4 matrix)
Multiplies the bounding box by the given matrix.
|
BoundingBox |
BoundingBox.set(BoundingBox bounds)
Sets the given bounding box.
|
BoundingBox |
BoundingBox.set(java.util.List<Vector3> points)
Sets the bounding box minimum and maximum vector from the given points.
|
BoundingBox |
BoundingBox.set(Vector3[] points)
Sets the bounding box minimum and maximum vector from the given points.
|
BoundingBox |
BoundingBox.set(Vector3 minimum,
Vector3 maximum)
Sets the given minimum and maximum vector.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
BoundingBox.contains(BoundingBox bounds)
Returns whether the given bounding box is contained in this bounding box.
|
BoundingBox |
BoundingBox.ext(BoundingBox a_bounds)
Extends this bounding box by the given bounding box.
|
BoundingBox |
BoundingBox.set(BoundingBox bounds)
Sets the given bounding box.
|
| Constructor and Description |
|---|
BoundingBox(BoundingBox bounds)
Constructs a new bounding box from the given bounding box.
|