edu.jhu.ece.iacl.jist.structures.geom
Class BndBox

java.lang.Object
  extended by edu.jhu.ece.iacl.jist.structures.geom.BndBox

public class BndBox
extends java.lang.Object

Created by IntelliJ IDEA. User: bennett Date: Nov 20, 2005 Time: 9:22:24 AM ************************************ Magnetic Resonance in Medicine Final Project Released: December 1, 2005 class BndBox Store bounding box information for accelerated collision detection. Copyright (C) 2005 Bennett Landman, bennett@bme.jhu.edu


Constructor Summary
BndBox()
          Instantiates a new bnd box.
BndBox(PT a0, PT b0)
          Instantiates a new bnd box.
 
Method Summary
 boolean inside(PT test)
          Inside.
 boolean intersect(BndBox test)
          Intersect.
 void union(PT pt)
          Union.
 void union(TriangleSigned tri)
          Union.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BndBox

public BndBox()
Instantiates a new bnd box.


BndBox

public BndBox(PT a0,
              PT b0)
Instantiates a new bnd box.

Parameters:
a0 - the a0
b0 - the b0
Method Detail

inside

public boolean inside(PT test)
Inside.

Parameters:
test - the test
Returns:
true, if successful

intersect

public boolean intersect(BndBox test)
Intersect.

Parameters:
test - the test
Returns:
true, if successful

union

public void union(TriangleSigned tri)
Union.

Parameters:
tri - the tri

union

public void union(PT pt)
Union.

Parameters:
pt - the pt