org.metasyntactic.graphics.shapes
Class Rectangle

java.lang.Object
  |
  +--org.metasyntactic.graphics.shapes.Shape
        |
        +--org.metasyntactic.graphics.shapes.CartesianShape
              |
              +--org.metasyntactic.graphics.shapes.ReflectiveShape
                    |
                    +--org.metasyntactic.graphics.shapes.Polygon
                          |
                          +--org.metasyntactic.graphics.shapes.ConvexPolygon
                                |
                                +--org.metasyntactic.graphics.shapes.Rectangle
Direct Known Subclasses:
EastWestWall, Floor, NorthSouthWall

public class Rectangle
extends ConvexPolygon


Constructor Summary
Rectangle(Point upperLeft, Point upperRight, Point lowerRight, Point lowerLeft)
          Creates a new instance of Rectangle
 
Method Summary
static void main(java.lang.String[] args)
           
 
Methods inherited from class org.metasyntactic.graphics.shapes.ConvexPolygon
fromXML, getIntersection, getNormal, getPlane, getVertices, isInside, setVertices
 
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

Rectangle

public Rectangle(Point upperLeft,
                 Point upperRight,
                 Point lowerRight,
                 Point lowerLeft)
Creates a new instance of Rectangle

Method Detail

main

public static void main(java.lang.String[] args)