All Classes and Interfaces
Class
Description
An axis-aligned bounding box.
A rigid body.
A body definition holds all the data needed to construct a rigid body.
The body type.
The broad-phase is used for computing pairs and performing volume queries and ray casts.
A chain shape is a free form sequence of line segments.
A circle shape.
Functions used for computing contact points, distance queries, and TOI queries.
Used for computing contact manifolds.
Java-specific class for returning edge results
This structure is used to keep track of the best separating axis.
This class collides and edge and a polygon, taking into account edge adjacency.
This is used for determining the state of contact points.
Reference face used for clipping
This holds polygon B expressed in frame A.
Similar to javax.vecmath.Color3f holder
Sun just HAD to make
Color
immutable, so now I have to make another
stupid pool and now I'm all hot and bothered.Definition for a
ConstantVolumeJoint
, which connects a group a bodies together so they
maintain a constant volume within them.The class manages contact between two shapes.
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.
Implement this class to provide collision filtering.
Contact ids to facilitate warm starting.
Contact impulses for reporting.
Implement this class to get contact information.
Delegate of World.
Contact point for
TestbedTest
.Implement this abstract class to allow JBox2d to
automatically draw your physics for debugging purposes.
Implementation of
DebugDraw
that uses Java2D! Hooray!Provides object pooling for all objects used in the engine.
Joints and fixtures are destroyed when their associated
body is destroyed.
This is non-static for faster pooling.
A distance proxy is used by the GJK algorithm.
Used to warm start Distance.
Input for Distance.
A distance joint constrains two points on two bodies to remain at a fixed distance from each
other.
Distance joint definition.
Output for Distance.
A dynamic tree arranges data in a binary tree to accelerate queries such as volume queries and
ray casts.
A line segment (edge) shape.
This holds contact filtering data.
A fixture is used to attach a shape to a body for collision detection.
A fixture definition is used to create a fixture.
This proxy is used internally to connect fixtures to the broad-phase.
Not thread safe float[] pooling.
Friction joint definition.
A gear joint is used to connect two joints together.
Gear joint definition.
Same functionality of a regular java.util stack.
Not thread safe int[] pooling
This stack assumes that when you push 'n' items back,
you're pushing back the last 'n' items popped.
This is an internal class.
This is the viewport transform used from drawing.
World pool interface
Called for each physics object with a tag defined.
Serializer for jbox2d, used to
serialize any aspect of the physics world
Interface that allows the serializer to
look up tags for each object, which can be
used later during deserializing by the developer.
The base joint class.
Joint definitions are used to construct joints.
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.
The dynamic tree broadphase doesn't really suite this test
well.
A manifold for two touching convex shapes.
A manifold point is a contact point belonging to a contact
manifold.
This holds the mass data computed for a shape.
A 2-by-2 matrix.
A 3-by-3 matrix.
A few math methods that don't fit very well anywhere else.
A mouse joint is used to make a point on a body track a specified world point.
Mouse joint definition.
Orientated bounding box viewport transform
Java note: at the "creation" of each node, a random key is given to that node, and that's what we
sort from.
Protobuffer serializer implementation.
Benchmark - piston example (constantly bumping a bunch of circles and boxes).
Contains methods from MathUtils that rely on JVM features.
A convex polygon shape.
This callback is called by b2World::QueryAABB.
A prismatic joint.
Prismatic joint definition.
The pulley joint is connected to two bodies and two fixed ground points.
Pulley joint definition.
Callback class for AABB queries.
Callback class for ray casts.
Ray-cast input data.
Ray-cast output data.
A revolute joint constrains two bodies to share a common point while they are free to rotate
about the point.
Revolute joint definition.
A rope joint enforces a maximum distance between two points on two bodies.
Rope joint definition.
Represents a rotation
Container for holding serialization results.
Global tuning constants based on MKS units and various integer maximums (vertices per shape,
pairs, etc.).
A shape is used for collision detection.
Types of shapes
GWT doesn't support strict math, so we "emulate" it with non-strict math.
This describes the motion of a body/shape for TOI computation.
This class contains most control logic for the testbed and the update loop.
The testbed frame.
The entry point for the testbed application
Model for the testbed
A TestbedPanel encapsulates the graphical panel displayed to the user.
Defines a setting used in the testbed.
The type of value this setting pertains to
Whether the setting effects the engine's behavior or
modifies drawing.
Stores all the testbed settings.
The testbed side panel.
Class used for computing the time of impact.
Input parameters for TOI
Output parameters for TimeOfImpact
Timer for profiling
This is an internal structure.
A transform contains translation and rotation.
callback for
DynamicTree
callback for
DynamicTree
Used to hear when an object is unsupported by the serializer or the deserializer.
Called when an object is unsupported by the serializer or deserializer.
A 2D column vector
not thread safe Vec2[] pool
A weld joint essentially glues two bodies together.
A wheel joint.
Wheel joint definition.
The world class manages all physics entities, dynamic simulation, and asynchronous queries.
This is used to compute the current state of a contact manifold.