Package | Description |
---|---|
pythagoras.f |
The Pythagoras geometry utility classes specialized on
float . |
Modifier and Type | Field and Description |
---|---|
static Box |
Box.EMPTY
The empty box.
|
static Box |
Box.MAX_VALUE
A box that's as large as boxes can get.
|
static Box |
Box.UNIT
The unit box.
|
static Box |
Box.ZERO
The zero box.
|
Modifier and Type | Method and Description |
---|---|
Box |
IBox.add(IBox other)
Expands this box to include the bounds of another box.
|
Box |
Box.add(IBox other) |
Box |
IBox.add(IBox other,
Box result)
Expands this box to include the bounds of another box, placing the result in the object
provided.
|
Box |
Box.add(IBox other,
Box result) |
Box |
IBox.add(IVector3 point)
Expands this box to include the specified point.
|
Box |
Box.add(IVector3 point) |
Box |
IBox.add(IVector3 point,
Box result)
Expands this box to include the specified point, placing the result in the object
provided.
|
Box |
Box.add(IVector3 point,
Box result) |
Box |
Box.addLocal(IBox other)
Expands this box to include the bounds of another box.
|
Box |
Box.addLocal(IVector3 point)
Expands this box in-place to include the specified point.
|
Box |
Frustum.bounds()
Returns a reference to the bounds of this frustum.
|
Box |
Frustum.boundsUnderRotation(Matrix3 matrix,
Box result)
Computes the bounds of the frustum under the supplied rotation and places the results in
the box provided.
|
Box |
IBox.expand(float x,
float y,
float z)
Expands the box by the specified amounts.
|
Box |
Box.expand(float x,
float y,
float z) |
Box |
IBox.expand(float x,
float y,
float z,
Box result)
Expands the box by the specified amounts, placing the result in the object provided.
|
Box |
Box.expand(float x,
float y,
float z,
Box result) |
Box |
Box.expandLocal(float x,
float y,
float z)
Expands the box in-place by the specified amounts.
|
Box |
Box.fromPoints(IVector3... points)
Initializes this box with the extents of an array of points.
|
Box |
IBox.intersect(IBox other)
Finds the intersection between this box and another box.
|
Box |
Box.intersect(IBox other) |
Box |
IBox.intersect(IBox other,
Box result)
Finds the intersection between this box and another box and places the result in the
provided object.
|
Box |
Box.intersect(IBox other,
Box result) |
Box |
Box.intersectLocal(IBox other)
Finds the intersection between this box and another box and places the result in this box.
|
Box |
IBox.project(IMatrix4 matrix)
Projects this box.
|
Box |
Box.project(IMatrix4 matrix) |
Box |
IBox.project(IMatrix4 matrix,
Box result)
Projects this box, placing the result in the object provided.
|
Box |
Box.project(IMatrix4 matrix,
Box result) |
Box |
Box.projectLocal(IMatrix4 matrix)
Projects this box in-place.
|
Box |
Box.set(IBox other)
Copies the parameters of another box.
|
Box |
Box.set(IVector3 minExtent,
IVector3 maxExtent)
Sets the box parameters to the values contained in the supplied vectors.
|
Box |
Box.setToEmpty()
Sets the parameters of the box to the empty values (
Vector3.MAX_VALUE and
Vector3.MIN_VALUE for the minimum and maximum, respectively). |
Modifier and Type | Method and Description |
---|---|
Box |
IBox.add(IBox other,
Box result)
Expands this box to include the bounds of another box, placing the result in the object
provided.
|
Box |
Box.add(IBox other,
Box result) |
Box |
IBox.add(IVector3 point,
Box result)
Expands this box to include the specified point, placing the result in the object
provided.
|
Box |
Box.add(IVector3 point,
Box result) |
Box |
Frustum.boundsUnderRotation(Matrix3 matrix,
Box result)
Computes the bounds of the frustum under the supplied rotation and places the results in
the box provided.
|
Box |
IBox.expand(float x,
float y,
float z,
Box result)
Expands the box by the specified amounts, placing the result in the object provided.
|
Box |
Box.expand(float x,
float y,
float z,
Box result) |
Box |
IBox.intersect(IBox other,
Box result)
Finds the intersection between this box and another box and places the result in the
provided object.
|
Box |
Box.intersect(IBox other,
Box result) |
Frustum.IntersectionType |
Frustum.intersectionType(Box box)
Checks whether the frustum intersects the specified box.
|
Box |
IBox.project(IMatrix4 matrix,
Box result)
Projects this box, placing the result in the object provided.
|
Box |
Box.project(IMatrix4 matrix,
Box result) |
Copyright © 2017. All rights reserved.