ij3d.geom
Class Sphere3D

java.lang.Object
  extended by ij3d.geom.Point3D
      extended by ij3d.geom.Sphere3D

public class Sphere3D
extends Point3D

Class Sphere3D Simple class to define a sphere in 3D space

Author:
thomas

Constructor Summary
Sphere3D()
          Constructor for the Sphere3D object
Sphere3D(double a, double b, double c)
          Constructor for the Sphere3D object
Sphere3D(Vector3D v)
          Constructor for the Sphere3D object
 
Method Summary
 double getRadius()
          Get the value of radius
 
Methods inherited from class ij3d.geom.Point3D
distance, distanceSquare, getPosition, getVector3D, getX, getY, getZ, setX, setY, setZ, toString, translate, xmlWrite
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Sphere3D

public Sphere3D()
Constructor for the Sphere3D object


Sphere3D

public Sphere3D(double a,
                double b,
                double c)
Constructor for the Sphere3D object

Parameters:
a - Description of the Parameter
b - Description of the Parameter
c - Description of the Parameter

Sphere3D

public Sphere3D(Vector3D v)
Constructor for the Sphere3D object

Parameters:
v - Description of the Parameter
Method Detail

getRadius

public double getRadius()
Get the value of radius

Returns:
the value of radius