Uses of Class
gizmoball.shape.Polygon

Packages that use Polygon
gizmoball.board   
gizmoball.shape   
 

Uses of Polygon in gizmoball.board
 

Methods in gizmoball.board that return Polygon
 Polygon RotatingGizmo.getEnclosingPolygon()
          returns the enclosing polygon of the gizmo
 Polygon ExtenderGizmo.getEnclosingPolygon()
          returns the enclosing polygon of the extender (the whole area that the extender occupies at least at one point during its motion cycle.
 Polygon ExtenderGizmo.getFutureShape(double dt)
          returns the shape that the extender will have after dt time from now without changing the actual state of the extender.
 Polygon ExtenderGizmo.getShape()
          returns the current shape of the extender.
 Polygon Absorber.getShape()
          returns the shape of the absorber.
 

Constructors in gizmoball.board with parameters of type Polygon
Absorber(java.lang.String name, java.awt.Color color, Polygon poly, Vect launchVelocity, GizmoBoard board)
          Constructs a new Absorber gizmo.
RotatingGizmo(java.lang.String name, java.awt.Color color, Shape shape, double rotatingVel, double currentRotVel, Polygon enclosingPoly, Vect centerOfRotation, Angle maxAngle, Angle currentAngle)
          Constructs a RotatingGizmo object
 

Uses of Polygon in gizmoball.shape
 

Methods in gizmoball.shape that return Polygon
static Polygon Polygon.makeRectangle(Vect upperLeft, double width, double height)
          makes a rectangle at the specified location with the specified length and width
static Polygon Polygon.makeRightTriangle45(Vect upperLeft, double length)
          Constructs a 45-45-90 triangle with the right angle in the bottom left
static Polygon Polygon.makeSquare(Vect upperLeft, double length)
          Returns a polygon that is a square whose upperleft corner is specified by upperLeft and whose side lengths are specified by length
 Polygon Polygon.rotate(Angle theta, Vect centerOfRotation)
          Rotates the polygon by an Angle theta around an arbitrary point centerOfRotation and returns the new Polygon object
 Polygon Polygon.translate(Vect v)
          Translates the polygon by a Vect v and returns the new polygon object