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(float, float)
- Method in class org.jbox2d.p5.
Physics
Screen space to world space conversion for position.
screenToWorld(Vec2)
- Method in class org.jbox2d.p5.
Physics
Screen space to world space conversion for position.
screenToWorld(float)
- Method in class org.jbox2d.p5.
Physics
Screen space to world space conversion for length.
screenToWorld(float)
- Method in class org.jbox2d.testbed.
ProcessingDebugDraw
screenToWorld(Vec2)
- Method in class org.jbox2d.testbed.
ProcessingDebugDraw
screenToWorld(float, float)
- Method in class org.jbox2d.testbed.
ProcessingDebugDraw
screenToWorldVector(Vec2)
- Method in class org.jbox2d.p5.
Physics
screenToWorldVector(float, float)
- Method in class org.jbox2d.p5.
Physics
screenToWorldVector(Vec2)
- Method in class org.jbox2d.testbed.
ProcessingDebugDraw
screenToWorldVector(float, float)
- Method in class org.jbox2d.testbed.
ProcessingDebugDraw
screenToWorldX(float, float)
- Method in class org.jbox2d.p5.
Physics
Screen space to world space conversion for position.
screenToWorldY(float, float)
- Method in class org.jbox2d.p5.
Physics
Screen space to world space conversion for position.
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(AABB)
- Method in class org.jbox2d.collision.
AABB
Sets this object from the given object
set(Bound)
- Method in class org.jbox2d.collision.
Bound
set(ContactID.Features)
- Method in class org.jbox2d.collision.
ContactID.Features
set(ContactID)
- Method in class org.jbox2d.collision.
ContactID
set(FilterData)
- Method in class org.jbox2d.collision.
FilterData
set(Manifold)
- Method in class org.jbox2d.collision.
Manifold
copies this manifold from the given one
set(ManifoldPoint)
- Method in class org.jbox2d.collision.
ManifoldPoint
Sets this manifold point form the given one
set(PolygonDef)
- Method in class org.jbox2d.collision.shapes.
PolygonDef
set(Mat22)
- Method in class org.jbox2d.common.
Mat22
Set as a copy of another matrix.
set(float, float, float, float)
- Method in class org.jbox2d.common.
Mat22
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(Vec3)
- Method in class org.jbox2d.common.
Vec3
set(XForm)
- Method in class org.jbox2d.common.
XForm
Set this to equal another transform.
set(ContactConstraint)
- Method in class org.jbox2d.dynamics.contacts.
ContactConstraint
set(ContactConstraintPoint)
- Method in class org.jbox2d.dynamics.contacts.
ContactConstraintPoint
set(ContactEdge)
- Method in class org.jbox2d.dynamics.contacts.
ContactEdge
set(Polygon)
- Method in class org.jbox2d.util.nonconvex.
Polygon
setAngle(float)
- Method in class org.jbox2d.common.
Mat22
Set as a matrix representing a rotation.
setAngleLimits(float, float)
- Method in class org.jbox2d.p5.
JointBreaker
Sets the range of angles between which this jointbreaker will break the joint.
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.shapes.
PolygonDef
Build vertices to represent an axis-aligned box.
setAsBox(float, float, Vec2, float)
- Method in class org.jbox2d.collision.shapes.
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.
setBullet(boolean)
- Method in class org.jbox2d.p5.
Physics
Set to true to create new bodies as "bullets," which use (slower) continuous collision detection against other moving bodies.
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
setChangeDensity(double)
- Method in class org.jbox2d.util.sph.
SmoothParticle
setChangeVelocity(Vec2)
- Method in class org.jbox2d.util.sph.
SmoothParticle
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.
setCustomRenderingMethod(Object, String)
- Method in class org.jbox2d.p5.
Physics
For advanced users only.
setDampingRatio(float)
- Method in class org.jbox2d.dynamics.joints.
DistanceJoint
setDebugDraw(DebugDraw)
- Method in class org.jbox2d.dynamics.
World
Register a routine for debug drawing.
setDensity(float)
- Method in class org.jbox2d.p5.
Physics
Set the density used for newly created shapes.
setDensity(float)
- Method in class org.jbox2d.testbed.tests.
BipedDef
setDensity(double)
- Method in class org.jbox2d.util.sph.
SmoothParticle
setDestructionListener(DestructionListener)
- Method in class org.jbox2d.dynamics.
World
Register a destruction listener.
setDrawDebugData(boolean)
- Method in class org.jbox2d.dynamics.
World
setFilterData(FilterData)
- Method in class org.jbox2d.collision.shapes.
Shape
Set the collision filtering data.
setFinal()
- Method in class org.jbox2d.collision.
Pair
setFlags(int)
- Method in class org.jbox2d.dynamics.
DebugDraw
setFrequency(float)
- Method in class org.jbox2d.dynamics.joints.
DistanceJoint
setFriction(float)
- Method in class org.jbox2d.collision.shapes.
Shape
Set the coefficient of friction.
setFriction(float)
- Method in class org.jbox2d.p5.
Physics
Set the friction used for newly created shapes.
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.
setIsLoop(boolean)
- Method in class org.jbox2d.collision.shapes.
EdgeChainDef
Set whether an extra edge should be created between first and last vertices.
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.
setMaxDensity(double)
- Method in class org.jbox2d.util.sph.
SmoothParticle
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
setMinDensity(double)
- Method in class org.jbox2d.util.sph.
SmoothParticle
setMinMaxDensity()
- Method in class org.jbox2d.util.sph.
SmoothParticle
Keeps track of our particle's min and max density
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
setNextEdge(EdgeShape, Vec2, Vec2, boolean)
- Method in class org.jbox2d.collision.shapes.
EdgeShape
setNumNeighbors(int)
- Method in class org.jbox2d.util.sph.
SmoothParticle
setPositionCorrection(boolean)
- Method in class org.jbox2d.dynamics.
World
Enable/disable position correction.
setPressure(double)
- Method in class org.jbox2d.util.sph.
SmoothParticle
setPrevEdge(EdgeShape, Vec2, Vec2, boolean)
- Method in class org.jbox2d.collision.shapes.
EdgeShape
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.shapes.
Shape
Set the coefficient of restitution.
setRestitution(float)
- Method in class org.jbox2d.p5.
Physics
Set the restitution used for newly created shapes.
setRestitution(float)
- Method in class org.jbox2d.testbed.tests.
BipedDef
setSensor(boolean)
- Method in class org.jbox2d.p5.
Physics
Set to true to create new shapes as sensors.
setShapeID(int)
- Method in class org.jbox2d.util.sph.
SmoothParticle
setSmoothingLength(double)
- Method in class org.jbox2d.util.sph.
SmoothParticle
setSpeedSound(double)
- Method in class org.jbox2d.util.sph.
SmoothParticle
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
settings
- Variable in class org.jbox2d.testbed.timingTests.
TimingTest
setup()
- Method in class org.jbox2d.p5.
JBox2dP5Test
setup()
- Method in class org.jbox2d.testbed.
TestbedMain
Called once upon program initialization (by Processing).
setup()
- Method in class org.jbox2d.util.sph.
SPHAlgoTest
setupWorld()
- Method in class org.jbox2d.testbed.timingTests.
TimingTest
setUserData(Object)
- Method in class org.jbox2d.collision.shapes.
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.
Mat33
setZero()
- Method in class org.jbox2d.common.
Vec2
Zero out this vector.
setZero()
- Method in class org.jbox2d.common.
Vec3
Shape
- Class in
org.jbox2d.collision.shapes
A shape is used for collision detection.
Shape(ShapeDef)
- Constructor for class org.jbox2d.collision.shapes.
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.shapes
Superclass for shape definitions.
ShapeDef()
- Constructor for class org.jbox2d.collision.shapes.
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
shapeID
- Variable in class org.jbox2d.util.sph.
SmoothParticle
ShapeType
- Enum in
org.jbox2d.collision.shapes
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.
SimpleTest
- Interface in
org.jbox2d.testbed.timingTests
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
SmoothParticle
- Class in
org.jbox2d.util.sph
SmoothParticle()
- Constructor for class org.jbox2d.util.sph.
SmoothParticle
SmoothParticle(Vec2, Vec2, double, double, double, double, double)
- Constructor for class org.jbox2d.util.sph.
SmoothParticle
SmoothParticle(SmoothParticle)
- Constructor for class org.jbox2d.util.sph.
SmoothParticle
solve(Vec2)
- Method in class org.jbox2d.common.
Mat22
Solve A * x = b where A = this matrix.
solve(Vec3)
- Method in class org.jbox2d.common.
Mat33
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.
ConstantVolumeJoint
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.
solveToOut(Vec2, Vec2)
- Method in class org.jbox2d.common.
Mat22
solveToOut(Vec3, Vec3)
- Method in class org.jbox2d.common.
Mat33
solveVelocityConstraints()
- Method in class org.jbox2d.dynamics.contacts.
ContactSolver
solveVelocityConstraints(TimeStep)
- Method in class org.jbox2d.dynamics.joints.
ConstantVolumeJoint
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().
SPHAlgoTest
- Class in
org.jbox2d.util.sph
SPHAlgoTest()
- Constructor for class org.jbox2d.util.sph.
SPHAlgoTest
sphGroup
- Variable in class org.jbox2d.util.sph.
SPHAlgoTest
SPHGroup
- Class in
org.jbox2d.util.sph
SPHGroup(int, AABB, PApplet, float)
- Constructor for class org.jbox2d.util.sph.
SPHGroup
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
stabbingCount
- Variable in class org.jbox2d.collision.
Bound
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(float, int)
- Method in class org.jbox2d.p5.
JointBreaker
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.
Stomach
- Variable in class org.jbox2d.testbed.tests.
Biped
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.
sub(Vec3)
- Method in class org.jbox2d.common.
Vec3
subLocal(Vec2)
- Method in class org.jbox2d.common.
Vec2
Subtract another vector from this one and return result - alters this vector.
subLocal(Vec3)
- Method in class org.jbox2d.common.
Vec3
support(Vec2, XForm, Vec2)
- Method in class org.jbox2d.collision.shapes.
EdgeShape
support(Vec2, XForm, Vec2)
- Method in class org.jbox2d.collision.shapes.
PolygonShape
Get the support point in the given world direction.
support(Vec2, 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.
swap(Bound)
- Method in class org.jbox2d.collision.
Bound
swaps the values of this bound with the other bound
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.shapes.
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