net.java.joglutils.msg.math
Class Box3f

java.lang.Object
  extended by net.java.joglutils.msg.math.Box3f

public class Box3f
extends Object

Represents an axis-aligned box in 3D space.


Constructor Summary
Box3f()
           
Box3f(Vec3f min, Vec3f max)
           
 
Method Summary
 void extendBy(Box3f box)
           
 void extendBy(Vec3f point)
           
 Vec3f getCenter()
           
 Vec3f getMax()
           
 Vec3f getMin()
           
 void setMax(Vec3f max)
           
 void setMin(Vec3f min)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Box3f

public Box3f()

Box3f

public Box3f(Vec3f min,
             Vec3f max)
Method Detail

setMin

public void setMin(Vec3f min)

getMin

public Vec3f getMin()

setMax

public void setMax(Vec3f max)

getMax

public Vec3f getMax()

getCenter

public Vec3f getCenter()

extendBy

public void extendBy(Vec3f point)

extendBy

public void extendBy(Box3f box)