org.metasyntactic.graphics.shapes
Class CircularVolume

java.lang.Object
  |
  +--org.metasyntactic.graphics.shapes.Shape
        |
        +--org.metasyntactic.graphics.shapes.CartesianShape
              |
              +--org.metasyntactic.graphics.shapes.ReflectiveShape
                    |
                    +--org.metasyntactic.graphics.shapes.VolumetricShape
                          |
                          +--org.metasyntactic.graphics.shapes.CircularVolume
Direct Known Subclasses:
Cylinder, Sphere

public abstract class CircularVolume
extends VolumetricShape


Constructor Summary
CircularVolume()
          Creates a new instance of CircularShape
 
Method Summary
 double getRadius()
          Getter for property radius.
 void setRadius(double radius)
          Setter for property radius.
 
Methods inherited from class org.metasyntactic.graphics.shapes.VolumetricShape
getDepth, getHeight, getWidth, setDepth, setHeight, setWidth
 
Methods inherited from class org.metasyntactic.graphics.shapes.ReflectiveShape
getShadeModel, setShadeModel
 
Methods inherited from class org.metasyntactic.graphics.shapes.CartesianShape
getIntersection, getIntersections, getPosition, setPosition
 
Methods inherited from class org.metasyntactic.graphics.shapes.Shape
getColor, setColor, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CircularVolume

public CircularVolume()
Creates a new instance of CircularShape

Method Detail

getRadius

public double getRadius()
Getter for property radius.

Returns:
Value of property radius.

setRadius

public void setRadius(double radius)
Setter for property radius.

Parameters:
radius - New value of property radius.