Uses of Interface
gizmoball.shape.Shape

Packages that use Shape
gizmoball.board   
gizmoball.shape   
 

Uses of Shape in gizmoball.board
 

Methods in gizmoball.board that return Shape
 Shape Gizmo.getShape()
          returns the shape of the gizmo.
 

Methods in gizmoball.board with parameters of type Shape
 Bumper GizmoBoard.addBumper(java.lang.String name, java.awt.Color color, Shape shape)
          adds a bumper to the board.
 boolean GizmoBoard.canAddBumper(Shape shape)
          checks if a bumper with the given shape can be added.
 

Constructors in gizmoball.board with parameters of type Shape
Bumper(java.lang.String name, java.awt.Color color, Shape shape)
          Constructs a Bumper 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 Shape in gizmoball.shape
 

Classes in gizmoball.shape that implement Shape
 class Circle09
          This class represents a circle object with positive radius, implementing the Shape interface
 class FlipperShape
          This class, implementing the Shape interface, represents a flipper shape, consisting of two circles connected by edges tangent to the circles.
 class Polygon
          This class represents a polygon object, implemented as an array of vertices and an array of edges.
 class UnionShape
          This object, implementing the Shape interface, represents a shape constructed as a combination of other shapes.
 

Methods in gizmoball.shape that return Shape
 Shape Shape.rotate(Angle theta, Vect centerOfRotation)
          This method rotates a shape around an arbitrary point and returns the new shape
 Shape Shape.translate(Vect v)
          This method translates a shape by an arbitrary vector and returns the new shape
 

Methods in gizmoball.shape that return types with arguments of type Shape
 java.util.List<Shape> UnionShape.getShapes()
           
 

Methods in gizmoball.shape with parameters of type Shape
static boolean ShapeGeometry.containsShape(Shape enclosing, Shape contained)
          This method checks whethre one shape is completely contained in another.
static boolean ShapeGeometry.overlap(Shape s1, Shape s2)
          Tests whether two shapes overlap.
 

Constructors in gizmoball.shape with parameters of type Shape
UnionShape(Shape s1, Shape s2)
          Constructs a UnionShape out of a pair of shapes, which must be either Circle09, UnionShape or Polygon.
 

Constructor parameters in gizmoball.shape with type arguments of type Shape
UnionShape(java.util.List<Shape> shapes)
          Constructs a UnionShape out of a list of shapes, which must all be either Cirle09, Polygon or UnionShape.