|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.threerings.opengl.model.CollisionMesh.Node
protected abstract static class CollisionMesh.Node
A node in the axis-aligned bounding box tree.
| Field Summary | |
|---|---|
protected Box |
_bounds
The bounds of the node. |
| Constructor Summary | |
|---|---|
CollisionMesh.Node()
|
|
CollisionMesh.Node(Box bounds)
|
|
| Method Summary | |
|---|---|
protected abstract boolean |
computeIntersection(Ray3D ray,
Vector3f result)
Computes the actual intersection between the ray and this node's geometry, once it has been established that the ray intersects the node's bounding box. |
Box |
getBounds()
Returns a reference to the bounds of the node. |
boolean |
getIntersection(Ray3D ray,
Vector3f result)
Finds the intersection of the given ray with this node and places it in the supplied result object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Box _bounds
| Constructor Detail |
|---|
public CollisionMesh.Node(Box bounds)
public CollisionMesh.Node()
| Method Detail |
|---|
public Box getBounds()
public boolean getIntersection(Ray3D ray,
Vector3f result)
protected abstract boolean computeIntersection(Ray3D ray,
Vector3f result)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||