org.metasyntactic.graphics.shapes
Class PolygonalVolume

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.PolygonalVolume
Direct Known Subclasses:
Column, Corner, Stairs

public abstract class PolygonalVolume
extends VolumetricShape


Constructor Summary
PolygonalVolume()
          Creates a new instance of PolygonalShape
 
Method Summary
 java.util.List getIntersections(Ray ray)
           
abstract  java.util.List getPolygons()
           
 
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, 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

PolygonalVolume

public PolygonalVolume()
Creates a new instance of PolygonalShape

Method Detail

getPolygons

public abstract java.util.List getPolygons()

getIntersections

public java.util.List getIntersections(Ray ray)
Overrides:
getIntersections in class CartesianShape