subscript.vis
Class BoundingSphere
java.lang.Object
subscript.vis.BoundingSphere
public class BoundingSphere
- extends java.lang.Object
Deprecated. We use Box3D now instead.
Field Summary |
boolean |
isnull
|
double |
r
|
double |
x
|
double |
y
|
double |
z
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
x
public double x
y
public double y
z
public double z
r
public double r
isnull
public boolean isnull
BoundingSphere
public BoundingSphere()
BoundingSphere
public BoundingSphere(double x,
double y,
double z,
double r)
BoundingSphere
public BoundingSphere(Box3D box,
Matrix T)
union
public void union(BoundingSphere bs)
- Enlarge this sphere so that it contains another sphere too.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object