org.metasyntactic.graphics.shapes
Class Corner

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
                                |
                                +--org.metasyntactic.graphics.shapes.Corner

public class Corner
extends PolygonalVolume


Constructor Summary
Corner(Point position, double width, double height, double depth)
          Creates a new instance of Corner
 
Method Summary
static Corner fromXML(org.w3c.dom.Element element)
           
 java.util.List getPolygons()
           
 
Methods inherited from class org.metasyntactic.graphics.shapes.PolygonalVolume
getIntersections
 
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

Corner

public Corner(Point position,
              double width,
              double height,
              double depth)
Creates a new instance of Corner

Method Detail

getPolygons

public java.util.List getPolygons()
Specified by:
getPolygons in class PolygonalVolume

fromXML

public static Corner fromXML(org.w3c.dom.Element element)