Uses of Class
org.jbox2d.dynamics.Body

Packages that use Body
org.jbox2d.collision This package contains the broad and narrow phase collision algorithms. 
org.jbox2d.dynamics This package handles non-collision aspects of simulation. 
org.jbox2d.dynamics.contacts This package performs contact handling, and is essentially internal to JBox2d. 
org.jbox2d.dynamics.joints This package deals with all things joint-related. 
org.jbox2d.testbed The JBox2d 2.0 testbed, implemented using Processing
org.jbox2d.testbed.tests This package containst all the testbed examples, which extend org.jbox2d.testbed.AbstractExample. 
 

Uses of Body in org.jbox2d.collision
 

Fields in org.jbox2d.collision declared as Body
 Body Shape.m_body
           
 

Methods in org.jbox2d.collision that return Body
 Body Shape.getBody()
          Get the parent body of this shape.
 

Uses of Body in org.jbox2d.dynamics
 

Fields in org.jbox2d.dynamics declared as Body
 Body[] Island.m_bodies
           
 Body Body.m_next
           
 Body Body.m_prev
           
 

Methods in org.jbox2d.dynamics that return Body
 Body World.createBody(BodyDef def)
          Create a body given a definition.
 Body World.getBodyList()
          Get the world body list.
 Body World.getGroundBody()
          The world provides a single static ground body with no collision shapes.
 Body Body.getNext()
          Get the next body in the world's body list.
 

Methods in org.jbox2d.dynamics with parameters of type Body
 void World.destroyBody(Body b)
          Destroy a rigid body given a definition.
 boolean Body.isConnected(Body other)
          This is used to prevent connected bodies from colliding.
 void BoundaryListener.violation(Body body)
          This is called for each body that leaves the world boundary.
 

Uses of Body in org.jbox2d.dynamics.contacts
 

Fields in org.jbox2d.dynamics.contacts declared as Body
 Body ContactConstraint.body1
           
 Body ContactConstraint.body2
           
 Body ContactEdge.other
          Provides quick access to the other body attached.
 

Uses of Body in org.jbox2d.dynamics.joints
 

Fields in org.jbox2d.dynamics.joints declared as Body
 Body JointDef.body1
           
 Body JointDef.body2
           
 Body Joint.m_body1
           
 Body Joint.m_body2
           
 Body PulleyJoint.m_ground
           
 Body GearJoint.m_ground1
           
 Body GearJoint.m_ground2
           
 Body JointEdge.other
           
 

Methods in org.jbox2d.dynamics.joints that return Body
 Body Joint.getBody1()
          Get the first body attached to this joint.
 Body Joint.getBody2()
          Get the second body attached to this joint.
 

Methods in org.jbox2d.dynamics.joints with parameters of type Body
 void RevoluteJointDef.initialize(Body b1, Body b2, Vec2 anchor)
           
 void PrismaticJointDef.initialize(Body b1, Body b2, Vec2 anchor, Vec2 axis)
           
 void DistanceJointDef.initialize(Body b1, Body b2, Vec2 anchor1, Vec2 anchor2)
          Initialize the bodies, anchors, and length using the world anchors.
 void PulleyJointDef.initialize(Body b1, Body b2, Vec2 ga1, Vec2 ga2, Vec2 anchor1, Vec2 anchor2, float r)
           
 

Uses of Body in org.jbox2d.testbed
 

Fields in org.jbox2d.testbed declared as Body
protected  Body AbstractExample.m_bomb
          The bomb body.
 

Methods in org.jbox2d.testbed with parameters of type Body
 void AbstractExample.bindImage(processing.core.PImage p, Vec2 localOffset, float localRotation, float localScale, Body b)
          Draws an image on a body.
 void AbstractExample.boundaryViolated(Body body)
          Stub method for concrete examples to override if desired.
 

Uses of Body in org.jbox2d.testbed.tests
 

Fields in org.jbox2d.testbed.tests declared as Body
 Body SpriteBinding.body
           
 Body SpringRestitutionTest.bodyA0
           
 Body SpringRestitutionTest.bodyA1
           
 Body SpringRestitutionTest.bodyB0
           
 Body SpringRestitutionTest.bodyB1
           
 Body SpringRestitutionTest.bodyC0
           
 Body SpringRestitutionTest.bodyC1
           
 Body SpringRestitutionTest.bodyD0
           
 Body SpringRestitutionTest.bodyD1
           
 

Methods in org.jbox2d.testbed.tests with parameters of type Body
 void SensorTest.addSpringForce(Body bA, Body bB, float k, float friction, float desiredDist)
           
 void SpringRestitutionTest.addSpringForce(Body bA, Vec2 localA, Body bB, Vec2 localB, float k, float friction, float desiredDist)
           
 void SensorTest.addSpringForce(Body bA, Vec2 localA, Body bB, Vec2 localB, float k, float friction, float desiredDist)
           
 void ShapeDrawing.createStrokeRect(Vec2 start, Vec2 end, float radius, Body body, PolygonDef sd)