Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
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
S
s1
- Variable in class org.jbox2d.dynamics.contacts.
ContactRegister
s2
- Variable in class org.jbox2d.dynamics.contacts.
ContactRegister
s_validate
- Static variable in class org.jbox2d.collision.
BroadPhase
sayGoodbye(Joint)
- Method in interface org.jbox2d.dynamics.
DestructionListener
Called when any joint is about to be destroyed due to the destruction of one of its attached bodies.
sayGoodbye(Shape)
- Method in interface org.jbox2d.dynamics.
DestructionListener
Called when any shape is about to be destroyed due to the destruction of its parent body.
scaleFactor
- Variable in class org.jbox2d.testbed.
ProcessingDebugDraw
screen
- Static variable in class org.jbox2d.testbed.
ProcessingDebugDraw
screenToWorld(Vec2)
- Method in class org.jbox2d.dynamics.
DebugDraw
screenToWorld(float, float)
- Method in class org.jbox2d.dynamics.
DebugDraw
screenToWorld(Vec2)
- Method in class org.jbox2d.testbed.
ProcessingDebugDraw
screenToWorld(float, float)
- Method in class org.jbox2d.testbed.
ProcessingDebugDraw
Segment
- Class in
org.jbox2d.collision
Segment()
- Constructor for class org.jbox2d.collision.
Segment
SensorTest
- Class in
org.jbox2d.testbed.tests
SensorTest(TestbedMain)
- Constructor for class org.jbox2d.testbed.tests.
SensorTest
separation
- Variable in class org.jbox2d.collision.
ManifoldPoint
The separation of the shapes along the normal vector
separation
- Variable in class org.jbox2d.dynamics.contacts.
ContactConstraintPoint
separation
- Variable in class org.jbox2d.dynamics.contacts.
ContactPoint
The separation is negative when shapes are touching
set(Bound)
- Method in class org.jbox2d.collision.
Bound
set(ContactID.Features)
- Method in class org.jbox2d.collision.
ContactID.Features
set(FilterData)
- Method in class org.jbox2d.collision.
FilterData
set(Mat22)
- Method in class org.jbox2d.common.
Mat22
Set as a copy of another matrix.
set(float)
- Method in class org.jbox2d.common.
Mat22
Set as a matrix representing a rotation.
set(Vec2, Vec2)
- Method in class org.jbox2d.common.
Mat22
Set by column vectors.
set(float, float)
- Method in class org.jbox2d.common.
Vec2
Set the vector component-wise.
set(Vec2)
- Method in class org.jbox2d.common.
Vec2
Set this vector to another vector.
set(XForm)
- Method in class org.jbox2d.common.
XForm
Set this to equal another transform.
setAngle(float)
- Method in class org.jbox2d.common.
Mat22
Set as a matrix representing a rotation.
setAngularDamping(float)
- Method in class org.jbox2d.testbed.tests.
BipedDef
setAngularVelocity(float)
- Method in class org.jbox2d.dynamics.
Body
Set the angular velocity.
setAsBox(float, float)
- Method in class org.jbox2d.collision.
PolygonDef
Build vertices to represent an axis-aligned box.
setAsBox(float, float, Vec2, float)
- Method in class org.jbox2d.collision.
PolygonDef
Build vertices to represent an oriented box.
setBoundaryListener(BoundaryListener)
- Method in class org.jbox2d.dynamics.
World
Register a broad-phase boundary listener.
setBuffered()
- Method in class org.jbox2d.collision.
Pair
setBullet(boolean)
- Method in class org.jbox2d.dynamics.
Body
Should this body be treated like a bullet for continuous collision detection? Use sparingly, as continuous collision detection can be expensive.
setCamera(float, float, float)
- Method in class org.jbox2d.dynamics.
DebugDraw
Stub method to overload for camera movement/zoom.
setCamera(float, float, float)
- Method in class org.jbox2d.testbed.
AbstractExample
Sets the camera target and scale.
setCamera(float, float, float)
- Method in class org.jbox2d.testbed.
ProcessingDebugDraw
setCenter(Vec2)
- Method in class org.jbox2d.util.blob.
CircularBlobContainer
setContactFilter(ContactFilter)
- Method in class org.jbox2d.dynamics.
World
Register a contact filter to provide specific control over collision.
setContactListener(ContactListener)
- Method in class org.jbox2d.dynamics.
World
Register a contact event listener
setContinuousPhysics(boolean)
- Method in class org.jbox2d.dynamics.
World
Enable/disable continuous physics.
setDebugDraw(DebugDraw)
- Method in class org.jbox2d.dynamics.
World
Register a routine for debug drawing.
setDensity(float)
- Method in class org.jbox2d.testbed.tests.
BipedDef
setDestructionListener(DestructionListener)
- Method in class org.jbox2d.dynamics.
World
Register a destruction listener.
setFilterData(FilterData)
- Method in class org.jbox2d.collision.
Shape
Set the collision filtering data.
setFinal()
- Method in class org.jbox2d.collision.
Pair
setFlags(int)
- Method in class org.jbox2d.dynamics.
DebugDraw
setFriction(float)
- Method in class org.jbox2d.collision.
Shape
Set the coefficient of friction.
setGravity(Vec2)
- Method in class org.jbox2d.dynamics.
World
Change the global gravity vector.
setGroupIndex(int)
- Method in class org.jbox2d.testbed.tests.
BipedDef
setIdentity()
- Method in class org.jbox2d.common.
Mat22
Set as the identity matrix.
setIdentity()
- Method in class org.jbox2d.common.
XForm
Set this to the identity transform.
setLimit(boolean)
- Method in class org.jbox2d.testbed.tests.
BipedDef
setLimits(float, float)
- Method in class org.jbox2d.dynamics.joints.
PrismaticJoint
Set the joint limits, usually in meters.
setLimits(float, float)
- Method in class org.jbox2d.dynamics.joints.
RevoluteJoint
setLinearDamping(float)
- Method in class org.jbox2d.testbed.tests.
BipedDef
setLinearVelocity(Vec2)
- Method in class org.jbox2d.dynamics.
Body
Set the linear velocity of the center of mass.
setMass(MassData)
- Method in class org.jbox2d.dynamics.
Body
Set the mass properties.
setMassFromShapes()
- Method in class org.jbox2d.dynamics.
Body
Compute the mass properties from the attached shapes.
setMaxMotorForce(float)
- Method in class org.jbox2d.dynamics.joints.
PrismaticJoint
Set the maximum motor torque, usually in N.
setMaxMotorTorque(float)
- Method in class org.jbox2d.dynamics.joints.
RevoluteJoint
setMotor(boolean)
- Method in class org.jbox2d.testbed.tests.
BipedDef
setMotorSpeed(float)
- Method in class org.jbox2d.dynamics.joints.
PrismaticJoint
Set the motor speed, usually in meters per second.
setMotorSpeed(float)
- Method in class org.jbox2d.dynamics.joints.
RevoluteJoint
setMotorSpeed(float)
- Method in class org.jbox2d.testbed.tests.
BipedDef
setMotorTorque(float)
- Method in class org.jbox2d.testbed.tests.
BipedDef
setPositionCorrection(boolean)
- Method in class org.jbox2d.dynamics.
World
Enable/disable position correction.
setRadius(float)
- Method in class org.jbox2d.util.blob.
CircularBlobContainer
setRemoved()
- Method in class org.jbox2d.collision.
Pair
setRestitution(float)
- Method in class org.jbox2d.collision.
Shape
Set the coefficient of restitution.
setRestitution(float)
- Method in class org.jbox2d.testbed.tests.
BipedDef
setSpringDamping(float)
- Method in class org.jbox2d.util.blob.
BlobStructure
setSpringFrequency(float)
- Method in class org.jbox2d.util.blob.
BlobStructure
setTarget(Vec2)
- Method in class org.jbox2d.dynamics.joints.
MouseJoint
Use this to update the target point.
Settings
- Class in
org.jbox2d.common
Global tuning constants based on MKS units and various integer maximums (vertices per shape, pairs, etc.).
Settings()
- Constructor for class org.jbox2d.common.
Settings
settings
- Variable in class org.jbox2d.testbed.
AbstractExample
Settings for this example.
settings
- Variable in class org.jbox2d.testbed.
TestbedOptions
setup()
- Method in class org.jbox2d.testbed.
TestbedMain
Called once upon program initialization (by Processing).
setUserData(Object)
- Method in class org.jbox2d.collision.
Shape
Set the user data associated with the object.
setUserData(Object)
- Method in class org.jbox2d.dynamics.
Body
setUserData(Object)
- Method in class org.jbox2d.dynamics.joints.
Joint
Set the user data pointer.
setWarmStarting(boolean)
- Method in class org.jbox2d.dynamics.
World
Enable/disable warm starting.
setXForm(Vec2, float)
- Method in class org.jbox2d.dynamics.
Body
Set the position of the body's origin and rotation (radians).
setZero()
- Method in class org.jbox2d.common.
Mat22
Set as the zero matrix.
setZero()
- Method in class org.jbox2d.common.
Vec2
Zero out this vector.
Shape
- Class in
org.jbox2d.collision
A shape is used for collision detection.
Shape(ShapeDef)
- Constructor for class org.jbox2d.collision.
Shape
shape1
- Variable in class org.jbox2d.dynamics.contacts.
ContactPoint
The first shape
shape1
- Variable in class org.jbox2d.dynamics.contacts.
ContactResult
The first shape
shape1
- Variable in class org.jbox2d.testbed.
ExampleContactPoint
shape2
- Variable in class org.jbox2d.dynamics.contacts.
ContactPoint
The second shape
shape2
- Variable in class org.jbox2d.dynamics.contacts.
ContactResult
The second shape
shape2
- Variable in class org.jbox2d.testbed.
ExampleContactPoint
ShapeDef
- Class in
org.jbox2d.collision
Superclass for shape definitions.
ShapeDef()
- Constructor for class org.jbox2d.collision.
ShapeDef
ShapeDrawing
- Class in
org.jbox2d.testbed.tests
An example of Crayon Physics-style shape creation.
ShapeDrawing(TestbedMain)
- Constructor for class org.jbox2d.testbed.tests.
ShapeDrawing
ShapeType
- Enum in
org.jbox2d.collision
shiftKey
- Variable in class org.jbox2d.testbed.
TestbedMain
Is the shift key held?
shouldCollide(Shape, Shape)
- Method in interface org.jbox2d.dynamics.
ContactFilter
Return true if contact calculations should be performed between these two shapes.
shouldCollide(Shape, Shape)
- Method in class org.jbox2d.dynamics.
DefaultContactFilter
Return true if contact calculations should be performed between these two shapes.
singleStep
- Variable in class org.jbox2d.testbed.
TestSettings
sliderInts
- Variable in class org.jbox2d.testbed.
TestbedOptions
sliderWidth
- Static variable in class org.jbox2d.testbed.
TestbedOptions
solve(Vec2)
- Method in class org.jbox2d.common.
Mat22
Solve A * x = b where A = this matrix.
solve(TimeStep, Vec2, boolean, boolean)
- Method in class org.jbox2d.dynamics.
Island
solve(TimeStep)
- Method in class org.jbox2d.dynamics.
World
For internal use
solvePositionConstraints(float)
- Method in class org.jbox2d.dynamics.contacts.
ContactSolver
solvePositionConstraints()
- Method in class org.jbox2d.dynamics.joints.
DistanceJoint
solvePositionConstraints()
- Method in class org.jbox2d.dynamics.joints.
GearJoint
solvePositionConstraints()
- Method in class org.jbox2d.dynamics.joints.
Joint
This returns true if the position errors are within tolerance.
solvePositionConstraints()
- Method in class org.jbox2d.dynamics.joints.
MouseJoint
solvePositionConstraints()
- Method in class org.jbox2d.dynamics.joints.
PrismaticJoint
solvePositionConstraints()
- Method in class org.jbox2d.dynamics.joints.
PulleyJoint
solvePositionConstraints()
- Method in class org.jbox2d.dynamics.joints.
RevoluteJoint
solveTOI(TimeStep)
- Method in class org.jbox2d.dynamics.
Island
solveTOI(TimeStep)
- Method in class org.jbox2d.dynamics.
World
For internal use: find TOI contacts and solve them.
solveVelocityConstraints()
- Method in class org.jbox2d.dynamics.contacts.
ContactSolver
solveVelocityConstraints(TimeStep)
- Method in class org.jbox2d.dynamics.joints.
DistanceJoint
solveVelocityConstraints(TimeStep)
- Method in class org.jbox2d.dynamics.joints.
GearJoint
solveVelocityConstraints(TimeStep)
- Method in class org.jbox2d.dynamics.joints.
Joint
solveVelocityConstraints(TimeStep)
- Method in class org.jbox2d.dynamics.joints.
MouseJoint
solveVelocityConstraints(TimeStep)
- Method in class org.jbox2d.dynamics.joints.
PrismaticJoint
solveVelocityConstraints(TimeStep)
- Method in class org.jbox2d.dynamics.joints.
PulleyJoint
solveVelocityConstraints(TimeStep)
- Method in class org.jbox2d.dynamics.joints.
RevoluteJoint
spawnBomb(Vec2)
- Method in class org.jbox2d.testbed.
AbstractExample
Begins spawning a bomb, spawn finishes and bomb is created upon calling completeBombSpawn().
SpringRestitutionTest
- Class in
org.jbox2d.testbed.tests
SpringRestitutionTest(TestbedMain)
- Constructor for class org.jbox2d.testbed.tests.
SpringRestitutionTest
SpriteBinding
- Class in
org.jbox2d.testbed.tests
This example demonstrates how to bind a sprite to an image using Processing.
SpriteBinding(TestbedMain)
- Constructor for class org.jbox2d.testbed.tests.
SpriteBinding
SquareLatticeStructure
- Class in
org.jbox2d.util.blob
Simple non-reinforced square lattice.
SquareLatticeStructure()
- Constructor for class org.jbox2d.util.blob.
SquareLatticeStructure
state
- Variable in class org.jbox2d.testbed.
ExampleContactPoint
status
- Variable in class org.jbox2d.collision.
Pair
step(float, int)
- Method in interface org.jbox2d.dynamics.
Steppable
step(float, int)
- Method in class org.jbox2d.dynamics.
World
Take a time step.
step()
- Method in class org.jbox2d.testbed.
AbstractExample
Take a physics step.
step()
- Method in class org.jbox2d.testbed.tests.
DistanceTest
Steppable
- Interface in
org.jbox2d.dynamics
This interface allows registration within a JBox2d World to be run immediately after the physics step.
StomachDef
- Variable in class org.jbox2d.testbed.tests.
BipedDef
StomachPoly
- Variable in class org.jbox2d.testbed.tests.
BipedDef
sub(Vec2)
- Method in class org.jbox2d.common.
Vec2
Return the difference of this vector and another; does not alter either one.
subLocal(Vec2)
- Method in class org.jbox2d.common.
Vec2
Subtract another vector from this one and return result - alters this vector.
support(XForm, Vec2)
- Method in class org.jbox2d.collision.
PolygonShape
Get the support point in the given world direction.
support(XForm, Vec2)
- Method in interface org.jbox2d.collision.
SupportsGenericDistance
SupportsGenericDistance
- Interface in
org.jbox2d.collision
A shape that implements this interface can be used in distance calculations for continuous collision detection.
Sweep
- Class in
org.jbox2d.common
Primarily for internal use.
Sweep()
- Constructor for class org.jbox2d.common.
Sweep
synchronize(BroadPhase, XForm, XForm)
- Method in class org.jbox2d.collision.
Shape
Internal
synchronizeShapes()
- Method in class org.jbox2d.dynamics.
Body
For internal use only.
synchronizeTransform()
- Method in class org.jbox2d.dynamics.
Body
For internal use only.
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
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