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

M

magnitude() - Method in class simulation.engine.Vector
Get the vector's magnitude.
Main - Class in simulation.gui
A 2D shape collision simulation with a Swing GUI; it presents a large amount of options to the user, letting the user specify circles, rectangles or any custom irregular polygon.
Main() - Constructor for class simulation.gui.Main
 
main(String[]) - Static method in class simulation.gui.Main
Starts the program.
MainWindow - Class in simulation.gui
This is the main window of the simulation; it contains the main display, and while not necessarily encompassing everything -- there can be some independent frames -- it is the window that is opened first.
MainWindow() - Constructor for class simulation.gui.MainWindow
Creates a new instance of the simulation.
mass() - Method in class simulation.engine.Body
Get the body's mass.
Maximizer<T> - Class in simulation.engine
A utility class to find the maximum of a bunch of values.
Maximizer() - Constructor for class simulation.engine.Maximizer
 
momentOfInertia() - Method in class simulation.engine.Body
Get the body's moment of inertia (the resistance to change in angular velocity)
momentOfInertia() - Method in class simulation.engine.CollisionCircle
 
momentOfInertia() - Method in class simulation.engine.CollisionPolygon
 
momentOfInertia() - Method in class simulation.engine.CollisionShape
Get the shape's moment of inertia.
move(Vector) - Method in class simulation.engine.CollisionCircle
 
move(Vector) - Method in class simulation.engine.CollisionPolygon
 
move(Vector) - Method in class simulation.engine.CollisionShape
Move the shape a certain amount.
moveMouse(int, int) - Method in class simulation.engine.Simulation
 
moveRotating(double, Vector) - Method in class simulation.engine.CollisionPolygon
 
moveRotating(double, Vector) - Method in class simulation.engine.CollisionShape
Move and rotate the shape.
multiply(double) - Method in class simulation.engine.Vector
Multiply the vector by a ratio.

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