| 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 | |
| generate(element:org.MARS.dynamics.element:ISimulatable) — Method in class org.MARS.dynamics.force.Friction | |
| Generates frictional force based on simulatable's velocity and coefficient of friction | |
| generate(element:org.MARS.dynamics.element:ISimulatable) — Method in class org.MARS.dynamics.force.Gravity | |
|
Generates a gravitational force on the given element
Note that the force is scaled by the element's mass. |
|
| generate(element:org.MARS.dynamics.element:ISimulatable) — Method in interface org.MARS.dynamics.force.IForceGenerator | |
| Generates a force (presumably) for the given element | |
| generate(element:org.MARS.dynamics.element:ISimulatable) — Method in class org.MARS.dynamics.force.KeyDrivenTorqueGenerator | |
| Generates torque on the given element if the assigned key(s) are down | |
| generate(element:org.MARS.dynamics.element:ISimulatable) — Method in class org.MARS.dynamics.force.SimpleForceGenerator | |
| Generates a force for the given element | |
| generate(element:org.MARS.dynamics.element:ISimulatable) — Method in class org.MARS.dynamics.force.spring.Bungee | |
| generate(element:org.MARS.dynamics.element:ISimulatable) — Method in class org.MARS.dynamics.force.spring.MouseSpring | |
| generate(element:org.MARS.dynamics.element:ISimulatable) — Method in class org.MARS.dynamics.force.spring.RigidBodyBungee | |
| generate(element:org.MARS.dynamics.element:ISimulatable) — Method in class org.MARS.dynamics.force.spring.RigidBodySpring | |
| generate(element:org.MARS.dynamics.element:ISimulatable) — Method in class org.MARS.dynamics.force.spring.Spring | |
| _generators — Property in class org.MARS.dynamics.element.particle.SimpleParticle | |
| holds all IForceGenerators affecting this particle | |
| getAngle(v:org.MARS.math:Vector) — Method in class org.MARS.math.Vector | |
| getBodyUnderPoint(point:org.MARS.math:Vector) — Method in class org.MARS.dynamics.PhysicsEngine | |
| Gets an IBody that collides with the given point, if any | |
| getCandidates() — Method in interface org.MARS.dynamics.collision.ICoarseCollisionDetector | |
|
Gets all pairwise elements that require fine collision detection
As an optimization, this Array is populated with |
|
| getCandidates() — Method in class org.MARS.dynamics.collision.coarse.AABRDetector | |
| Gets an Array of IFineCollisionDetectors from all pairwise detections not ruled out | |
| getCollisionDetector(element1:org.MARS.view.shape:Shape, element2:org.MARS.view.shape:Shape) — Method in interface org.MARS.dynamics.collision.ICollisionFactory | |
| Gets the collision detector this factory determines based on the supplied elements | |
| getCollisionDetector(element1:org.MARS.view.shape:Shape, element2:org.MARS.view.shape:Shape) — Method in class org.MARS.dynamics.collision.fine.sat.SATCollisionFactory | |
| Gets an SAT IFineCollisionDetector based on the supplied elements | |
| getContacts() — Method in interface org.MARS.dynamics.collision.IFineCollisionDetector | |
| Generates contacts based on found collision | |
| getContacts() — Method in class org.MARS.dynamics.collision.fine.sat.BezierDetector | |
| getContacts() — Method in class org.MARS.dynamics.collision.fine.sat.CircleCircleDetector | |
| getContacts() — Method in class org.MARS.dynamics.collision.fine.sat.CirclePolygonDetector | |
|
Gets point of contact in world-coordinates
In the case of Circle vs. |
|
| getContacts() — Method in class org.MARS.dynamics.collision.fine.sat.PolygonPolygonDetector | |
| Generates contacts based on found collision. | |
| getDerivative(state, derivative) — Method in class org.MARS.dynamics.element.body.RigidBody | |
|
Gets the derivative of the body
Note that both the state and derivative are longer than in SimpleParticle. |
|
| getDerivative(state, derivative) — Method in class org.MARS.dynamics.element.particle.SimpleParticle | |
|
Gets the element's derivative
This is called by this equation's IODESolver. |
|
| getDerivative(state, derivative) — Method in interface org.MARS.dynamics.ode.IODE | |
| Populates the derivative according to the given state. | |
| getDerivative(state, derivative) — Method in class org.MARS.robot.Robot | |
| Gets the derivative of the body | |
| getDisplayObject(renderable:org.MARS.view:Renderable) — Method in interface org.MARS.view.IRenderer | |
| Gets the DisplayObject that this element is "drawn" in | |
| getDisplayObject(renderable:org.MARS.view:Renderable) — Method in class org.MARS.view.MARSRenderer | |
| Gets the DisplayObject that this element is "drawn" in | |
| getDistance(projection:org.MARS.dynamics.collision.fine.sat:AxisProjection) — Method in class org.MARS.dynamics.collision.fine.sat.AxisProjection | |
| Gets a signed distance- negative indicates range overlap, zero indicates coincidence and positive indicates a separation | |
| getDynamicCollidables() — Method in interface org.MARS.dynamics.collision.ICoarseCollisionDetector | |
| Gets dynamic collidable elements | |
| getDynamicCollidables() — Method in class org.MARS.dynamics.collision.coarse.AABRDetector | |
| getEdges(vertices) — Static method in class org.MARS.util.ShapeUtil | |
| Get all edges of the body defined as an array of vertices | |
| getInstance() — Static method in class org.MARS.simulation.Environment | |
| Gets the instance of the singleton | |
| getInstance() — Static method in class org.MARS.simulation.Simulation | |
| Gets the instance of the singleton | |
| getInstance() — Static method in class org.MARS.util.StartButton | |
| getKey(value) — Method in class org.MARS.util.SimpleMap | |
| getKeyIndex(key) — Method in class org.MARS.util.SimpleMap | |
| getPerp() — Method in class org.MARS.math.Vector | |
| getPoint1InWorldSpace() — Method in class org.MARS.dynamics.force.spring.RigidBodySpring | |
| getPoint1InWorldSpace() — Method in class org.MARS.dynamics.force.spring.Spring | |
| getPoint2InWorldSpace() — Method in class org.MARS.dynamics.force.spring.RigidBodySpring | |
| getPoint2InWorldSpace() — Method in class org.MARS.dynamics.force.spring.Spring | |
| getPointInWorldSpace() — Method in class org.MARS.dynamics.force.spring.MouseSpring | |
| getPort(portNumber) — Method in class org.MARS.robot.control.AbstractElectronicDevice | |
| Get a certain IO port by its number | |
| getPort(portNumber) — Method in interface org.MARS.robot.control.IElectronicDevice | |
| Get a certain IO port by its number | |
| getReading() — Method in class org.MARS.robot.sensors.AbstractSensor | |
| The function which is called on every step of the physics engine. | |
| getReading() — Method in class org.MARS.robot.sensors.EdgeSensor | |
| Determine if the sensor is on the table and set the output port accordingly: LOW if the sensor is on the table and HIGH if the sensor is off the table. | |
| getReading() — Method in class org.MARS.robot.sensors.IRDetector | |
| Determine if the sensor detects an object and set the output port accordingly: HIGH if the sensor detects a collision and LOW if the sensor does not. | |
| getReading() — Method in interface org.MARS.robot.sensors.ISensor | |
| The function which is called on every step of the physics engine. | |
| getReading() — Method in class org.MARS.robot.sensors.LineSensor | |
| Determine if the sensor is on the line and set the output port accordingly: HIGH if the sensor is on the line and LOW if the sensor is off the line. | |
| getReading() — Method in class org.MARS.robot.sensors.TouchSensor | |
| Determine if the sensor collides with an object and set the output port accordingly: HIGH if the sensor detects a collision and LOW if the sensor does not. | |
| getTransposeVectorProduct(v:org.MARS.math:Vector) — Method in class org.MARS.math.RotationMatrix | |
| getUnit() — Method in class org.MARS.math.Vector | |
| Gets the unit or normalized Vector Note that this does NOT alter the instance | |
| getValue(key) — Method in class org.MARS.util.SimpleMap | |
| getValueIndex(value) — Method in class org.MARS.util.SimpleMap | |
| getVectorProduct(v:org.MARS.math:Vector) — Method in class org.MARS.math.RotationMatrix | |
| getVelocityAtPoint(point:org.MARS.math:Vector) — Method in interface org.MARS.dynamics.element.IBody | |
| Gets the velocity at the given point | |
| getVelocityAtPoint(point:org.MARS.math:Vector) — Method in class org.MARS.dynamics.element.body.RigidBody | |
|
Gets the velocity of the body at a specified point
Note that this point is given in world-coordinates. |
|
| Gravity — Class in package org.MARS.dynamics.force | |
|
Applies a gravitational force to an element
Gravity in simulation applies a mass-ignorant force. |
|
| Gravity(force:org.MARS.math:Vector) — Constructor in class org.MARS.dynamics.force.Gravity | |
| Constructs a new Gravity force generator | |
| 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 | |