subscript.vis
Class BoundingSphere

java.lang.Object
  extended by 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
           
 
Constructor Summary
BoundingSphere()
           
BoundingSphere(Box3D box, Matrix T)
           
BoundingSphere(double x, double y, double z, double r)
           
 
Method Summary
 java.lang.String toString()
           
 void union(BoundingSphere bs)
          Enlarge this sphere so that it contains another sphere too.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

x

public double x

y

public double y

z

public double z

r

public double r

isnull

public boolean isnull
Constructor Detail

BoundingSphere

public BoundingSphere()

BoundingSphere

public BoundingSphere(double x,
                      double y,
                      double z,
                      double r)

BoundingSphere

public BoundingSphere(Box3D box,
                      Matrix T)
Method Detail

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