Class Box3
- java.lang.Object
-
- gov.nih.mipav.view.renderer.WildMagic.BallPivoting.Box3
-
public class Box3 extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(Box3 b)
void
add(Point3 p)
void
assign(Box3 b)
Point3
center()
boolean
collide(Box3 b)
float
diag()
Point3
dim()
float
dimX()
float
dimY()
float
dimZ()
float
distance(Point3 p1, Point3 p2)
boolean
equals(Box3 p)
Point3
globalToLocal(Point3 p)
void
intersect(Box3 b)
boolean
isEmpty()
boolean
isIn(Point3 p)
boolean
isInEx(Point3 p)
boolean
isNull()
Point3
localToGlobal(Point3 p)
int
maxDim()
int
minDim()
boolean
noteqauls(Box3 p)
void
offset(float s)
void
offset(Point3 delta)
Point3
P(int i)
void
set(Point3 p)
void
setNull()
float
squaredDiag()
float
squaredDistance(Point3 p1, Point3 p2)
void
translate(Point3 p)
float
volume()
-
-
-
Method Detail
-
assign
public final void assign(Box3 b)
-
equals
public final boolean equals(Box3 p)
-
noteqauls
public final boolean noteqauls(Box3 p)
-
offset
public final void offset(float s)
-
offset
public final void offset(Point3 delta)
-
set
public final void set(Point3 p)
-
setNull
public final void setNull()
-
add
public final void add(Box3 b)
-
add
public final void add(Point3 p)
-
intersect
public final void intersect(Box3 b)
-
translate
public final void translate(Point3 p)
-
isIn
public final boolean isIn(Point3 p)
-
isInEx
public final boolean isInEx(Point3 p)
-
collide
public final boolean collide(Box3 b)
-
isNull
public final boolean isNull()
-
isEmpty
public final boolean isEmpty()
-
diag
public final float diag()
-
squaredDiag
public final float squaredDiag()
-
center
public final Point3 center()
-
dim
public final Point3 dim()
-
volume
public final float volume()
-
dimX
public final float dimX()
-
dimY
public final float dimY()
-
dimZ
public final float dimZ()
-
maxDim
public final int maxDim()
-
minDim
public final int minDim()
-
P
public final Point3 P(int i)
-
-