|
Aviatrix3D 2.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.j3d.aviatrix3d.BoundsUtils
public class BoundsUtils
Utility functionality for bounds management.
Constructor Summary | |
---|---|
BoundsUtils()
Construct a default instance of the utils |
Method Summary | |
---|---|
void |
combine(BoundingVolume parent,
BoundingVolume child)
Ensure that the parent bounds contains the child bounds entirely. |
void |
combine(BoundingVolume parent,
float[] point)
Ensure that the parent bounds contains the child bounds entirely. |
void |
contain(BoundingVolume parent,
BoundingVolume[] children)
Set the parent bounds to be the smallest container of the child bounds. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BoundsUtils()
Method Detail |
---|
public void combine(BoundingVolume parent, BoundingVolume child)
parent
- The parent bound to expand to include this boundschild
- The child to make sure the parent containspublic void combine(BoundingVolume parent, float[] point)
parent
- The parent bound to expand to include this pointpoint
- Coordinates of the point to make sure the bounds includepublic void contain(BoundingVolume parent, BoundingVolume[] children)
parent
- The bounds to set to contain the childrenchildren
- Listing of all the bounds to contain
|
Aviatrix3D 2.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |