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  
g — Property in class example.orbit.force.GravitationalForceGenerator
gravitational constant
generate(element:org.generalrelativity.foam.dynamics.element:ISimulatable) — Method in class example.orbit.force.GravitationalForceGenerator
Generates the gravitational force on the supplied element

We find the source through the following equation:

   F = G m1 m2 / r^2
   
where:
   F is the force we're solving for (applied along the bodies' difference vector)
   G is a gravitational constant
   m1/m2 are the masses involved in the exchange (here, the force is only applied to element)
   r is the distance between the bodies
   

generate(element:org.generalrelativity.foam.dynamics.element:ISimulatable) — Method in class org.generalrelativity.foam.dynamics.force.Friction
Generates frictional force based on simulatable's velocity and coefficient of friction
generate(element:org.generalrelativity.foam.dynamics.element:ISimulatable) — Method in class org.generalrelativity.foam.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.generalrelativity.foam.dynamics.element:ISimulatable) — Method in interface org.generalrelativity.foam.dynamics.force.IForceGenerator
Generates a force (presumably) for the given element
generate(element:org.generalrelativity.foam.dynamics.element:ISimulatable) — Method in class org.generalrelativity.foam.dynamics.force.KeyDrivenTorqueGenerator
Generates torque on the given element if the assigned key(s) are down
generate(element:org.generalrelativity.foam.dynamics.element:ISimulatable) — Method in class org.generalrelativity.foam.dynamics.force.SimpleForceGenerator
Generates a force for the given element
generate(element:org.generalrelativity.foam.dynamics.element:ISimulatable) — Method in class org.generalrelativity.foam.dynamics.force.spring.Bungee
generate(element:org.generalrelativity.foam.dynamics.element:ISimulatable) — Method in class org.generalrelativity.foam.dynamics.force.spring.MouseSpring
generate(element:org.generalrelativity.foam.dynamics.element:ISimulatable) — Method in class org.generalrelativity.foam.dynamics.force.spring.RigidBodyBungee
generate(element:org.generalrelativity.foam.dynamics.element:ISimulatable) — Method in class org.generalrelativity.foam.dynamics.force.spring.RigidBodySpring
generate(element:org.generalrelativity.foam.dynamics.element:ISimulatable) — Method in class org.generalrelativity.foam.dynamics.force.spring.Spring
_generators — Property in class org.generalrelativity.foam.dynamics.element.particle.SimpleParticle
holds all IForceGenerators affecting this particle
getAngle(v:org.generalrelativity.foam.math:Vector) — Method in class org.generalrelativity.foam.math.Vector
getBodyUnderPoint(point:org.generalrelativity.foam.math:Vector) — Method in class org.generalrelativity.foam.dynamics.PhysicsEngine
Gets an IBody that collides with the given point, if any
getCandidates() — Method in interface org.generalrelativity.foam.dynamics.collision.ICoarseCollisionDetector
Gets all pairwise elements that require fine collision detection

As an optimization, this Array is populated with IFineCollisionDetector instances.

getCandidates() — Method in class org.generalrelativity.foam.dynamics.collision.coarse.AABRDetector
Gets an Array of IFineCollisionDetectors from all pairwise detections not ruled out
getCollisionDetector(element1:org.generalrelativity.foam.dynamics.element:ISimulatable, element2:org.generalrelativity.foam.dynamics.element:ISimulatable) — Method in interface org.generalrelativity.foam.dynamics.collision.ICollisionFactory
Gets the collision detector this factory determines based on the supplied elements
getCollisionDetector(element1:org.generalrelativity.foam.dynamics.element:ISimulatable, element2:org.generalrelativity.foam.dynamics.element:ISimulatable) — Method in class org.generalrelativity.foam.dynamics.collision.fine.sat.SATCollisionFactory
Gets an SAT IFineCollisionDetector based on the supplied elements
getContacts() — Method in interface org.generalrelativity.foam.dynamics.collision.IFineCollisionDetector
Generates contacts based on found collision
getContacts() — Method in class org.generalrelativity.foam.dynamics.collision.fine.sat.BezierDetector
getContacts() — Method in class org.generalrelativity.foam.dynamics.collision.fine.sat.CircleCircleDetector
getContacts() — Method in class org.generalrelativity.foam.dynamics.collision.fine.sat.CirclePolygonDetector
Gets point of contact in world-coordinates

In the case of Circle vs.

getContacts() — Method in class org.generalrelativity.foam.dynamics.collision.fine.sat.PolygonPolygonDetector
Generates contacts based on found collision.
getDerivative(state, derivative) — Method in class org.generalrelativity.foam.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.generalrelativity.foam.dynamics.element.particle.SimpleParticle
Gets the element's derivative

This is called by this equation's IODESolver.

getDerivative(state, derivative) — Method in interface org.generalrelativity.foam.dynamics.ode.IODE
Populates the derivative according to the given state.
getDisplayObject(renderable:org.generalrelativity.foam.view:Renderable) — Method in interface org.generalrelativity.foam.view.IFoamRenderer
Gets the DisplayObject that this element is "drawn" in
getDisplayObject(renderable:org.generalrelativity.foam.view:Renderable) — Method in class org.generalrelativity.foam.view.SimpleFoamRenderer
getDistance(projection:org.generalrelativity.foam.dynamics.collision.fine.sat:AxisProjection) — Method in class org.generalrelativity.foam.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.generalrelativity.foam.dynamics.collision.ICoarseCollisionDetector
Gets dynamic collidable elements
getDynamicCollidables() — Method in class org.generalrelativity.foam.dynamics.collision.coarse.AABRDetector
getEdges(vertices) — Static method in class org.generalrelativity.foam.util.ShapeUtil
getKey(value) — Method in class org.generalrelativity.foam.util.SimpleMap
getKeyIndex(key) — Method in class org.generalrelativity.foam.util.SimpleMap
getPerp() — Method in class org.generalrelativity.foam.math.Vector
getPoint1InWorldSpace() — Method in class org.generalrelativity.foam.dynamics.force.spring.RigidBodySpring
getPoint1InWorldSpace() — Method in class org.generalrelativity.foam.dynamics.force.spring.Spring
getPoint2InWorldSpace() — Method in class org.generalrelativity.foam.dynamics.force.spring.RigidBodySpring
getPoint2InWorldSpace() — Method in class org.generalrelativity.foam.dynamics.force.spring.Spring
getPointInWorldSpace() — Method in class org.generalrelativity.foam.dynamics.force.spring.MouseSpring
getTransposeVectorProduct(v:org.generalrelativity.foam.math:Vector) — Method in class org.generalrelativity.foam.math.RotationMatrix
getUnit() — Method in class org.generalrelativity.foam.math.Vector
Gets the unit or normalized Vector Note that this does NOT alter the instance
getValue(key) — Method in class org.generalrelativity.foam.util.SimpleMap
getValueIndex(value) — Method in class org.generalrelativity.foam.util.SimpleMap
getVectorProduct(v:org.generalrelativity.foam.math:Vector) — Method in class org.generalrelativity.foam.math.RotationMatrix
getVelocityAtPoint(point:org.generalrelativity.foam.math:Vector) — Method in interface org.generalrelativity.foam.dynamics.element.IBody
Gets the velocity at the given point
getVelocityAtPoint(point:org.generalrelativity.foam.math:Vector) — Method in class org.generalrelativity.foam.dynamics.element.body.RigidBody
Gets the velocity of the body at a specified point

Note that this point is given in world-coordinates.

GravitationalForceGenerator — Class in package example.orbit.force
GravitationalForceGenerator(source:org.generalrelativity.foam.dynamics.element:ISimulatable, gravitationalConstant) — Constructor in class example.orbit.force.GravitationalForceGenerator
Creates the Force Generator
Gravity — Class in package org.generalrelativity.foam.dynamics.force
Gravity(force:org.generalrelativity.foam.math:Vector) — Constructor in class org.generalrelativity.foam.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