A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  
r11 — Property in class org.MARS.math.RotationMatrix
r12 — Property in class org.MARS.math.RotationMatrix
r21 — Property in class org.MARS.math.RotationMatrix
r22 — Property in class org.MARS.math.RotationMatrix
radius — Property in class org.MARS.robot.locomotion.Wheel
radius — Property in class org.MARS.view.shape.Circle
Rectangle — Class in package org.MARS.view.shape
Rectangle is a special case of Polygon
Rectangle(x, y, width, height, q, anchor:org.MARS.dynamics.element:IBody, color, alpha, lineColor, lineThickness, hashSize) — Constructor in class org.MARS.view.shape.Rectangle
Create a rectangle with the following parameters
redraw() — Method in interface org.MARS.view.IRenderer
Redraws dynamic elements (generally called from within the simulation loop)
redraw() — Method in class org.MARS.view.MARSRenderer
Redraws dynamic elements (generally called from within the simulation loop)
remove(key) — Method in class org.MARS.util.SimpleMap
removeCollidable(collidable:org.MARS.view.shape:Shape) — Method in class org.MARS.dynamics.PhysicsEngine
Removes a collidable element from simulation
removeCollidable(collidable:org.MARS.view.shape:Shape) — Method in interface org.MARS.dynamics.collision.ICoarseCollisionDetector
Removes a collidable element from coarse detection
removeCollidable(collidable:org.MARS.view.shape:Shape) — Method in class org.MARS.dynamics.collision.coarse.AABRDetector
Removes a collidable element from coarse detection
removeElement(element) — Method in class org.MARS.simulation.Simulation
Removes the element from the simulation
removeForceGenerator(generator:org.MARS.dynamics.force:IForceGenerator) — Method in interface org.MARS.dynamics.element.ISimulatable
Removes an IForceGenerator from the element
removeForceGenerator(generator:org.MARS.dynamics.force:IForceGenerator) — Method in class org.MARS.dynamics.element.particle.SimpleParticle
Removes a force generator
removeGlobalForceGenerator(forceGenerator:org.MARS.dynamics.force:IForceGenerator, remainInEffect) — Method in class org.MARS.simulation.Simulation
Removes a global force from the simulation

This force will be removed from all elements its currently generating for depending on remainInEffect

removeODESolver(solver:org.MARS.dynamics.ode:IODESolver) — Method in class org.MARS.dynamics.PhysicsEngine
Removes an IODESolver from the simulation
removeRenderable(renderable:org.MARS.view:Renderable) — Method in interface org.MARS.view.IRenderer
Removes a renderable element from the renderer
removeRenderable(renderable:org.MARS.view:Renderable) — Method in class org.MARS.view.MARSRenderer
Removes a renderable element from the renderer
Renderable — Class in package org.MARS.view
Helps port an element for rendering out of the context of physical simulation
Renderable(element, isDynamic) — Constructor in class org.MARS.view.Renderable
renderables — Property in interface org.MARS.view.IRenderer
Gets all renderables
renderables — Property in class org.MARS.view.MARSRenderer
Gets all renderables
renderer — Property in class org.MARS.simulation.Simulation
RenderingUtil — Class in package org.MARS.util
Useful drawing routines
renderMethodKey — Property in class org.MARS.view.Renderable
IRenderers can use this key as a means to map element type to a drawing method
resolve(contacts) — Static method in class org.MARS.dynamics.collision.CollisionResolver
Resolves an Array of pairwise Contacts

All rigid body contact resolution is handled identically.

restLength — Property in class org.MARS.dynamics.force.spring.MouseSpring
_restLength — Property in class org.MARS.dynamics.force.spring.Spring
the spring's happy length (where no force is generated
restLength — Property in class org.MARS.dynamics.force.spring.Spring
REVERSE — Constant static property in class org.MARS.robot.locomotion.Wheel
rightDelay — Property in class org.MARS.robot.control.BrainOne
RIGHT_EDGE_SENSOR_PORT — Constant static property in class org.MARS.robot.control.SquidTestBrain
RIGHT_IR_SENSOR_PORT — Constant static property in class org.MARS.robot.control.SquidTestBrain
RIGHT_LINE_SENSOR_PORT — Constant static property in class org.MARS.robot.control.SquidTestBrain
RIGHT_MOTOR_PORT_A — Constant static property in class org.MARS.robot.control.SquidTestBrain
RIGHT_MOTOR_PORT_B — Constant static property in class org.MARS.robot.control.SquidTestBrain
rightPort — Property in class org.MARS.robot.control.BrainOne
RIGHT_SENSOR_PORT — Constant static property in class org.MARS.robot.control.BrainOne
RIGHT_SENSOR_PORT — Constant static property in class org.MARS.robot.control.LineFollowingBrain
rightTimer — Property in class org.MARS.robot.control.BrainOne
rightWheelForward() — Method in class org.MARS.robot.control.Battery
rightWheelForward() — Method in class org.MARS.robot.control.BrainOne
rightWheelForward() — Method in class org.MARS.robot.control.LineFollowingBrain
rightWheelForward() — Method in class org.MARS.robot.control.SquidTestBrain
rightWheelReverse() — Method in class org.MARS.robot.control.Battery
rightWheelReverse() — Method in class org.MARS.robot.control.BrainOne
rightWheelReverse() — Method in class org.MARS.robot.control.LineFollowingBrain
rightWheelReverse() — Method in class org.MARS.robot.control.SquidTestBrain
rightWheelStop() — Method in class org.MARS.robot.control.Battery
rightWheelStop() — Method in class org.MARS.robot.control.SquidTestBrain
RigidBody — Class in package org.MARS.dynamics.element.body
Basal implementation of a RigidBody

Rigid bodies have some definable qualities worth mentioning.

RigidBody(x, y, shape:org.MARS.view.shape:Shape, mass, vx, vy, friction, elasticity, q, av) — Constructor in class org.MARS.dynamics.element.body.RigidBody
Creates a new RigidBody

This will most likely be the most used element in FOAM.

RigidBodyBungee — Class in package org.MARS.dynamics.force.spring
Bungee attached to a point on a body TODO: comment
RigidBodyBungee(body1:org.MARS.dynamics.element:IBody, point1:org.MARS.math:Vector, body2:org.MARS.dynamics.element:IBody, point2:org.MARS.math:Vector, k, damp) — Constructor in class org.MARS.dynamics.force.spring.RigidBodyBungee
Creates a new RigidBodyBungee
RigidBodySpring — Class in package org.MARS.dynamics.force.spring
Spring attached to a point on a body TODO: comment TODO: override clone TODO: override invert
RigidBodySpring(body1:org.MARS.dynamics.element:IBody, point1:org.MARS.math:Vector, body2:org.MARS.dynamics.element:IBody, point2:org.MARS.math:Vector, k, damp) — Constructor in class org.MARS.dynamics.force.spring.RigidBodySpring
Creates a new RigidBodySpring
RK4 — Class in package org.MARS.dynamics.ode.solver
Runga Kutta 4th-Order Differential equation solver

This is a meticulous and accurate IODESolver.

RK4(ode:org.MARS.dynamics.ode:IODE) — Constructor in class org.MARS.dynamics.ode.solver.RK4
Creates a new RK4 solver
robot — Property in class org.MARS.robot.locomotion.DifferentialSteering
The robot to be moved by the locomotion
robot — Property in interface org.MARS.robot.locomotion.ILocomotion
The robot to be moved by the locomotion
Robot — Class in package org.MARS.robot
Simulates a mobile autonomous robot
Robot(x, y, rotation, shape:org.MARS.view.shape:Shape, controller:org.MARS.robot.control:IController, locomotion:org.MARS.robot.locomotion:ILocomotion, mass, solver:org.MARS.dynamics.ode:IODESolver, friction, elasticity) — Constructor in class org.MARS.robot.Robot
Create a robot using the given parameters
rotate(q) — Method in class org.MARS.view.shape.Polygon
Rotate every vertice
rotate(q) — Method in class org.MARS.view.shape.Shape
Rotate the shape
rotation — Property in interface org.MARS.dynamics.element.IBody
Gets the rotation matrix of the body (used to transform its geometry)
_rotation — Property in class org.MARS.dynamics.element.body.RigidBody
rotation matrix of body
rotation — Property in class org.MARS.dynamics.element.body.RigidBody
Gets the rotation matrix of the body

Because the creation of a rotation matrix involves 2 trigonometric function calls, it's worthwhile to do a check to see if we need to create a new rotation matrix.

rotation — Property in class org.MARS.view.shape.Shape
RotationMatrix — Class in package org.MARS.math
Rotation Matrix
| r11 r12 |
| r21 r22 |
RotationMatrix(theta) — Constructor in class org.MARS.math.RotationMatrix
A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z