org.metasyntactic.graphics.shapes
Class Axis

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.Axis

public class Axis
extends VolumetricShape


Constructor Summary
Axis()
          Creates a new instance of Axis
 
Method Summary
 Intersection getIntersection(Ray ray)
          returns null if there is no intersection
 
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
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

Axis

public Axis()
Creates a new instance of Axis

Method Detail

getIntersection

public Intersection getIntersection(Ray ray)
returns null if there is no intersection

Overrides:
getIntersection in class CartesianShape