A B C D E F G H I L M N P Q R S T U V W X Y Z

C

CameraEvent - Class in simulation.gui
Represents the change in the camera -- either in the zoom or position (offset) of the view.
CameraEvent(SimulationView) - Constructor for class simulation.gui.CameraEvent
Creates a new event witht he specified view as the source.
CameraListener - Interface in simulation.gui
This listener is notified when the camera is zoomed or moved.
CameraMap - Class in simulation.gui
 
CameraMap(Simulation, SimulationView) - Constructor for class simulation.gui.CameraMap
 
center() - Method in class simulation.engine.CollisionCircle
 
center() - Method in class simulation.engine.CollisionPolygon
 
center() - Method in class simulation.engine.CollisionShape
Get the shape's center.
CIRCLE - Static variable in class simulation.engine.Body
Type constant that corresponds to a circle.
CIRCLE_IMAGE_LOCATION - Static variable in class simulation.gui.SimulationView
 
CIRCLE_PATH - Static variable in class simulation.gui.ShapeNodeRenderer
 
clone() - Method in class simulation.engine.CollisionCircle
 
clone() - Method in class simulation.engine.CollisionPolygon
 
clone() - Method in class simulation.engine.CollisionShape
Clone the shape.
collide(Body) - Method in class simulation.engine.Body
Perform a collision with another body.
collide(CollisionShape) - Method in class simulation.engine.CollisionShape
Get the result of colliding the shape with another.
collideCircle(CollisionCircle) - Method in class simulation.engine.CollisionCircle
 
collideCircle(CollisionCircle) - Method in class simulation.engine.CollisionPolygon
 
collideCircle(CollisionCircle) - Method in class simulation.engine.CollisionShape
Get the result of colliding with a circle.
collidePolygon(CollisionPolygon) - Method in class simulation.engine.CollisionCircle
 
collidePolygon(CollisionPolygon) - Method in class simulation.engine.CollisionPolygon
 
collidePolygon(CollisionPolygon) - Method in class simulation.engine.CollisionShape
Get the result of colliding with a polygon.
CollisionCircle - Class in simulation.engine
A circle that has a center and radius.
CollisionCircle(double, Vector) - Constructor for class simulation.engine.CollisionCircle
Create a circle with a given radius and center.
CollisionPolygon - Class in simulation.engine
A polygon that can collide with other shapes.
CollisionPolygon(Vector[]) - Constructor for class simulation.engine.CollisionPolygon
Create a polygon from the given vertices
CollisionPolygon(Polygon) - Constructor for class simulation.engine.CollisionPolygon
Creates a CollisionPolygon with the same points as the specified polygon
CollisionResult - Class in simulation.engine
The result of a collision calculation.
CollisionResult(Vector, Vector) - Constructor for class simulation.engine.CollisionResult
Creates a CollisionResult object describing the result of a collision calculation.
CollisionShape - Class in simulation.engine
A shape that can be tested to see if it collides with another shape.
CollisionShape() - Constructor for class simulation.engine.CollisionShape
 
ColorButton - Class in simulation.gui
This is a button that shows a color in a square.
ColorButton(Color) - Constructor for class simulation.gui.ColorButton
Creates a new ColorButton with the square being of the specified color.
connectedBody() - Method in class simulation.engine.BodyConnection
Get the body this is connected to
connectedBody1() - Method in class simulation.engine.Spring
Get the first body the spring is connected to.
connectedBody2() - Method in class simulation.engine.Spring
Get the second body the spring is connected to.
connectedPoint() - Method in class simulation.engine.BodyConnection
Get the point's current location
contactPoint() - Method in class simulation.engine.CollisionResult
Get the location of the contact.
contains(Vector) - Method in class simulation.engine.CollisionCircle
 
contains(Vector) - Method in class simulation.engine.CollisionPolygon
 
contains(Vector) - Method in class simulation.engine.CollisionShape
Tests if the shape contains a point.
containsBody(Body) - Method in class simulation.engine.Simulation
Returns whether the specified body is contained within this system.
currentBest() - Method in class simulation.engine.Maximizer
Get the current maximum value.

A B C D E F G H I L M N P Q R S T U V W X Y Z