[hide private]
[frames] | no frames]

[ Module Hierarchy | Class Hierarchy ]

# Class Hierarchy

- exceptions.BaseException: Common base class for all exceptions
  - exceptions.Exception: Common base class for all non-exit exceptions.
    - pybox2d.Box2D.b2PickleError
- pybox2d.Box2D.b2AABB: An axis aligned bounding box.
- pybox2d.Box2D.b2BlockAllocator: Proxy of C++ b2BlockAllocator class
- pybox2d.Box2D.b2Body: A rigid body.
- pybox2d.Box2D.b2BodyDef: A body definition holds all the data needed to construct a rigid body.
- pybox2d.Box2D.b2Bound: Proxy of C++ b2Bound class
- pybox2d.Box2D.b2BoundaryListener: This is called when a body's shape passes outside of the world boundary.
- pybox2d.Box2D.b2BroadPhase: Proxy of C++ b2BroadPhase class
- pybox2d.Box2D.b2BufferedPair: Proxy of C++ b2BufferedPair class
- pybox2d.Box2D.b2Color: Color for debug drawing.
- pybox2d.Box2D.b2Contact: The class manages contact between two shapes.
  - pybox2d.Box2D.b2NullContact: Proxy of C++ b2NullContact class
- pybox2d.Box2D.b2ContactEdge: A contact edge is used to connect bodies and contacts together in a contact graph where each body is a node and each contact is an edge.
- pybox2d.Box2D.b2ContactFilter: Implement this class to provide collision filtering.
- pybox2d.Box2D.b2ContactID: Proxy of C++ b2ContactID class
- pybox2d.Box2D.b2ContactID_features: Proxy of C++ b2ContactID_features class
- pybox2d.Box2D.b2ContactListener: Implement this class to get collision results.
- pybox2d.Box2D.b2ContactPoint: This structure is used to report contact points.
- pybox2d.Box2D.b2ContactRegister: Proxy of C++ b2ContactRegister class
- pybox2d.Box2D.b2ContactResult: This structure is used to report contact point results.
- pybox2d.Box2D.b2Controller: Base class for controllers.
  - pybox2d.Box2D.b2BuoyancyController: Calculates buoyancy forces for fluids in the form of a half plane.
  - pybox2d.Box2D.b2ConstantAccelController: Applies a force every frame.
  - pybox2d.Box2D.b2ConstantForceController: Applies a force every frame.
  - pybox2d.Box2D.b2GravityController: Applies simplified gravity between every pair of bodies.
  - pybox2d.Box2D.b2TensorDampingController: Applies top down linear damping to the controlled bodies The damping is calculated by multiplying velocity by a matrix in local co-ordinates.
- pybox2d.Box2D.b2ControllerDef: Proxy of C++ b2ControllerDef class
  - pybox2d.Box2D.b2BuoyancyControllerDef: This class is used to build buoyancy controllers.
  - pybox2d.Box2D.b2ConstantAccelControllerDef: This class is used to build constant acceleration controllers.
  - pybox2d.Box2D.b2ConstantForceControllerDef: This class is used to build constant force controllers.
  - pybox2d.Box2D.b2GravityControllerDef: This class is used to build gravity controllers.
  - pybox2d.Box2D.b2TensorDampingControllerDef: This class is used to build tensor damping controllers.
- pybox2d.Box2D.b2ControllerEdge: A controller edge is used to connect bodies and controllers together in a bipartite graph.
- pybox2d.Box2D.b2DebugDraw: Implement and register this class with a b2Worldto provide debug drawing of physics entities in your game.
- pybox2d.Box2D.b2DestructionListener: Joints and shapes are destroyed when their associated body is destroyed.
- pybox2d.Box2D.b2FilterData: This holds contact filtering data.
- pybox2d.Box2D.b2Jacobian: Proxy of C++ b2Jacobian class
- pybox2d.Box2D.b2Joint: The base joint class.
  - pybox2d.Box2D.b2DistanceJoint: A distance joint constrains two points on two bodies to remain at a fixed distance from each other.
  - pybox2d.Box2D.b2GearJoint: A gear joint is used to connect two joints together.
  - pybox2d.Box2D.b2LineJoint: A line joint.
  - pybox2d.Box2D.b2MouseJoint: A mouse joint is used to make a point on a body track a specified world point.
  - pybox2d.Box2D.b2PrismaticJoint: A prismatic joint.
  - pybox2d.Box2D.b2PulleyJoint: The pulley joint is connected to two bodies and two fixed ground points.
  - pybox2d.Box2D.b2RevoluteJoint: A revolute joint constrains to bodies to share a common point while they are free to rotate about the point.
- pybox2d.Box2D.b2JointDef: Joint definitions are used to construct joints.
  - pybox2d.Box2D.b2DistanceJointDef: Distance joint definition.
  - pybox2d.Box2D.b2GearJointDef: Gear joint definition.
  - pybox2d.Box2D.b2LineJointDef: Line joint definition.
  - pybox2d.Box2D.b2MouseJointDef: Mouse joint definition.
  - pybox2d.Box2D.b2PrismaticJointDef: Prismatic joint definition.
  - pybox2d.Box2D.b2PulleyJointDef: Pulley joint definition.
  - pybox2d.Box2D.b2RevoluteJointDef: Revolute joint definition.
- pybox2d.Box2D.b2JointEdge: A joint edge is used to connect bodies and joints together in a joint graph where each body is a node and each joint is an edge.
- pybox2d.Box2D.b2Manifold: A manifold for two touching convex shapes.
- pybox2d.Box2D.b2ManifoldPoint: A manifold point is a contact point belonging to a contact manifold.
- pybox2d.Box2D.b2MassData: This holds the mass data computed for a shape.
- pybox2d.Box2D.b2Mat22: A 2-by-2 matrix.
- pybox2d.Box2D.b2Mat33: A 3-by-3 matrix.
- pybox2d.Box2D.b2OBB: An oriented bounding box.
- pybox2d.Box2D.b2Pair: Proxy of C++ b2Pair class
- pybox2d.Box2D.b2PairCallback: Proxy of C++ b2PairCallback class
  - pybox2d.Box2D.b2ContactManager: Proxy of C++ b2ContactManager class
- pybox2d.Box2D.b2PairManager: Proxy of C++ b2PairManager class
- pybox2d.Box2D.b2Proxy: Proxy of C++ b2Proxy class
- pybox2d.Box2D.b2Segment: A line segment.
- pybox2d.Box2D.b2Shape: A shape is used for collision detection.
  - pybox2d.Box2D.b2CircleShape: A circle shape.
  - pybox2d.Box2D.b2EdgeShape: The edge shape.
  - pybox2d.Box2D.b2PolygonShape: A convex polygon.
- pybox2d.Box2D.b2ShapeDef: A shape definition is used to construct a shape.
  - pybox2d.Box2D.b2CircleDef: This structure is used to build circle shapes.
  - pybox2d.Box2D.b2EdgeChainDef: This structure is used to build edge shapes.
  - pybox2d.Box2D.b2PolygonDef: Convex polygon.
- pybox2d.Box2D.b2StackAllocator: Proxy of C++ b2StackAllocator class
- pybox2d.Box2D.b2StackEntry: Proxy of C++ b2StackEntry class
- pybox2d.Box2D.b2Sweep: This describes the motion of a body/shape for TOI computation.
- pybox2d.Box2D.b2TimeStep: Proxy of C++ b2TimeStep class
- pybox2d.Box2D.b2Vec2: A 2D column vector.
- pybox2d.Box2D.b2Vec3: A 2D column vector with 3 elements.
- pybox2d.Box2D.b2Version: Version numbering scheme.
- pybox2d.Box2D.b2World: The world class manages all physics entities, dynamic simulation, and asynchronous queries.
- pybox2d.Box2D.b2XForm: A transform contains translation and rotation.