|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.jhu.ece.iacl.jist.structures.geom.CollisionDetection.Triangle
public static class CollisionDetection.Triangle
The Class Triangle.
Constructor Summary | |
---|---|
CollisionDetection.Triangle(Point3d p1,
Point3d p2,
Point3d p3)
Instantiates a new triangle. |
Method Summary | |
---|---|
static BoundingBox |
getBounds(java.util.ArrayList<CollisionDetection.Triangle> tris)
Gets the bounds. |
static java.util.ArrayList<CollisionDetection.Triangle> |
getInBounds(java.util.ArrayList<CollisionDetection.Triangle> tris,
BoundingBox box)
Gets the in bounds. |
boolean |
inBounds(BoundingBox box)
In bounds. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CollisionDetection.Triangle(Point3d p1, Point3d p2, Point3d p3)
p1
- the p1p2
- the p2p3
- the p3Method Detail |
---|
public boolean inBounds(BoundingBox box)
box
- the box
public static java.util.ArrayList<CollisionDetection.Triangle> getInBounds(java.util.ArrayList<CollisionDetection.Triangle> tris, BoundingBox box)
tris
- the trisbox
- the box
public static BoundingBox getBounds(java.util.ArrayList<CollisionDetection.Triangle> tris)
tris
- the tris
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |