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 
All Classes All Packages

A

AABB - Class in org.dyn4j.geometry
Implementation of an Axis-Align Bounding Box.
AABB(double) - Constructor for class AABB
Full constructor.
AABB(double, double, double, double) - Constructor for class AABB
Full constructor.
AABB(AABB) - Constructor for class AABB
Copy constructor.
AABB(Vector2, double) - Constructor for class AABB
Full constructor.
AABB(Vector2, Vector2) - Constructor for class AABB
Full constructor.
AABBBroadphaseFilter - Class in org.dyn4j.dynamics
Deprecated.
Deprecated in 4.0.0. Use the DetectFilter class in the world package instead.
AABBBroadphaseFilter(boolean, boolean, Filter) - Constructor for class AABBBroadphaseFilter
Deprecated.
Full constructor.
AbstractBounds - Class in org.dyn4j.collision
Abstract implementation of the Bounds interface.
AbstractBounds() - Constructor for class AbstractBounds
Default constructor.
AbstractBounds(double, double) - Constructor for class AbstractBounds
Optional constructor.
AbstractBounds(Vector2) - Constructor for class AbstractBounds
Optional constructor.
AbstractBroadphaseDetector<T extends CollisionBody<E>,​E extends Fixture> - Class in org.dyn4j.collision.broadphase
Abstract implementation of a BroadphaseDetector.
AbstractBroadphaseDetector() - Constructor for class AbstractBroadphaseDetector
Default constructor.
AbstractCollidable<T extends Fixture> - Class in org.dyn4j.collision
Deprecated.
Deprecated in 4.0.0. Use the AbstractCollisionBody class instead.
AbstractCollidable() - Constructor for class AbstractCollidable
Deprecated.
 
AbstractCollisionBody<T extends Fixture> - Class in org.dyn4j.collision
A base implementation of the CollisionBody interface.
AbstractCollisionBody() - Constructor for class AbstractCollisionBody
Default constructor.
AbstractCollisionBody(int) - Constructor for class AbstractCollisionBody
Optional constructor.
AbstractCollisionItem<T extends CollisionBody<E>,​E extends Fixture> - Class in org.dyn4j.collision
Abstract implementation of the CollisionItem interface.
AbstractCollisionItem() - Constructor for class AbstractCollisionItem
 
AbstractCollisionPair<T extends CollisionBody<E>,​E extends Fixture> - Class in org.dyn4j.collision
Abstract implementation of the CollisionPair interface.
AbstractCollisionPair() - Constructor for class AbstractCollisionPair
 
AbstractCollisionWorld<T extends CollisionBody<E>,​E extends Fixture,​V extends CollisionData<T,​E>> - Class in org.dyn4j.world
Abstract implementation of the CollisionWorld interface.
AbstractCollisionWorld() - Constructor for class AbstractCollisionWorld
Default constructor.
AbstractCollisionWorld(int) - Constructor for class AbstractCollisionWorld
Optional constructor.
AbstractFallbackCondition - Class in org.dyn4j.collision.narrowphase
Abstract implementation of the FallbackCondition interface.
AbstractFallbackCondition(int) - Constructor for class AbstractFallbackCondition
Minimal constructor.
AbstractPhysicsBody - Class in org.dyn4j.dynamics
Abstract implementation of the PhysicsBody interface.
AbstractPhysicsBody() - Constructor for class AbstractPhysicsBody
Default constructor.
AbstractPhysicsBody(int) - Constructor for class AbstractPhysicsBody
Optional constructor.
AbstractPhysicsWorld<T extends PhysicsBody,​V extends ContactCollisionData<T>> - Class in org.dyn4j.world
Abstract implementation of the PhysicsWorld interface.
AbstractPhysicsWorld() - Constructor for class AbstractPhysicsWorld
Default constructor.
AbstractPhysicsWorld(int, int) - Constructor for class AbstractPhysicsWorld
Optional constructor.
AbstractShape - Class in org.dyn4j.geometry
Base implementation of the Shape interface.
add(double, double) - Method in class Vector2
Adds the given Vector2 to this Vector2.
add(double, double, double) - Method in class Vector3
Adds the given Vector3 to this Vector3.
add(ContactConstraint<T>) - Method in class Island
Adds the given ContactConstraint to the ContactConstraint list.
add(Joint<T>) - Method in class Island
Adds the given Joint to the Joint list.
add(Matrix22) - Method in class Matrix22
Adds the given Matrix22 to this Matrix22 returning this Matrix22.
add(Matrix33) - Method in class Matrix33
Adds the given Matrix33 to this Matrix33 returning this Matrix33.
add(Vector2) - Method in class Vector2
Adds the given Vector2 to this Vector2.
add(Vector3) - Method in class Vector3
Adds the given Vector3 to this Vector3.
add(T) - Method in class AbstractBroadphaseDetector
 
add(T) - Method in interface BroadphaseDetector
Adds a new CollisionBody to the broad-phase.
add(T) - Method in class Island
Adds the given PhysicsBody to the PhysicsBody list.
add(T, E) - Method in interface BroadphaseDetector
Adds a new Fixture for the given CollisionBody to the broad-phase.
add(T, E) - Method in class BruteForceBroadphase
 
add(T, E) - Method in class DynamicAABBTree
 
add(T, E) - Method in class LazyAABBTree
Deprecated.
 
add(T, E) - Method in class Sap
 
addBody(Body) - Method in class World
Deprecated.
Adds the given Body to the World.
addBody(T) - Method in class AbstractCollisionWorld
 
addBody(T) - Method in class AbstractPhysicsWorld
 
addBody(T) - Method in interface CollisionWorld
Adds the given CollisionBody to this CollisionWorld.
addBody(T) - Method in class ConstraintGraph
Adds an interaction graph node for the given body.
addBoundsListener(BoundsListener<T, E>) - Method in class AbstractCollisionWorld
 
addBoundsListener(BoundsListener<T, E>) - Method in interface CollisionWorld
Adds the given BoundsListener to this world.
addCollisionListener(CollisionListener<T, E>) - Method in class AbstractCollisionWorld
 
addCollisionListener(CollisionListener<T, E>) - Method in interface CollisionWorld
Adds the given CollisionListener to this world.
addCondition(FallbackCondition) - Method in class FallbackNarrowphaseDetector
Adds the given condition to the list of fallback conditions.
addContactConstraint(ContactConstraint<T>) - Method in class ConstraintGraph
Adds an interaction graph edge for the given ContactConstraint.
addContactListener(ContactListener<T>) - Method in class AbstractPhysicsWorld
 
addContactListener(ContactListener<T>) - Method in interface PhysicsWorld
Adds the given ContactListener to this world.
addDestructionListener(DestructionListener<T>) - Method in class AbstractPhysicsWorld
 
addDestructionListener(DestructionListener<T>) - Method in interface PhysicsWorld
Adds the given DestructionListener to this world.
addFixture(Convex) - Method in interface CollisionBody
Creates a Fixture for the given Convex Shape, adds it to this CollisionBody, and returns it.
addFixture(Convex) - Method in class AbstractPhysicsBody
 
addFixture(Convex, double) - Method in class AbstractPhysicsBody
 
addFixture(Convex, double) - Method in interface PhysicsBody
Creates a BodyFixture for the given Convex Shape, adds it to the PhysicsBody, and returns it for configuration.
addFixture(Convex, double, double, double) - Method in class AbstractPhysicsBody
 
addFixture(Convex, double, double, double) - Method in interface PhysicsBody
Creates a BodyFixture for the given Convex Shape, adds it to the PhysicsBody, and returns it for configuration.
addFixture(T) - Method in class AbstractCollisionBody
 
addFixture(T) - Method in interface CollisionBody
Adds the given Fixture to this CollisionBody.
addJoint(Joint) - Method in class World
Deprecated.
Adds the given Joint to the World.
addJoint(Joint<T>) - Method in class AbstractPhysicsWorld
 
addJoint(Joint<T>) - Method in class ConstraintGraph
Adds an interaction graph edge for the given Joint.
addJoint(Joint<T>) - Method in interface PhysicsWorld
Adds the given Joint to the World.
addListener(Listener) - Method in class World
Deprecated.
Adds the given listener to the list of listeners.
addStepListener(StepListener<T>) - Method in class AbstractPhysicsWorld
 
addStepListener(StepListener<T>) - Method in interface PhysicsWorld
Adds the given StepListener to this world.
addTimeOfImpactListener(TimeOfImpactListener<T>) - Method in class AbstractPhysicsWorld
 
addTimeOfImpactListener(TimeOfImpactListener<T>) - Method in interface PhysicsWorld
Adds the given TimeOfImpactListener to this world.
ALL - ContinuousDetectionMode
CCD is performed on all bodies against static bodies.
allow(AABB, Body, BodyFixture) - Method in class DetectAdapter
Deprecated.
 
allow(AABB, Body, BodyFixture) - Method in interface DetectListener
Deprecated.
Called before the BodyFixture is tested against the given AABB.
allow(Convex, Body, BodyFixture) - Method in class ConvexCastAdapter
Deprecated.
 
allow(Convex, Body, BodyFixture) - Method in interface ConvexCastListener
Deprecated.
Called before the given fixture is cast against.
allow(Convex, Body, BodyFixture, TimeOfImpact) - Method in class ConvexCastAdapter
Deprecated.
 
allow(Convex, Body, BodyFixture, TimeOfImpact) - Method in interface ConvexCastListener
Deprecated.
Called after the given fixture has been cast against and a collision was detected.
allow(Convex, Transform, Body) - Method in class DetectAdapter
Deprecated.
 
allow(Convex, Transform, Body) - Method in interface DetectListener
Deprecated.
Called after the given Convex has been found to overlap the a Body.
allow(Convex, Transform, Body, BodyFixture) - Method in class DetectAdapter
Deprecated.
 
allow(Convex, Transform, Body, BodyFixture) - Method in interface DetectListener
Deprecated.
Called before the BodyFixture is tested against the given Convex.
allow(Ray, Body, BodyFixture) - Method in class RaycastAdapter
Deprecated.
 
allow(Ray, Body, BodyFixture) - Method in interface RaycastListener
Deprecated.
Called before a BodyFixture is tested against the Ray.
allow(Ray, Body, BodyFixture, Raycast) - Method in class RaycastAdapter
Deprecated.
 
allow(Ray, Body, BodyFixture, Raycast) - Method in interface RaycastListener
Deprecated.
Called after a successful raycast of the given Body and BodyFixture.
AngleJoint<T extends PhysicsBody> - Class in org.dyn4j.dynamics.joint
Implementation of an angle joint.
AngleJoint(T, T) - Constructor for class AngleJoint
Minimal constructor.
applyForce(Force) - Method in class AbstractPhysicsBody
 
applyForce(Force) - Method in interface PhysicsBody
Applies the given Force to this PhysicsBody.
applyForce(Vector2) - Method in class AbstractPhysicsBody
 
applyForce(Vector2) - Method in interface PhysicsBody
Applies the given force to this PhysicsBody.
applyForce(Vector2, Vector2) - Method in class AbstractPhysicsBody
 
applyForce(Vector2, Vector2) - Method in interface PhysicsBody
Applies the given force to this PhysicsBody at the given point (torque).
applyImpulse(double) - Method in class AbstractPhysicsBody
 
applyImpulse(double) - Method in interface PhysicsBody
Applies an angular impulse to this PhysicsBody about its center of mass.
applyImpulse(Vector2) - Method in class AbstractPhysicsBody
 
applyImpulse(Vector2) - Method in interface PhysicsBody
Applies a linear impulse to this PhysicsBody at its center of mass.
applyImpulse(Vector2, Vector2) - Method in class AbstractPhysicsBody
 
applyImpulse(Vector2, Vector2) - Method in interface PhysicsBody
Applies an impulse to this PhysicsBody at the given point.
applyTorque(double) - Method in class AbstractPhysicsBody
 
applyTorque(double) - Method in interface PhysicsBody
Applies the given torque about the center of this PhysicsBody.
applyTorque(Torque) - Method in class AbstractPhysicsBody
 
applyTorque(Torque) - Method in interface PhysicsBody
Applies the given Torque to this PhysicsBody.
AT_LOWER - LimitState
Deprecated.
The state if the joint has reached or passed the lower limit
AT_UPPER - LimitState
Deprecated.
The state if the joint has reached or passed the upper limit
AxisAlignedBounds - Class in org.dyn4j.collision
Represents a bounding region that is an Axis-Aligned bounding box.
AxisAlignedBounds(double, double) - Constructor for class AxisAlignedBounds
Minimal constructor.

B

BasicCollisionItem<T extends CollisionBody<E>,​E extends Fixture> - Class in org.dyn4j.collision
Represents a basic, immutable implementation of the CollisionItem interface.
BasicCollisionItem(T, E) - Constructor for class BasicCollisionItem
Minimal constructor.
BasicCollisionPair<T extends CollisionBody<E>,​E extends Fixture> - Class in org.dyn4j.collision
Represents a basic, immutable implementation of the CollisionPair interface.
BasicCollisionPair(T, E, T, E) - Constructor for class BasicCollisionPair
Minimal constructor.
BatchBroadphaseDetector<T extends CollisionBody<E>,​E extends Fixture> - Interface in org.dyn4j.collision.broadphase
Deprecated.
Deprecated in 4.0.0. No replacement needed.
batchUpdate() - Method in interface BatchBroadphaseDetector
Deprecated.
Updates all the Fixtures on all the CollisionBodys that have been added to this BroadphaseDetector up until now.
batchUpdate() - Method in class LazyAABBTree
Deprecated.
Destroys the existing tree in O(n) time and prepares for batch-detection while also updating all AABBs.
Bayazit - Class in org.dyn4j.geometry.decompose
Implementation of the Bayazit convex decomposition algorithm for simple polygons.
Bayazit() - Constructor for class Bayazit
 
begin(Contact) - Method in interface ContactUpdateHandler
Called when the given contact is a new contact.
begin(ContactPoint) - Method in class ContactAdapter
Deprecated.
 
begin(ContactPoint) - Method in interface ContactListener
Deprecated.
Called when two BodyFixtures begin to overlap, generating a contact point.
begin(Step, World) - Method in class StepAdapter
Deprecated.
 
begin(Step, World) - Method in interface StepListener
Deprecated.
Called before a simulation step is performed.
begin(TimeStep, PhysicsWorld<T, ?>) - Method in interface StepListener
Called before a simulation step is performed.
begin(TimeStep, PhysicsWorld<T, ?>) - Method in class StepListenerAdapter
 
begin(ContactCollisionData<T>, Contact) - Method in interface ContactListener
Called when two BodyFixtures begin to overlap, generating a contact point.
begin(ContactCollisionData<T>, Contact) - Method in class ContactListenerAdapter
 
BinarySearchTree<E extends Comparable<E>> - Class in org.dyn4j
Represents an (optionally balanced) Binary Search Tree.
BinarySearchTree() - Constructor for class BinarySearchTree
Creates a new binary search tree with automatic balancing off.
BinarySearchTree(boolean) - Constructor for class BinarySearchTree
Creates a new binary search tree.
BinarySearchTree(BinarySearchTree<E>) - Constructor for class BinarySearchTree
Copy constructor.
BinarySearchTree(BinarySearchTree<E>, boolean) - Constructor for class BinarySearchTree
Copy constructor.
BinarySearchTreeSearchCriteria<E extends Comparable<E>> - Interface in org.dyn4j
Represents criteria for performing a binary search on a BinarySearchTree.
Body - Class in org.dyn4j.dynamics
Full implementation of the CollisionBody and PhysicsBody interfaces.
Body() - Constructor for class Body
Default constructor.
BodyFixture - Class in org.dyn4j.dynamics
Represents a piece of a PhysicsBody.
BodyFixture(Convex) - Constructor for class BodyFixture
Minimal constructor.
Bounds - Interface in org.dyn4j.collision
Represents the Bounds of a simulation.
BoundsAdapter - Class in org.dyn4j.collision
Deprecated.
Deprecated in 4.0.0. Use the BoundsAdapter in the world package instead.
BoundsAdapter() - Constructor for class BoundsAdapter
Deprecated.
 
BoundsListener - Interface in org.dyn4j.collision
Deprecated.
Deprecated in 4.0.0. Use the BoundsListener interface in the world package instead.
BoundsListener<T extends CollisionBody<E>,​E extends Fixture> - Interface in org.dyn4j.world.listener
Represents an object that is notified when a CollisionBody goes out of Bounds.
BoundsListenerAdapter<T extends CollisionBody<E>,​E extends Fixture> - Class in org.dyn4j.world.listener
Convenience class for implementing the BoundsListener interface.
BoundsListenerAdapter() - Constructor for class BoundsListenerAdapter
 
BroadphaseCollisionData<T extends CollisionBody<E>,​E extends Fixture> - Interface in org.dyn4j.world
Represents a broadphase collision.
BroadphaseDetector<T extends CollisionBody<E>,​E extends Fixture> - Interface in org.dyn4j.collision.broadphase
Represents a broad-phase collision detection algorithm.
BroadphaseFilter<T extends CollisionBody<E>,​E extends Fixture> - Interface in org.dyn4j.collision.broadphase
Deprecated.
Deprecated in 4.0.0. Use the BroadphaseFilter in the world package instead.
BroadphaseFilter<T extends CollisionBody<E>,​E extends Fixture> - Interface in org.dyn4j.world
Represents a class that defines rules to exclude results from BroadphaseDetector.
BroadphaseFilterAdapter<T extends CollisionBody<E>,​E extends Fixture> - Class in org.dyn4j.collision.broadphase
Deprecated.
Deprecated in 4.0.0. Use the BroadphaseFilterAdapter in the world package instead.
BroadphaseFilterAdapter<T extends CollisionBody<E>,​E extends Fixture> - Class in org.dyn4j.world
Helper class to avoid having to override all the methods of the BroadphaseFilter interface.
BroadphaseFilterAdapter() - Constructor for class BroadphaseFilterAdapter
Deprecated.
 
BroadphaseFilterAdapter() - Constructor for class BroadphaseFilterAdapter
 
BruteForceBroadphase<T extends CollisionBody<E>,​E extends Fixture> - Class in org.dyn4j.collision.broadphase
This class implements the simplest possible broad-phase detector, a brute-force algorithm for finding all pairs of collisions (and similar queries).
BruteForceBroadphase() - Constructor for class BruteForceBroadphase
Default constructor.
BULLETS_ONLY - ContinuousDetectionMode
CCD is performed on bodies flagged as bullets only.

C

Capacity - Class in org.dyn4j.dynamics
Deprecated.
Deprecated in 4.0.0. Use the appropriate constructors instead.
Capacity() - Constructor for class Capacity
Deprecated.
Default constructor.
Capacity(int, int, int) - Constructor for class Capacity
Deprecated.
Full constructor.
Capsule - Class in org.dyn4j.geometry
Implementation of a Capsule Convex Shape.
Capsule(double, double) - Constructor for class Capsule
Minimal constructor.
CategoryFilter - Class in org.dyn4j.collision
A Filter for categorized fixtures.
CategoryFilter() - Constructor for class CategoryFilter
Default constructor.
CategoryFilter(long, long) - Constructor for class CategoryFilter
Full constructor.
Circle - Class in org.dyn4j.geometry
Implementation of a Circle Convex Shape.
Circle(double) - Constructor for class Circle
Full constructor.
CircleDetector - Class in org.dyn4j.collision.narrowphase
Class devoted to Circle detection queries.
clamp(double) - Method in class Interval
If the value is within this Interval, inclusive, then return the value, else return either the max or minimum value.
clamp(double, double, double) - Static method in class Interval
Returns a number clamped between two other numbers.
cleanse(List<Vector2>) - Static method in class Geometry
Returns a new list containing the 'cleansed' version of the given listing of polygon points.
cleanse(Vector2...) - Static method in class Geometry
Returns a new array containing the 'cleansed' version of the given array of polygon points.
clear() - Method in class BinarySearchTree
Empties this tree.
clear() - Method in interface BroadphaseDetector
Clears all the CollisionBody Fixtures from this broad-phase and any state held by this broadphase.
clear() - Method in class BruteForceBroadphase
 
clear() - Method in class DynamicAABBTree
 
clear() - Method in class LazyAABBTree
Deprecated.
 
clear() - Method in class Sap
 
clear() - Method in class Manifold
Clears the Manifold information.
clear() - Method in class Penetration
Clears the penetration information.
clear() - Method in class Raycast
Clears this object setting all values to their default values.
clear() - Method in class Separation
Clears the separation information.
clear() - Method in interface ContactManager
Deprecated.
Clears the contact manager.
clear() - Method in class DefaultContactManager
Deprecated.
 
clear() - Method in class ConstraintGraph
Clears the graph of all nodes and edges.
clear() - Method in class Island
Clears the island.
clearAccumulatedForce() - Method in class AbstractPhysicsBody
 
clearAccumulatedForce() - Method in interface PhysicsBody
Clears the forces stored in the force accumulator.
clearAccumulatedTorque() - Method in class AbstractPhysicsBody
 
clearAccumulatedTorque() - Method in interface PhysicsBody
Clears the torques stored in the torque accumulator.
clearForce() - Method in class AbstractPhysicsBody
 
clearForce() - Method in interface PhysicsBody
Clears the last time step's force on the PhysicsBody.
clearTorque() - Method in class AbstractPhysicsBody
 
clearTorque() - Method in interface PhysicsBody
Clears the last time step's torque on the PhysicsBody.
clearUpdates() - Method in interface BroadphaseDetector
Clears any internal state that tracks what CollisionBody Fixtures have been updated.
clearUpdates() - Method in class BruteForceBroadphase
 
clearUpdates() - Method in class DynamicAABBTree
 
clearUpdates() - Method in class LazyAABBTree
Deprecated.
 
clearUpdates() - Method in class Sap
 
ClippingManifoldSolver - Class in org.dyn4j.collision.manifold
Implementation of a Sutherland-Hodgman clipping ManifoldSolver algorithm.
ClippingManifoldSolver() - Constructor for class ClippingManifoldSolver
 
CoefficientMixer - Interface in org.dyn4j.dynamics
Deprecated.
Deprecated in 4.0.0. Use the CoefficientMixer in the world package instead.
CoefficientMixer - Interface in org.dyn4j.world
Interface used to customize the way friction and restitution coefficients are mixed.
Collidable<T extends Fixture> - Interface in org.dyn4j.collision
Deprecated.
Deprecated in 4.0.0. Use the CollisionBody interface instead.
collision(Body, BodyFixture, Body, BodyFixture) - Method in class CollisionAdapter
Deprecated.
 
collision(Body, BodyFixture, Body, BodyFixture) - Method in interface CollisionListener
Deprecated.
Called when two BodyFixtures are colliding as determined by the BroadphaseDetector.
collision(Body, BodyFixture, Body, BodyFixture, TimeOfImpact) - Method in class TimeOfImpactAdapter
Deprecated.
 
collision(Body, BodyFixture, Body, BodyFixture, TimeOfImpact) - Method in interface TimeOfImpactListener
Deprecated.
Called when a time of impact has been detected between two bodies.
collision(Body, BodyFixture, Body, BodyFixture, Manifold) - Method in class CollisionAdapter
Deprecated.
 
collision(Body, BodyFixture, Body, BodyFixture, Manifold) - Method in interface CollisionListener
Deprecated.
Called when two BodyFixtures are colliding and a contact Manifold has been found.
collision(Body, BodyFixture, Body, BodyFixture, Penetration) - Method in class CollisionAdapter
Deprecated.
 
collision(Body, BodyFixture, Body, BodyFixture, Penetration) - Method in interface CollisionListener
Deprecated.
Called when two BodyFixtures are colliding as determined by the NarrowphaseDetector.
collision(ContactConstraint) - Method in class CollisionAdapter
Deprecated.
 
collision(ContactConstraint) - Method in interface CollisionListener
Deprecated.
Called after a ContactConstraint has been created for a collision.
collision(BroadphaseCollisionData<T, E>) - Method in interface CollisionListener
Called when two Fixtures are colliding as determined by the BroadphaseDetector.
collision(BroadphaseCollisionData<T, E>) - Method in class CollisionListenerAdapter
 
collision(ContactCollisionData<T>, ContactConstraint<T>) - Method in interface ContactListener
Called when two BodyFixtures generating a contact constraint.
collision(ContactCollisionData<T>, ContactConstraint<T>) - Method in class ContactListenerAdapter
 
collision(ManifoldCollisionData<T, E>) - Method in interface CollisionListener
Called when two Fixtures are colliding and a contact Manifold has been found.
collision(ManifoldCollisionData<T, E>) - Method in class CollisionListenerAdapter
 
collision(NarrowphaseCollisionData<T, E>) - Method in interface CollisionListener
Called when two Fixtures are colliding as determined by the NarrowphaseDetector.
collision(NarrowphaseCollisionData<T, E>) - Method in class CollisionListenerAdapter
 
collision(T, BodyFixture, T, BodyFixture, TimeOfImpact) - Method in interface TimeOfImpactListener
Called when a time of impact has been detected between two bodies.
collision(T, BodyFixture, T, BodyFixture, TimeOfImpact) - Method in class TimeOfImpactListenerAdapter
 
CollisionAdapter - Class in org.dyn4j.dynamics
Deprecated.
Deprecated in 4.0.0. Use the CollisionListenerAdapter in the world package instead.
CollisionAdapter() - Constructor for class CollisionAdapter
Deprecated.
 
CollisionBody<T extends Fixture> - Interface in org.dyn4j.collision
Represents an object that can collide with other objects.
CollisionBodyBroadphaseFilter<T extends CollisionBody<E>,​E extends Fixture> - Class in org.dyn4j.world
The default filter for CollisionWorlds that filters Fixtures by their Filters and their enable flags.
CollisionBodyBroadphaseFilter() - Constructor for class CollisionBodyBroadphaseFilter
 
CollisionData<T extends CollisionBody<E>,​E extends Fixture> - Interface in org.dyn4j.world
Represents a container for all the collision information between a CollisionPair.
CollisionItem<T extends CollisionBody<E>,​E extends Fixture> - Interface in org.dyn4j.collision
Represents a grouping of a CollisionBody and Fixture.
CollisionListener - Interface in org.dyn4j.dynamics
Deprecated.
Deprecated in 4.0.0. Use the CollisionListener in the world package instead.
CollisionListener<T extends CollisionBody<E>,​E extends Fixture> - Interface in org.dyn4j.world.listener
Interface to listen for collision events.
CollisionListenerAdapter<T extends CollisionBody<E>,​E extends Fixture> - Class in org.dyn4j.world.listener
Convenience class for implementing the CollisionListener interface.
CollisionListenerAdapter() - Constructor for class CollisionListenerAdapter
 
CollisionPair<T extends CollisionBody<E>,​E extends Fixture> - Interface in org.dyn4j.collision
Represents a collision between two CollisionBody's Fixtures.
Collisions - Class in org.dyn4j.collision
Class used to estimate collision counts and other one-off collision methods and values.
CollisionWorld<T extends CollisionBody<E>,​E extends Fixture,​V extends CollisionData<T,​E>> - Interface in org.dyn4j.world
Represents a world where CollisionBodys are added to participate in collision detection.
compare(Rotation) - Method in class Rotation
Compares this Rotation with another one, based on the angle between them (The one with -π ≤ θ ≤ π) Returns 1 if θ > 0, -1 if θ < 0 and 0 otherwise
compare(Vector2) - Method in class Rotation
Compares this Rotation with a Vector2, based on the angle between them (The one with -π ≤ θ ≤ π) Returns 1 if θ > 0, -1 if θ < 0 and 0 otherwise
compareTo(FallbackCondition) - Method in class AbstractFallbackCondition
 
compareTo(ConvexCastResult) - Method in class ConvexCastResult
Deprecated.
 
compareTo(RaycastResult) - Method in class RaycastResult
Deprecated.
 
compareTo(ConvexCastResult<T, E>) - Method in class ConvexCastResult
 
compareTo(RaycastResult<T, E>) - Method in class RaycastResult
 
compute() - Static method in class Epsilon
Computes an approximation of machine epsilon.
computeAABB(AABB) - Method in class AbstractShape
 
computeAABB(AABB) - Method in interface Shape
Computes the AABB from this Shape and places the result in the given AABB.
computeAABB(Transform, AABB) - Method in class Capsule
 
computeAABB(Transform, AABB) - Method in class Circle
 
computeAABB(Transform, AABB) - Method in class Ellipse
 
computeAABB(Transform, AABB) - Method in class HalfEllipse
 
computeAABB(Transform, AABB) - Method in class Polygon
 
computeAABB(Transform, AABB) - Method in class Rectangle
 
computeAABB(Transform, AABB) - Method in class Segment
 
computeAABB(Transform, AABB) - Method in interface Shape
Computes the AABB from this Shape after applying the given transformation and places the result in the given AABB.
computeAABB(Transform, AABB) - Method in class Slice
 
ConservativeAdvancement - Class in org.dyn4j.collision.continuous
Implements the Conservative Advancement technique to solve for the time of impact.
ConservativeAdvancement() - Constructor for class ConservativeAdvancement
Default constructor.
ConservativeAdvancement(DistanceDetector) - Constructor for class ConservativeAdvancement
Optional constructor.
Constraint - Class in org.dyn4j.dynamics
Deprecated.
Deprecated in 4.0.0. Replacement was not needed.
Constraint(Body, Body) - Constructor for class Constraint
Deprecated.
Full constructor.
ConstraintGraph<T extends PhysicsBody> - Class in org.dyn4j.world
Represents an undirected graph of constraints involving PhysicsBodys with the desire to split the simulation into smaller, solvable chunks.
ConstraintGraph() - Constructor for class ConstraintGraph
Minimal constructor.
ConstraintGraph(int, int) - Constructor for class ConstraintGraph
Full constructor.
ConstraintGraphNode<T extends PhysicsBody> - Class in org.dyn4j.world
Represents a node in the constraint graph.
ConstraintGraphNode(T) - Constructor for class ConstraintGraphNode
Minimal constructor.
Contact - Interface in org.dyn4j.dynamics.contact
Represents a contact of a ContactConstraint.
ContactAdapter - Class in org.dyn4j.dynamics.contact
Deprecated.
Deprecated in 4.0.0. Use the ContactListenerAdapter in the world package instead.
ContactAdapter() - Constructor for class ContactAdapter
Deprecated.
 
ContactCollisionData<T extends PhysicsBody> - Interface in org.dyn4j.world
Interaface for collision data that contains a ContactConstraint.
ContactConstraint<T extends PhysicsBody> - Class in org.dyn4j.dynamics.contact
Represents a SolvableContact constraint for each PhysicsBody pair.
ContactConstraint(CollisionPair<T, BodyFixture>) - Constructor for class ContactConstraint
Full constructor.
ContactConstraint(CollisionPair<T, BodyFixture>, Manifold, double, double) - Constructor for class ContactConstraint
Deprecated.
ContactConstraintId - Class in org.dyn4j.dynamics.contact
Deprecated.
Deprecated in 4.0.0. No longer needed.
ContactConstraintId(PhysicsBody, BodyFixture, PhysicsBody, BodyFixture) - Constructor for class ContactConstraintId
Deprecated.
Full constructor.
ContactConstraintSolver<T extends PhysicsBody> - Interface in org.dyn4j.dynamics.contact
Represents an impulse/velocity based rigid PhysicsBody collision resolver.
ContactListener - Interface in org.dyn4j.dynamics.contact
Deprecated.
Deprecated in 4.0.0. Use the ContactListener in the world package instead.
ContactListener<T extends PhysicsBody> - Interface in org.dyn4j.world.listener
Represents an object that is notified of contact events.
ContactListenerAdapter<T extends PhysicsBody> - Class in org.dyn4j.world.listener
Convenience class for implementing the ContactListener interface.
ContactListenerAdapter() - Constructor for class ContactListenerAdapter
 
ContactManager - Interface in org.dyn4j.dynamics.contact
Deprecated.
Deprecated in 4.0.0. No longer needed.
ContactPoint - Class in org.dyn4j.dynamics.contact
Deprecated.
Deprecated in 4.0.0. Use the Contact or SolvedContact interfaces instead.
ContactPoint(ContactConstraint<? extends PhysicsBody>, Contact) - Constructor for class ContactPoint
Deprecated.
Helper constructor for a contact constraint and contact.
ContactPoint(ContactPoint) - Constructor for class ContactPoint
Deprecated.
Copy constructor (shallow).
ContactPoint(ContactPointId, PhysicsBody, BodyFixture, PhysicsBody, BodyFixture, Vector2, Vector2, double, boolean) - Constructor for class ContactPoint
Deprecated.
Full constructor.
ContactPointId - Class in org.dyn4j.dynamics.contact
Deprecated.
Deprecated in 4.0.0. No longer needed.
ContactPointId(ContactConstraintId, ManifoldPointId) - Constructor for class ContactPointId
Deprecated.
Full constructor.
ContactUpdateHandler - Interface in org.dyn4j.dynamics.contact
This interface defines the mechanism to report begin, persist, and end events and the method of mixing the friction and restitution coefficients.
contains(double, double) - Method in class AABB
Returns true if the given point's coordinates are contained within this AABB.
contains(E) - Method in class BinarySearchTree
Attempts to find the given comparable object within the tree.
contains(CollisionItem<T, E>) - Method in interface BroadphaseDetector
Returns true if the given Fixture on the given CollisionBody has been added to this broadphase.
contains(CollisionItem<T, E>) - Method in class BruteForceBroadphase
 
contains(CollisionItem<T, E>) - Method in class DynamicAABBTree
 
contains(CollisionItem<T, E>) - Method in class LazyAABBTree
Deprecated.
 
contains(CollisionItem<T, E>) - Method in class Sap
 
contains(AABB) - Method in class AABB
Returns true if the given AABB is contained within this AABB.
contains(Interval) - Method in class Interval
Returns true if the given Interval is contained in this Interval.
contains(Vector2) - Method in class AbstractCollisionBody
 
contains(Vector2) - Method in interface CollisionBody
Returns true if the given world space point is contained in this CollisionBody.
contains(Vector2) - Method in class AABB
Returns true if the given point is contained within this AABB.
contains(Vector2) - Method in class AbstractShape
 
contains(Vector2) - Method in interface Shape
Returns true if the given point is inside this Shape.
contains(Vector2, Transform) - Method in class Capsule
 
contains(Vector2, Transform) - Method in class Circle
 
contains(Vector2, Transform) - Method in class Ellipse
 
contains(Vector2, Transform) - Method in class HalfEllipse
 
contains(Vector2, Transform) - Method in class Polygon
 
contains(Vector2, Transform) - Method in class Rectangle
 
contains(Vector2, Transform) - Method in class Segment
Returns true if the given point is inside this Shape.
contains(Vector2, Transform) - Method in interface Shape
Returns true if the given point is inside this Shape.
contains(Vector2, Transform) - Method in class Slice
 
contains(Vector2, Transform) - Method in class Triangle
Returns true if the point is inside the Triangle.
contains(Vector2, Transform, double) - Method in class Segment
Returns true if the given point is inside this Shape.
contains(T) - Method in class AbstractBroadphaseDetector
 
contains(T) - Method in interface BroadphaseDetector
Returns true if all the Fixtures on the given CollisionBody have been added to this broad-phase.
contains(T, E) - Method in interface BroadphaseDetector
Returns true if the given Fixture on the given CollisionBody has been added to this broadphase.
contains(T, E) - Method in class BruteForceBroadphase
 
contains(T, E) - Method in class DynamicAABBTree
 
contains(T, E) - Method in class LazyAABBTree
Deprecated.
 
contains(T, E) - Method in class Sap
 
containsBody(Body) - Method in class World
Deprecated.
Returns true if this world contains the given body.
containsBody(T) - Method in class AbstractCollisionWorld
 
containsBody(T) - Method in interface CollisionWorld
Returns true if this world contains the given body.
containsBody(T) - Method in class ConstraintGraph
Returns true if the given body is part of the interaction graph.
containsCondition(FallbackCondition) - Method in class FallbackNarrowphaseDetector
Returns true if the given condition is contained in this detector.
containsContactConstraint(ContactConstraint<T>) - Method in class ConstraintGraph
Returns true if the given contact constraint exists in this interaction graph.
containsFixture(T) - Method in class AbstractCollisionBody
 
containsFixture(T) - Method in interface CollisionBody
Returns true if this CollisionBody contains the given Fixture.
containsJoint(Joint) - Method in class World
Deprecated.
Returns true if this world contains the given joint.
containsJoint(Joint<T>) - Method in class AbstractPhysicsWorld
 
containsJoint(Joint<T>) - Method in class ConstraintGraph
Returns true if the given joint exists in this interaction graph.
containsJoint(Joint<T>) - Method in interface PhysicsWorld
Returns true if this world contains the given joint.
containsListener(Listener) - Method in class World
Deprecated.
Returns true if the given listener is already attached to this world.
ContinuousDetectionMode - Enum in org.dyn4j.dynamics
Enumeration of Continuous Collision Detection modes.
Convex - Interface in org.dyn4j.geometry
Represents a Convex Shape.
convexCast(Convex, Transform, Vector2, boolean, boolean, boolean, List<ConvexCastResult>) - Method in class World
Deprecated.
Performs a linear convex cast on the world, placing any detected collisions into the given results list.
convexCast(Convex, Transform, Vector2, boolean, boolean, List<ConvexCastResult>) - Method in class World
Deprecated.
Performs a linear convex cast on the world, placing any detected collisions into the given results list.
convexCast(Convex, Transform, Vector2, double, boolean, boolean, boolean, List<ConvexCastResult>) - Method in class World
Deprecated.
Performs a linear convex cast on the world, placing any detected collisions into the given results list.
convexCast(Convex, Transform, Vector2, double, boolean, boolean, List<ConvexCastResult>) - Method in class World
Deprecated.
Performs a linear convex cast on the world, placing any detected collisions into the given results list.
convexCast(Convex, Transform, Vector2, double, Filter, boolean, boolean, boolean, List<ConvexCastResult>) - Method in class World
Deprecated.
Performs a linear convex cast on the world, placing any detected collisions into the given results list.
convexCast(Convex, Transform, Vector2, double, Body, boolean, ConvexCastResult) - Method in class World
Deprecated.
Performs a linear convex cast on the given body, placing a detected collision into the given result object.
convexCast(Convex, Transform, Vector2, double, Body, Filter, boolean, ConvexCastResult) - Method in class World
Deprecated.
Performs a linear convex cast on the given body, placing a detected collision into the given result object.
convexCast(Convex, Transform, Vector2, double, DetectFilter<T, E>) - Method in class AbstractCollisionWorld
 
convexCast(Convex, Transform, Vector2, double, DetectFilter<T, E>) - Method in interface CollisionWorld
Returns a list of ConvexCastResults containing all the body-fixtures that overlap with the given Convex over the given deltaPosition and deltaAngle using the current state of the BroadphaseDetector.
convexCast(Convex, Transform, Vector2, Body, boolean, ConvexCastResult) - Method in class World
Deprecated.
Performs a linear convex cast on the given body, placing a detected collision into the given result object.
ConvexCastAdapter - Class in org.dyn4j.dynamics
Deprecated.
Deprecated in 4.0.0. Use the iterator methods in the World class instead.
ConvexCastAdapter() - Constructor for class ConvexCastAdapter
Deprecated.
 
convexCastClosest(Convex, Transform, Vector2, double, DetectFilter<T, E>) - Method in class AbstractCollisionWorld
 
convexCastClosest(Convex, Transform, Vector2, double, DetectFilter<T, E>) - Method in interface CollisionWorld
Returns the closest ConvexCastResult that overlaps with the given Convex over the given deltaPosition and deltaAngle using the current state of the BroadphaseDetector.
convexCastClosest(Convex, Transform, Vector2, double, T, DetectFilter<T, E>) - Method in class AbstractCollisionWorld
 
convexCastClosest(Convex, Transform, Vector2, double, T, DetectFilter<T, E>) - Method in interface CollisionWorld
Returns the closest ConvexCastResult that overlaps with the given Convex over the given deltaPosition and deltaAngle only testing against the given CollisionBody.
convexCastIterator(Convex, Transform, Vector2, double, DetectFilter<T, E>) - Method in class AbstractCollisionWorld
 
convexCastIterator(Convex, Transform, Vector2, double, DetectFilter<T, E>) - Method in interface CollisionWorld
Returns an iterator of ConvexCastResults containing all the body-fixtures that overlap with the given Convex over the given deltaPosition and deltaAngle using the current state of the BroadphaseDetector.
ConvexCastListener - Interface in org.dyn4j.dynamics
Deprecated.
Deprecated in 4.0.0. Use the iterator methods in the World class instead.
ConvexCastResult - Class in org.dyn4j.dynamics
Deprecated.
Deprecated in 4.0.0. Use the ConvexCastResult in the world package instead.
ConvexCastResult<T extends CollisionBody<E>,​E extends Fixture> - Class in org.dyn4j.world.result
Represents a reusable DetectResult for convex casting.
ConvexCastResult() - Constructor for class ConvexCastResult
Deprecated.
Default constructor.
ConvexCastResult() - Constructor for class ConvexCastResult
Default constructor.
ConvexCastResult(Body, BodyFixture, TimeOfImpact) - Constructor for class ConvexCastResult
Deprecated.
Full constructor.
ConvexDetectResult<T extends CollisionBody<E>,​E extends Fixture> - Class in org.dyn4j.world.result
Represents a reusable DetectResult for convex shape detection.
ConvexDetectResult() - Constructor for class ConvexDetectResult
Default constructor.
copy() - Method in class BasicCollisionItem
 
copy() - Method in class BasicCollisionPair
 
copy() - Method in class TimeOfImpact
 
copy() - Method in class Manifold
 
copy() - Method in class ManifoldPoint
 
copy() - Method in class Penetration
 
copy() - Method in class Raycast
 
copy() - Method in class Separation
 
copy() - Method in interface Copyable
Returns a deep copy of this object.
copy() - Method in class Settings
Creates a deep copy of this settings object.
copy() - Method in class AABB
 
copy() - Method in class Mass
 
copy() - Method in class Matrix22
 
copy() - Method in class Matrix33
 
copy() - Method in class Rotation
 
copy() - Method in class Transform
 
copy() - Method in class Vector2
 
copy() - Method in class Vector3
 
copy() - Method in class ConvexCastResult
 
copy() - Method in class ConvexDetectResult
 
copy() - Method in class DetectResult
 
copy() - Method in class RaycastResult
 
copy(TimeOfImpact) - Method in class TimeOfImpact
Copies (deep) the given TimeOfImpact to this TimeOfImpact.
copy(Manifold) - Method in class Manifold
Copies (deep) the given Manifold to this Manifold.
copy(ManifoldPoint) - Method in class ManifoldPoint
Copies (deep) the given ManifoldPoint to this ManifoldPoint.
copy(Penetration) - Method in class Penetration
Copies (deep) the given Penetration information to this Penetration.
copy(Raycast) - Method in class Raycast
Copies (deep) the given Raycast information to this Raycast.
copy(Separation) - Method in class Separation
Copies (deep) the given Separation information to this Separation.
copy(Settings) - Method in class Settings
Copies all the settings from the given settings to this settings.
copy(ConvexCastResult<T, E>) - Method in class ConvexCastResult
Copies (deep) the given result to this result.
copy(ConvexDetectResult<T, E>) - Method in class ConvexDetectResult
Copies (deep) the given result data to this result.
copy(DetectResult<T, E>) - Method in class DetectResult
Copies (deep) the given result to this result.
copy(RaycastResult<T, E>) - Method in class RaycastResult
Copies (deep) the given result to this result.
Copyable<T extends Copyable<? extends T>> - Interface in org.dyn4j
Simple interface to support deep copying of objects.
create(double, double) - Static method in class Vector2
Returns a new Vector2 given the magnitude and direction.
create(List<Mass>) - Static method in class Mass
Creates a Mass object from the given array of masses.
createAABB() - Method in class AbstractCollisionBody
 
createAABB() - Method in interface CollisionBody
Creates an AABB from this CollisionBody's attached Fixtures.
createAABB() - Method in class AbstractShape
 
createAABB() - Method in interface Shape
Creates an AABB from this Shape.
createAABB(Transform) - Method in class AbstractCollisionBody
 
createAABB(Transform) - Method in interface CollisionBody
Creates an AABB from this CollisionBody's attached Fixtures using the given world space Transform.
createAABB(Transform) - Method in class AbstractShape
 
createAABB(Transform) - Method in class Segment
Creates an AABB from this Shape after applying the given transformation to the shape.
createAABB(Transform) - Method in interface Shape
Creates an AABB from this Shape after applying the given transformation to the shape.
createAABBFromPoints(double, double, double, double) - Static method in class AABB
Method to create the valid AABB defined by the two points A(point1x, point1y) and B(point2x, point2y).
createAABBFromPoints(Vector2, Vector2) - Static method in class AABB
Method to create the valid AABB defined by the two points point1 and point2.
createCapsule(double, double) - Static method in class Geometry
Creates a new Capsule bounded by the given rectangle width and height.
createCircle(double) - Static method in class Geometry
Returns a new Circle with the given radius centered on the origin.
createEllipse(double, double) - Static method in class Geometry
Creates a new Ellipse bounded by the given rectangle width and height.
createEquilateralTriangle(double) - Static method in class Geometry
Creates an equilateral Triangle with the center at the origin.
createHalfEllipse(double, double) - Static method in class Geometry
Creates a new HalfEllipse bounded by the given rectangle width and height.
createHalfEllipseAtOrigin(double, double) - Static method in class Geometry
Creates a new HalfEllipse bounded by the given rectangle width and height.
createHorizontalSegment(double) - Static method in class Geometry
Creates a new Segment with the given length with the center at the origin.
createIsoscelesTriangle(double, double) - Static method in class Geometry
Creates an isosceles Triangle with the center at the origin.
createLinks(List<Vector2>, boolean) - Static method in class Geometry
Creates a list of Links for the given vertices.
createLinks(Vector2[], boolean) - Static method in class Geometry
Creates a Link chain for the given vertices.
createMass() - Method in class BodyFixture
Creates a new Mass object using the set density and shape.
createMass(double) - Method in class Capsule
 
createMass(double) - Method in class Circle
Creates a Mass object using the geometric properties of this Shape and the given density.
createMass(double) - Method in class Ellipse
 
createMass(double) - Method in class HalfEllipse
 
createMass(double) - Method in class Polygon
Creates a Mass object using the geometric properties of this Polygon and the given density.
createMass(double) - Method in class Rectangle
Creates a Mass object using the geometric properties of this Rectangle and the given density.
createMass(double) - Method in class Segment
Creates a Mass object using the geometric properties of this Segment and the given density.
createMass(double) - Method in interface Shape
Creates a Mass object using the geometric properties of this Shape and the given density.
createMass(double) - Method in class Slice
 
createPolygon(Vector2...) - Static method in class Geometry
Returns a new Polygon with the given vertices.
createPolygonalCapsule(int, double, double) - Static method in class Geometry
Creates a new Polygon in the shape of a capsule using count number of vertices on each cap, centered on the origin.
createPolygonalCircle(int, double) - Static method in class Geometry
Creates a new Polygon in the shape of a circle with count number of vertices centered on the origin.
createPolygonalCircle(int, double, double) - Static method in class Geometry
Creates a new Polygon in the shape of a circle with count number of vertices centered on the origin.
createPolygonalEllipse(int, double, double) - Static method in class Geometry
Creates a new Polygon in the shape of an ellipse with count number of vertices centered on the origin.
createPolygonalHalfEllipse(int, double, double) - Static method in class Geometry
Creates a new Polygon in the shape of a half ellipse with count number of vertices with the base at the origin.
createPolygonalHalfEllipseAtOrigin(int, double, double) - Static method in class Geometry
Creates a new Polygon in the shape of a half ellipse with count number of vertices centered on the origin.
createPolygonalSlice(int, double, double) - Static method in class Geometry
Creates a new Polygon in the shape of a Slice with count number of vertices with the circle center centered on the origin.
createPolygonalSliceAtOrigin(int, double, double) - Static method in class Geometry
Creates a new Polygon in the shape of a Slice with count number of vertices centered on the origin.
createPolygonAtOrigin(Vector2...) - Static method in class Geometry
Returns a new Polygon, using the given vertices, centered at the origin.
createRectangle(double, double) - Static method in class Geometry
Creates a new Rectangle with the given width and height centered at the origin.
createRightTriangle(double, double) - Static method in class Geometry
Creates a right angle Triangle with the center at the origin.
createRightTriangle(double, double, boolean) - Static method in class Geometry
Creates a right angle Triangle with the center at the origin.
createSegment(Vector2) - Static method in class Geometry
Creates a new Segment from the origin to the given end point
createSegment(Vector2, Vector2) - Static method in class Geometry
Creates a new Segment with the given points.
createSegmentAtOrigin(Vector2, Vector2) - Static method in class Geometry
Creates a new Segment with the given points.
createSlice(double, double) - Static method in class Geometry
Creates a new Slice with the given circle radius and arc length theta.
createSliceAtOrigin(double, double) - Static method in class Geometry
Creates a new Slice with the given circle radius and arc length theta.
createSquare(double) - Static method in class Geometry
Creates a square (equal height and width Rectangle) with the given size centered at the origin.
createSweptAABB() - Method in class AbstractPhysicsBody
 
createSweptAABB() - Method in interface PhysicsBody
Returns an AABB that contains the maximal space in which the CollisionBody exists from the initial transform to the final transform.
createSweptAABB(Transform, Transform) - Method in class AbstractPhysicsBody
 
createSweptAABB(Transform, Transform) - Method in interface PhysicsBody
Creates a swept AABB from the given start and end Transforms using the fixtures on this PhysicsBody.
createTriangle(Vector2, Vector2, Vector2) - Static method in class Geometry
Creates a new Triangle, using the given points.
createTriangleAtOrigin(Vector2, Vector2, Vector2) - Static method in class Geometry
Creates a new Triangle with the given points centered at the origin.
createUnitCirclePolygon(int, double) - Static method in class Geometry
Returns a new Polygon with count number of points, where the points are evenly distributed around the unit circle.
createUnitCirclePolygon(int, double, double) - Static method in class Geometry
Returns a new Polygon with count number of points, where the points are evenly distributed around the unit circle.
createVerticalSegment(double) - Static method in class Geometry
Creates a new Segment with the given length with the center at the origin.
cross(double) - Method in class Vector2
Returns the cross product of this Vector2 and the z value of the right Vector2.
cross(double, double) - Method in class Vector2
Returns the cross product of the this Vector2 and the given Vector2.
cross(double, double, double) - Method in class Vector3
Returns the cross product of the this Vector3 and the given Vector3.
cross(double, double, double, double) - Static method in class RobustGeometry
Performs cross product on four primitives and also allocates a new AdaptiveDecimal with the appropriate capacity to store the result.
cross(double, double, double, double, AdaptiveDecimal) - Static method in class RobustGeometry
Performs the cross product of two vectors a, b, that is ax * by - ay * bx but with extended precision and stores the 4 component result in the given AdaptiveDecimal result.
cross(Rotation) - Method in class Rotation
Returns the cross product of the this Rotation and the given Rotation which is essentially the sine of the angle between those rotations.
cross(Vector2) - Method in class Vector2
Returns the cross product of the this Vector2 and the given Vector2.
cross(Vector3) - Method in class Vector3
Returns the cross product of the this Vector3 and the given Vector3.

D

DataContainer - Interface in org.dyn4j
Represents an object that can store an arbitrary user data object.
decompose(Vector2...) - Method in class Bayazit
 
decompose(Vector2...) - Method in interface Decomposer
Performs the decomposition on the given polygon returning a list of Convex shapes.
decompose(Vector2...) - Method in class EarClipping
 
decompose(Vector2...) - Method in class SweepLine
 
Decomposer - Interface in org.dyn4j.geometry.decompose
Represents an algorithm to decompose a given polygon (as a list of points) into Convex pieces.
DEFAULT_AABB_EXPANSION - Static variable in interface BroadphaseDetector
The default AABB expansion value
DEFAULT_ANGULAR_DAMPING - Static variable in interface PhysicsBody
The default angular damping; value = PhysicsBody.DEFAULT_ANGULAR_DAMPING
DEFAULT_ANGULAR_TOLERANCE - Static variable in class Settings
The default angular tolerance; in radians
DEFAULT_BAUMGARTE - Static variable in class Settings
The default baumgarte
DEFAULT_BODY_COUNT - Static variable in class Capacity
Deprecated.
The default Body count
DEFAULT_CAPACITY - Static variable in class Capacity
Deprecated.
The default capacity
DEFAULT_DENSITY - Static variable in class BodyFixture
The default density in kg/m2; value = BodyFixture.DEFAULT_DENSITY
DEFAULT_DETECT_EPSILON - Static variable in class Gjk
The default epsilon in meters for collision detection
DEFAULT_DISTANCE_EPSILON - Static variable in class ConservativeAdvancement
The default distance epsilon
DEFAULT_DISTANCE_EPSILON - Static variable in class Epa
The default Epa distance epsilon in meters; near 1E-8
DEFAULT_DISTANCE_EPSILON - Static variable in class Gjk
The default epsilon in meters for distance checks
DEFAULT_FILTER - Static variable in interface Filter
The default filter which always returns true
DEFAULT_FRICTION - Static variable in class BodyFixture
The default coefficient of friction; value = BodyFixture.DEFAULT_FRICTION
DEFAULT_INITIAL_BODY_CAPACITY - Static variable in interface CollisionWorld
The default CollisionBody count
DEFAULT_INITIAL_CAPACITY - Static variable in interface BroadphaseDetector
The default initial capacity of fixtures
DEFAULT_INITIAL_JOINT_CAPACITY - Static variable in interface PhysicsWorld
The default CollisionBody count
DEFAULT_JOINT_COUNT - Static variable in class Capacity
Deprecated.
The default Joint count
DEFAULT_LINEAR_DAMPING - Static variable in interface PhysicsBody
The default linear damping; value = PhysicsBody.DEFAULT_LINEAR_DAMPING
DEFAULT_LINEAR_TOLERANCE - Static variable in class Settings
The default linear tolerance; in meters
DEFAULT_LISTENER_COUNT - Static variable in class Capacity
Deprecated.
The default Listener count
DEFAULT_MAX_ITERATIONS - Static variable in class ConservativeAdvancement
The default maximum number of iterations
DEFAULT_MAX_ITERATIONS - Static variable in class Epa
The default Epa maximum iterations
DEFAULT_MAX_ITERATIONS - Static variable in class Gjk
The default Gjk maximum iterations
DEFAULT_MAXIMUM_ANGULAR_CORRECTION - Static variable in class Settings
The default maximum angular correction; in radians
DEFAULT_MAXIMUM_AT_REST_ANGULAR_VELOCITY - Static variable in class Settings
The default maximum angular velocity for a PhysicsBody to be flagged as at-rest; in radians/second
DEFAULT_MAXIMUM_AT_REST_LINEAR_VELOCITY - Static variable in class Settings
The default maximum velocity for a PhysicsBody to be flagged as at-rest; in meters/second
DEFAULT_MAXIMUM_LINEAR_CORRECTION - Static variable in class Settings
The default maximum linear correction; in meters
DEFAULT_MAXIMUM_ROTATION - Static variable in class Settings
The default maximum rotation a PhysicsBody can have in one time step; in radians
DEFAULT_MAXIMUM_TRANSLATION - Static variable in class Settings
The default maximum translation a PhysicsBody can have in one time step; in meters
DEFAULT_MAXIMUM_WARM_START_DISTANCE - Static variable in class Settings
The default warm starting distance; in meters2
DEFAULT_MINIMUM_AT_REST_TIME - Static variable in class Settings
The default required time a PhysicsBody must maintain small motion to be flagged as at-rest; in seconds
DEFAULT_MIXER - Static variable in interface CoefficientMixer
Deprecated.
The default dynamics mixer
DEFAULT_MIXER - Static variable in interface CoefficientMixer
The default dynamics mixer
DEFAULT_RAYCAST_EPSILON - Static variable in class Gjk
The default epsilon in meters for raycast checks
DEFAULT_RESTITUTION - Static variable in class BodyFixture
The default coefficient of restitution; value = BodyFixture.DEFAULT_RESTITUTION
DEFAULT_RESTITUTION_VELOCITY - Static variable in class Settings
The default restitution velocity; in meters/second
DEFAULT_SLEEP_ANGULAR_VELOCITY - Static variable in class Settings
Deprecated.
Deprecated in 4.0.0. Use Settings.DEFAULT_MAXIMUM_AT_REST_ANGULAR_VELOCITY instead.
DEFAULT_SLEEP_LINEAR_VELOCITY - Static variable in class Settings
Deprecated.
Deprecated in 4.0.0. Use Settings.DEFAULT_MAXIMUM_AT_REST_LINEAR_VELOCITY instead.
DEFAULT_SLEEP_TIME - Static variable in class Settings
Deprecated.
Deprecated in 4.0.0. Use Settings.DEFAULT_MINIMUM_AT_REST_TIME instead.
DEFAULT_SOLVER_ITERATIONS - Static variable in class Settings
The default number of solver iterations
DEFAULT_STEP_FREQUENCY - Static variable in class Settings
The default step frequency of the dynamics engine; in seconds
DEFAULT_WARM_START_DISTANCE - Static variable in class Settings
Deprecated.
Deprecated in 4.0.0. Use Settings.DEFAULT_MAXIMUM_WARM_START_DISTANCE instead.
DefaultBroadphaseFilter<T extends CollisionBody<E>,​E extends Fixture> - Class in org.dyn4j.collision.broadphase
Deprecated.
Deprecated in 4.0.0. Use the DefaultBroadphaseFilter in the world package instead.
DefaultBroadphaseFilter() - Constructor for class DefaultBroadphaseFilter
Deprecated.
 
DefaultContactManager - Class in org.dyn4j.dynamics.contact
Deprecated.
Deprecated in 4.0.0. No longer needed.
DefaultContactManager() - Constructor for class DefaultContactManager
Deprecated.
Default constructor.
DefaultContactManager(Capacity) - Constructor for class DefaultContactManager
Deprecated.
Full constructor.
destroyed(Body) - Method in class DestructionAdapter
Deprecated.
 
destroyed(Body) - Method in interface DestructionListener
Deprecated.
Called when implicit destruction of a Body has occurred.
destroyed(ContactConstraint<T>) - Method in interface DestructionListener
Called when implicit destruction of a ContactConstraint has occurred.
destroyed(ContactConstraint<T>) - Method in class DestructionListenerAdapter
 
destroyed(ContactPoint) - Method in class DestructionAdapter
Deprecated.
 
destroyed(ContactPoint) - Method in interface DestructionListener
Deprecated.
Called when implicit destruction of a ContactConstraint has occurred.
destroyed(Joint) - Method in class DestructionAdapter
Deprecated.
 
destroyed(Joint) - Method in interface DestructionListener
Deprecated.
Called when implicit destruction of a Joint has occurred.
destroyed(Joint<T>) - Method in interface DestructionListener
Called when implicit destruction of a Joint has occurred.
destroyed(Joint<T>) - Method in class DestructionListenerAdapter
 
destroyed(ContactCollisionData<T>, Contact) - Method in interface ContactListener
Called when a body or fixture is removed from the world that had existing contacts.
destroyed(ContactCollisionData<T>, Contact) - Method in class ContactListenerAdapter
 
destroyed(T) - Method in interface DestructionListener
Called when implicit destruction of a PhysicsBody has occurred.
destroyed(T) - Method in class DestructionListenerAdapter
 
DestructionAdapter - Class in org.dyn4j.dynamics
Deprecated.
Deprecated in 4.0.0. Use the DestructionListenerAdapter in the world package instead.
DestructionAdapter() - Constructor for class DestructionAdapter
Deprecated.
 
DestructionListener - Interface in org.dyn4j.dynamics
Deprecated.
Deprecated in 4.0.0. Use the DestructionListener in the world package instead.
DestructionListener<T extends PhysicsBody> - Interface in org.dyn4j.world.listener
Interface to listen for implicit destruction events.
DestructionListenerAdapter<T extends PhysicsBody> - Class in org.dyn4j.world.listener
Convenience class for implementing the DestructionListener interface.
DestructionListenerAdapter() - Constructor for class DestructionListenerAdapter
 
detect() - Method in class AbstractBroadphaseDetector
 
detect() - Method in interface BroadphaseDetector
Performs collision detection on all CollisionBody Fixtures that have been added to this BroadphaseDetector and returns the list of potential pairs.
detect(boolean) - Method in class AbstractBroadphaseDetector
 
detect(boolean) - Method in interface BroadphaseDetector
Performs collision detection on CollisionBody Fixtures that have been added to this BroadphaseDetector and returns the list of potential pairs.
detect(BroadphaseFilter<T, E>) - Method in class AbstractBroadphaseDetector
Deprecated.
detect(BroadphaseFilter<T, E>) - Method in interface BroadphaseDetector
Deprecated.
Deprecated in 4.0.0. Use the BroadphaseDetector.detect() method instead.
detect(BroadphaseFilter<T, E>) - Method in class LazyAABBTree
Deprecated.
detect(AABB) - Method in class AbstractBroadphaseDetector
 
detect(AABB) - Method in interface BroadphaseDetector
Performs a broad-phase collision test using the given AABB and returns the items that overlap.
detect(AABB, boolean, boolean, List<DetectResult>) - Method in class World
Deprecated.
Returns true if the given AABB overlaps a Body in this World.
detect(AABB, boolean, List<DetectResult>) - Method in class World
Deprecated.
Returns true if the given AABB overlaps a Body Fixture in this World.
detect(AABB, List<DetectResult>) - Method in class World
Deprecated.
Returns true if the given AABB overlaps a Body in this World.
detect(AABB, BroadphaseFilter<T, E>) - Method in class AbstractBroadphaseDetector
Deprecated.
detect(AABB, BroadphaseFilter<T, E>) - Method in interface BroadphaseDetector
Deprecated.
Deprecated in 4.0.0. Use the BroadphaseDetector.detect(AABB) method instead
detect(AABB, BroadphaseFilter<T, E>) - Method in class LazyAABBTree
Deprecated.
detect(AABB, Filter, boolean, boolean, List<DetectResult>) - Method in class World
Deprecated.
Returns true if the given AABB overlaps a Body in this World.
detect(AABB, Body, boolean, List<DetectResult>) - Method in class World
Deprecated.
Returns true if the given AABB overlaps the given body in the world.
detect(AABB, Body, Filter, boolean, List<DetectResult>) - Method in class World
Deprecated.
Returns true if the given AABB overlaps the given body in the world.
detect(AABB, DetectFilter<T, E>) - Method in class AbstractCollisionWorld
 
detect(AABB, DetectFilter<T, E>) - Method in interface CollisionWorld
Returns a list of DetectResults containing all the body-fixtures that overlap with the given AABB using the current state of the BroadphaseDetector.
detect(AABB, T, DetectFilter<T, E>) - Method in class AbstractCollisionWorld
 
detect(AABB, T, DetectFilter<T, E>) - Method in interface CollisionWorld
Returns a list of DetectResults containing all the body-fixtures that overlap with the given AABB using the current state of the BroadphaseDetector, only testing against the given CollisionBody.
detect(Circle, Transform, Circle, Transform) - Static method in class CircleDetector
Fast method for determining a collision between two Circles.
detect(Circle, Transform, Circle, Transform, Penetration) - Static method in class CircleDetector
Fast method for determining a collision between two Circles.
detect(Convex, boolean, boolean, List<DetectResult>) - Method in class World
Deprecated.
Returns true if the given Convex overlaps a body in the world.
detect(Convex, boolean, List<DetectResult>) - Method in class World
Deprecated.
Returns true if the given Convex overlaps a body in the world.
detect(Convex, List<DetectResult>) - Method in class World
Deprecated.
Returns true if the given Convex overlaps a body in the world.
detect(Convex, Filter, boolean, boolean, boolean, List<DetectResult>) - Method in class World
Deprecated.
Returns true if the given Convex overlaps a body in the world.
detect(Convex, Filter, boolean, boolean, List<DetectResult>) - Method in class World
Deprecated.
Returns true if the given Convex overlaps a body in the world.
detect(Convex, Body, boolean, List<DetectResult>) - Method in class World
Deprecated.
Returns true if the given Convex overlaps the given body in the world.
detect(Convex, Body, Filter, boolean, boolean, List<DetectResult>) - Method in class World
Deprecated.
Returns true if the given Convex overlaps the given body in the world.
detect(Convex, Body, Filter, boolean, List<DetectResult>) - Method in class World
Deprecated.
Returns true if the given Convex overlaps the given body in the world.
detect(Convex, Transform, boolean, boolean, List<DetectResult>) - Method in class World
Deprecated.
Returns true if the given Convex overlaps a body in the world.
detect(Convex, Transform, boolean, List<DetectResult>) - Method in class World
Deprecated.
Returns true if the given Convex overlaps a body in the world.
detect(Convex, Transform, List<DetectResult>) - Method in class World
Deprecated.
Returns true if the given Convex overlaps a body in the world.
detect(Convex, Transform, Filter, boolean, boolean, boolean, List<DetectResult>) - Method in class World
Deprecated.
Returns true if the given Convex overlaps a body in the world.
detect(Convex, Transform, Filter, boolean, boolean, List<DetectResult>) - Method in class World
Deprecated.
Returns true if the given Convex overlaps a body in the world.
detect(Convex, Transform, Body, boolean, List<DetectResult>) - Method in class World
Deprecated.
Returns true if the given Convex overlaps the given body in the world.
detect(Convex, Transform, Body, Filter, boolean, boolean, List<DetectResult>) - Method in class World
Deprecated.
Returns true if the given Convex overlaps the given body in the world.
detect(Convex, Transform, Body, Filter, boolean, List<DetectResult>) - Method in class World
Deprecated.
Returns true if the given Convex overlaps the given body in the world.
detect(Convex, Transform, Convex, Transform) - Method in class AbstractBroadphaseDetector
 
detect(Convex, Transform, Convex, Transform) - Method in interface BroadphaseDetector
Returns true if this broad-phase detector considers the given Convex Shapes to be in collision.
detect(Convex, Transform, Convex, Transform) - Method in class FallbackNarrowphaseDetector
 
detect(Convex, Transform, Convex, Transform) - Method in class Gjk
 
detect(Convex, Transform, Convex, Transform) - Method in interface NarrowphaseDetector
Returns true if the two Convex Shapes intersect.
detect(Convex, Transform, Convex, Transform) - Method in class Sat
 
detect(Convex, Transform, Convex, Transform, Penetration) - Method in class FallbackNarrowphaseDetector
 
detect(Convex, Transform, Convex, Transform, Penetration) - Method in class Gjk
 
detect(Convex, Transform, Convex, Transform, Penetration) - Method in interface NarrowphaseDetector
Returns true if the two Convex Shapes intersect and fills the Penetration object with the penetration vector and depth.
detect(Convex, Transform, Convex, Transform, Penetration) - Method in class Sat
 
detect(Convex, Transform, DetectFilter<T, E>) - Method in class AbstractCollisionWorld
 
detect(Convex, Transform, DetectFilter<T, E>) - Method in interface CollisionWorld
Returns a list of ConvexDetectResults containing all the body-fixtures that overlap with the given Convex using the current state of the BroadphaseDetector.
detect(Convex, Transform, T, DetectFilter<T, E>) - Method in class AbstractCollisionWorld
 
detect(Convex, Transform, T, DetectFilter<T, E>) - Method in interface CollisionWorld
Returns a list of ConvexDetectResults containing all the body-fixtures that overlapped with the given Convex using the current state of the BroadphaseDetector, only testing against the given CollisionBody.
detect(T, T) - Method in class AbstractBroadphaseDetector
 
detect(T, T) - Method in interface BroadphaseDetector
Returns true if this broad-phase detector considers the given bodies to be in collision.
DetectAdapter - Class in org.dyn4j.dynamics
Deprecated.
Deprecated in 4.0.0. Use the iterator methods in the World class instead.
DetectAdapter() - Constructor for class DetectAdapter
Deprecated.
 
DetectBroadphaseFilter - Class in org.dyn4j.dynamics
Deprecated.
Deprecated in 4.0.0. Use the DetectBroadphaseFilter in the world package instead.
DetectBroadphaseFilter() - Constructor for class DetectBroadphaseFilter
Deprecated.
 
DetectFilter<T extends CollisionBody<E>,​E extends Fixture> - Class in org.dyn4j.world
Represents the filters for queries against a CollisionWorld.
DetectFilter(boolean, boolean, Filter) - Constructor for class DetectFilter
Minimal constructor.
detectIterator(boolean) - Method in interface BroadphaseDetector
Performs collision detection on all CollisionBody Fixtures that have been added to this BroadphaseDetector and returns the list of potential pairs.
detectIterator(boolean) - Method in class BruteForceBroadphase
 
detectIterator(boolean) - Method in class DynamicAABBTree
 
detectIterator(boolean) - Method in class LazyAABBTree
Deprecated.
 
detectIterator(boolean) - Method in class Sap
 
detectIterator(AABB) - Method in interface BroadphaseDetector
Performs a broad-phase collision test using the given AABB and returns the items that overlap.
detectIterator(AABB) - Method in class BruteForceBroadphase
 
detectIterator(AABB) - Method in class DynamicAABBTree
 
detectIterator(AABB) - Method in class LazyAABBTree
Deprecated.
 
detectIterator(AABB) - Method in class Sap
 
detectIterator(AABB, DetectFilter<T, E>) - Method in class AbstractCollisionWorld
 
detectIterator(AABB, DetectFilter<T, E>) - Method in interface CollisionWorld
Returns an iterator of DetectResults containing all the body-fixtures that overlap with the given AABB using the current state of the BroadphaseDetector.
detectIterator(AABB, T, DetectFilter<T, E>) - Method in class AbstractCollisionWorld
 
detectIterator(AABB, T, DetectFilter<T, E>) - Method in interface CollisionWorld
Returns an iterator of DetectResults containing all the body-fixtures that overlap with the given AABB using the current state of the BroadphaseDetector, only testing against the given CollisionBody.
detectIterator(Convex, Transform, DetectFilter<T, E>) - Method in class AbstractCollisionWorld
 
detectIterator(Convex, Transform, DetectFilter<T, E>) - Method in interface CollisionWorld
Returns an iterator of ConvexDetectResults containing all the body-fixtures that overlapped with the given Convex using the current state of the BroadphaseDetector.
detectIterator(Convex, Transform, T, DetectFilter<T, E>) - Method in class AbstractCollisionWorld
 
detectIterator(Convex, Transform, T, DetectFilter<T, E>) - Method in interface CollisionWorld
Returns an iterator of ConvexDetectResults containing all the body-fixtures that overlapped with the given Convex using the current state of the BroadphaseDetector, only testing against the given CollisionBody.
DetectListener - Interface in org.dyn4j.dynamics
Deprecated.
Deprecated in 4.0.0. Use the iterator methods in the World class instead.
DetectResult - Class in org.dyn4j.dynamics
Deprecated.
Deprecated in 4.0.0. Use the DetectResult class in the world package instead.
DetectResult<T extends CollisionBody<E>,​E extends Fixture> - Class in org.dyn4j.world.result
Represents a reusable result for query-based collision detection.
DetectResult() - Constructor for class DetectResult
Deprecated.
Default constructor.
DetectResult() - Constructor for class DetectResult
Default constructor.
DetectResult(Body, BodyFixture) - Constructor for class DetectResult
Deprecated.
Optional constructor.
DetectResult(Body, BodyFixture, Penetration) - Constructor for class DetectResult
Deprecated.
Full constructor.
determinant() - Method in class Matrix22
Returns the determinant of this Matrix22.
determinant() - Method in class Matrix33
Returns the determinant of this Matrix33.
difference(double, double) - Method in class Vector2
Subtracts the given Vector2 from this Vector2 returning a new Vector2 containing the result.
difference(double, double, double) - Method in class Vector3
Subtracts the given Vector3 from this Vector3 returning a new Vector3 containing the result.
difference(Matrix22) - Method in class Matrix22
Returns a new Matrix22 that is the difference of this Matrix22 and the given Matrix22.
difference(Matrix33) - Method in class Matrix33
Returns a new Matrix33 that is the difference of this Matrix33 and the given Matrix33.
difference(Vector2) - Method in class Vector2
Subtracts the given Vector2 from this Vector2 returning a new Vector2 containing the result.
difference(Vector3) - Method in class Vector3
Subtracts the given Vector3 from this Vector3 returning a new Vector3 containing the result.
distance(double, double) - Method in class Vector2
Returns the distance from this point to the given point.
distance(double, double, double) - Method in class Vector3
Returns the distance from this point to the given point.
distance(Circle, Transform, Circle, Transform, Separation) - Static method in class CircleDetector
Fast method for determining the distance between two Circles.
distance(Convex, Transform, Convex, Transform, Separation) - Method in interface DistanceDetector
Returns true if the two Convex Shapes are separated and fills the given Separation object with the minimum distance vector, distance, and closest points.
distance(Convex, Transform, Convex, Transform, Separation) - Method in class Gjk
 
distance(Interval) - Method in class Interval
Returns the distance between the two Intervals.
distance(Vector2) - Method in class Vector2
Returns the distance from this point to the given point.
distance(Vector3) - Method in class Vector3
Returns the distance from this point to the given point.
DISTANCE - Static variable in interface ManifoldPointId
The default ManifoldPointId.
DistanceDetector - Interface in org.dyn4j.collision.narrowphase
Interface representing an algorithm to detect the distance between two Convex Shapes.
DistanceJoint<T extends PhysicsBody> - Class in org.dyn4j.dynamics.joint
Implementation of a fixed length distance joint.
DistanceJoint(T, T, Vector2, Vector2) - Constructor for class DistanceJoint
Minimal constructor.
distanceSquared(double, double) - Method in class Vector2
Returns the distance from this point to the given point squared.
distanceSquared(double, double, double) - Method in class Vector3
Returns the distance from this point to the given point squared.
distanceSquared(Vector2) - Method in class Vector2
Returns the distance from this point to the given point squared.
distanceSquared(Vector3) - Method in class Vector3
Returns the distance from this point to the given point squared.
divide(double) - Method in class Vector2
Divides this Vector2 by the given scalar.
DivideAndConquer - Class in org.dyn4j.geometry.hull
Implementation of the Divide and Conquer convex hull algorithm.
DivideAndConquer() - Constructor for class DivideAndConquer
 
dot(double, double) - Method in class Vector2
Returns the dot product of the given Vector2 and this Vector2.
dot(double, double, double) - Method in class Vector3
Returns the dot product of the given Vector3 and this Vector3.
dot(Rotation) - Method in class Rotation
Returns the dot product of the this Rotation and the given Rotation which is essentially the sine of the angle between those rotations.
dot(Vector2) - Method in class Vector2
Returns the dot product of the given Vector2 and this Vector2.
dot(Vector3) - Method in class Vector3
Returns the dot product of the given Vector3 and this Vector3.
DynamicAABBTree<T extends CollisionBody<E>,​E extends Fixture> - Class in org.dyn4j.collision.broadphase
Implementation of a self-balancing axis-aligned bounding box tree broad-phase collision detection algorithm.
DynamicAABBTree() - Constructor for class DynamicAABBTree
Default constructor.
DynamicAABBTree(int) - Constructor for class DynamicAABBTree
Optional constructor.

E

E - Static variable in class Epsilon
The double precision floating point machine epsilon approximation
EarClipping - Class in org.dyn4j.geometry.decompose
Implementation of the Ear Clipping convex decomposition algorithm for simple polygons.
EarClipping() - Constructor for class EarClipping
 
EARTH_GRAVITY - Static variable in class World
Deprecated.
Earths gravity constant
EARTH_GRAVITY - Static variable in interface PhysicsWorld
Earths gravity constant
EdgeFeature - Class in org.dyn4j.geometry
Implementation of an edge Feature of a Shape.
EdgeFeature(PointFeature, PointFeature, PointFeature, Vector2, int) - Constructor for class EdgeFeature
Creates an edge feature.
Ellipse - Class in org.dyn4j.geometry
Implementation of an Ellipse Convex Shape.
Ellipse(double, double) - Constructor for class Ellipse
Minimal constructor.
end(Contact) - Method in interface ContactUpdateHandler
Called when the given contact was ended.
end(ContactConstraint) - Method in interface ContactManager
Deprecated.
Manually ends the contacts associated with the given ContactConstraint.
end(ContactConstraint) - Method in class DefaultContactManager
Deprecated.
 
end(ContactPoint) - Method in class ContactAdapter
Deprecated.
 
end(ContactPoint) - Method in interface ContactListener
Deprecated.
Called when two BodyFixtures begin to separate.
end(Step, World) - Method in class StepAdapter
Deprecated.
 
end(Step, World) - Method in interface StepListener
Deprecated.
Called after a simulation step has been performed.
end(TimeStep, PhysicsWorld<T, ?>) - Method in interface StepListener
Called after a simulation step has been performed.
end(TimeStep, PhysicsWorld<T, ?>) - Method in class StepListenerAdapter
 
end(ContactCollisionData<T>, Contact) - Method in interface ContactListener
Called when two BodyFixtures begin to separate and the contact point is no longer valid.
end(ContactCollisionData<T>, Contact) - Method in class ContactListenerAdapter
 
Epa - Class in org.dyn4j.collision.narrowphase
Epa, or Expanding Polytope Algorithm, is used to find the penetration depth and vector given the final simplex of Gjk.
Epa() - Constructor for class Epa
 
Epsilon - Class in org.dyn4j
Class containing an approximation of machine epsilon.
EQUAL - LimitState
Deprecated.
The state if the upper and lower limits are equal within tolerance
equals(double) - Method in class Rotation
Returns true if the cos and sin components of this Rotation are the same as the given angle
equals(double, double) - Method in class Rotation
Returns true if the cos and sin components of this Rotation are the same as the given angle given the specified error.
equals(double, double) - Method in class Vector2
Returns true if the x and y components of this Vector2 are the same as the given x and y components.
equals(double, double, double) - Method in class Vector3
Returns true if the x, y and z components of this Vector3 are the same as the given x, y and z components.
equals(Object) - Method in class BasicCollisionItem
 
equals(Object) - Method in class BasicCollisionPair
 
equals(Object) - Method in class CategoryFilter
 
equals(Object) - Method in class IndexedManifoldPointId
 
equals(Object) - Method in class AbstractFallbackCondition
 
equals(Object) - Method in class PairwiseTypedFallbackCondition
 
equals(Object) - Method in class SingleTypedFallbackCondition
 
equals(Object) - Method in class Capacity
Deprecated.
 
equals(Object) - Method in class ContactConstraintId
Deprecated.
 
equals(Object) - Method in class ContactPointId
Deprecated.
 
equals(Object) - Method in class AABB
 
equals(Object) - Method in class Mass
 
equals(Object) - Method in class Matrix22
 
equals(Object) - Method in class Matrix33
 
equals(Object) - Method in class Rotation
 
equals(Object) - Method in class Vector2
 
equals(Object) - Method in class Vector3
 
equals(Object) - Method in class Reference
 
equals(CollisionItem<?, ?>, Object) - Static method in class AbstractCollisionItem
Returns true if the given item and object are equal.
equals(CollisionPair<?, ?>, Object) - Static method in class AbstractCollisionPair
Returns true if the given pair and object are equal.
equals(Rotation) - Method in class Rotation
Returns true if the cos and sin components of this Rotation are the same as the given Rotation.
equals(Rotation, double) - Method in class Rotation
Returns true if the cos and sin components of this Rotation are the same as the given Rotation given the specified error.
equals(Vector2) - Method in class Vector2
Returns true if the x and y components of this Vector2 are the same as the given Vector2.
equals(Vector3) - Method in class Vector3
Returns true if the x and y components of this Vector3 are the same as the given Vector3.
evaluate(E) - Method in interface BinarySearchTreeSearchCriteria
Evaluates the current comparable determining which child to navigate to next.
expand(double) - Method in class AABB
Expands this AABB by half the given expansion in each direction and then returns this AABB.
expand(double) - Method in class Interval
Expands this Interval by half the given amount in both directions.

F

FallbackCondition - Interface in org.dyn4j.collision.narrowphase
Represents a condition that returns true to indicate a fallback NarrowphaseDetector should be used instead of the primary.
FallbackNarrowphaseDetector - Class in org.dyn4j.collision.narrowphase
Represents a delegating NarrowphaseDetector that uses a primary NarrowphaseDetector and fallback NarrowphaseDetector.
FallbackNarrowphaseDetector(NarrowphaseDetector, NarrowphaseDetector) - Constructor for class FallbackNarrowphaseDetector
Minimal constructor.
FallbackNarrowphaseDetector(NarrowphaseDetector, NarrowphaseDetector, List<FallbackCondition>) - Constructor for class FallbackNarrowphaseDetector
Full constructor.
Feature - Class in org.dyn4j.geometry
Represents an indexed feature of a Shape.
Feature(int) - Constructor for class Feature
Minimal constructor.
feetPerSecondToMetersPerSecond(double) - Static method in class UnitConversion
Converts feet per second to meters per second.
feetToMeters(double) - Static method in class UnitConversion
Converts feet to meters.
Filter - Interface in org.dyn4j.collision
Interface representing a filter for collision detection.
FIXED_ANGULAR_VELOCITY - MassType
Indicates that the mass's rate of rotation should not change
FIXED_LINEAR_VELOCITY - MassType
Indicates that the mass's rate of translation should not change
Fixture - Class in org.dyn4j.collision
Represents a geometric piece of a CollisionBody.
Fixture(Convex) - Constructor for class Fixture
Minimal constructor.
FixtureModificationHandler<T extends Fixture> - Interface in org.dyn4j.collision
Represents a hook into a CollisionBody to be notified of Fixture modification events.
flip(Polygon, Vector2) - Static method in class Geometry
Flips the given polygon about the given line and returns the result as a new polygon.
flip(Polygon, Vector2, Vector2) - Static method in class Geometry
Flips the given polygon about the given line and returns the result as a new polygon.
flipAlongTheXAxis(Polygon) - Static method in class Geometry
Flips the given polygon about its center along the x-axis and returns the result as a new polygon.
flipAlongTheXAxis(Polygon, Vector2) - Static method in class Geometry
Flips the given polygon about the given point along the x-axis and returns the result as a new polygon.
flipAlongTheYAxis(Polygon) - Static method in class Geometry
Flips the given polygon about its center along the y-axis and returns the result as a new polygon.
flipAlongTheYAxis(Polygon, Vector2) - Static method in class Geometry
Flips the given polygon about the given point along the y-axis and returns the result as a new polygon.
FOOT_POUND_TO_NEWTON_METER - Static variable in class UnitConversion
1 foot-pound = UnitConversion.FOOT_POUND_TO_NEWTON_METER newton-meters
FOOT_TO_METER - Static variable in class UnitConversion
footPoundsToNewtonMeters(double) - Static method in class UnitConversion
Converts foot-pounds to newton-meters.
Force - Class in org.dyn4j.dynamics
Represents a force.
Force() - Constructor for class Force
Default constructor.
Force(double, double) - Constructor for class Force
Creates a new Force using the x and y components.
Force(Force) - Constructor for class Force
Copy constructor.
Force(Vector2) - Constructor for class Force
Creates a new Force using the given Vector2.
ForceCollisionTimeOfImpactSolver<T extends PhysicsBody> - Class in org.dyn4j.dynamics.contact
Represents a position solver for a pair of Bodys who came in contact during a time step but where not detected by the discrete collision detectors.
ForceCollisionTimeOfImpactSolver() - Constructor for class ForceCollisionTimeOfImpactSolver
 
FrictionJoint<T extends PhysicsBody> - Class in org.dyn4j.dynamics.joint
Implementation of a friction joint.
FrictionJoint(T, T, Vector2) - Constructor for class FrictionJoint
Minimal constructor.

G

generate(Vector2...) - Method in class DivideAndConquer
 
generate(Vector2...) - Method in class GiftWrap
 
generate(Vector2...) - Method in class GrahamScan
 
generate(Vector2...) - Method in interface HullGenerator
Returns a convex hull generated from the given point set in counter-clockwise point order.
generate(Vector2...) - Method in class MonotoneChain
 
Geometry - Class in org.dyn4j.geometry
Contains static methods to perform standard geometric operations.
Geometry() - Constructor for class Geometry
 
getAABB(CollisionItem<T, E>) - Method in interface BroadphaseDetector
Returns the AABB for the given CollisionBody Fixture.
getAABB(CollisionItem<T, E>) - Method in class BruteForceBroadphase
 
getAABB(CollisionItem<T, E>) - Method in class DynamicAABBTree
 
getAABB(CollisionItem<T, E>) - Method in class LazyAABBTree
Deprecated.
 
getAABB(CollisionItem<T, E>) - Method in class Sap
 
getAABB(T) - Method in class AbstractBroadphaseDetector
 
getAABB(T) - Method in interface BroadphaseDetector
Returns the AABB for the given CollisionBody.
getAABB(T, E) - Method in class AbstractBroadphaseDetector
 
getAABB(T, E) - Method in interface BroadphaseDetector
Returns the AABB for the given CollisionBody Fixture.
getAABBExpansion() - Method in class AbstractBroadphaseDetector
 
getAABBExpansion() - Method in interface BroadphaseDetector
Returns the AABB expansion value used to improve performance of broad-phase updates.
getAABBExpansion() - Method in class BruteForceBroadphase
 
getAABBExpansion() - Method in class LazyAABBTree
Deprecated.
 
getAccumulatedForce() - Method in class AbstractPhysicsBody
 
getAccumulatedForce() - Method in interface PhysicsBody
Returns the total force currently stored in the force accumulator.
getAccumulatedTime() - Method in class World
Deprecated.
Returns the current accumulated time.
getAccumulatedTime() - Method in class AbstractPhysicsWorld
 
getAccumulatedTime() - Method in interface PhysicsWorld
Returns the current accumulated time.
getAccumulatedTorque() - Method in class AbstractPhysicsBody
 
getAccumulatedTorque() - Method in interface PhysicsBody
Returns the total torque currently stored in the torque accumulator.
getAnchor1() - Method in class AngleJoint
Returns the anchor point on the first PhysicsBody in world coordinates.
getAnchor1() - Method in class DistanceJoint
 
getAnchor1() - Method in class FrictionJoint
 
getAnchor1() - Method in class Joint
Returns the anchor point on the first PhysicsBody in world coordinates.
getAnchor1() - Method in class MotorJoint
Returns the anchor point on the first PhysicsBody in world coordinates.
getAnchor1() - Method in class PinJoint
Returns the anchor point on the first PhysicsBody in world coordinates.
getAnchor1() - Method in class PrismaticJoint
 
getAnchor1() - Method in class PulleyJoint
 
getAnchor1() - Method in class RevoluteJoint
 
getAnchor1() - Method in class RopeJoint
 
getAnchor1() - Method in class WeldJoint
 
getAnchor1() - Method in class WheelJoint
 
getAnchor2() - Method in class AngleJoint
Returns the anchor point on the second PhysicsBody in world coordinates.
getAnchor2() - Method in class DistanceJoint
 
getAnchor2() - Method in class FrictionJoint
 
getAnchor2() - Method in class Joint
Returns the anchor point on the second PhysicsBody in world coordinates.
getAnchor2() - Method in class MotorJoint
Returns the anchor point on the second PhysicsBody in world coordinates.
getAnchor2() - Method in class PinJoint
Returns the anchor point on the second PhysicsBody in world coordinates.
getAnchor2() - Method in class PrismaticJoint
 
getAnchor2() - Method in class PulleyJoint
 
getAnchor2() - Method in class RevoluteJoint
 
getAnchor2() - Method in class RopeJoint
 
getAnchor2() - Method in class WeldJoint
 
getAnchor2() - Method in class WheelJoint
 
getAngleBetween(double) - Method in class Vector2
Returns the smallest angle between the given Vector2 and the given angle.
getAngleBetween(Vector2) - Method in class Vector2
Returns the smallest angle between the given Vector2s.
getAngularDamping() - Method in class AbstractPhysicsBody
 
getAngularDamping() - Method in interface PhysicsBody
Returns the angular damping.
getAngularSpeed() - Method in class WheelJoint
Returns the current angular speed between the two joined bodies.
getAngularTarget() - Method in class MotorJoint
Returns the desired angle between the bodies.
getAngularTolerance() - Method in class Settings
Returns the angular tolerance.
getAngularToleranceSquared() - Method in class Settings
Returns the angular tolerance squared.
getAngularTranslation() - Method in class WheelJoint
Returns the current angular translation between the joined bodies.
getAngularVelocity() - Method in class AbstractPhysicsBody
 
getAngularVelocity() - Method in interface PhysicsBody
Returns the angular velocity.
getArea() - Method in class AABB
Returns the area of this AABB;.
getAreaWeightedCenter(List<Vector2>) - Static method in class Geometry
Returns the area weighted centroid for the given points.
getAreaWeightedCenter(Vector2...) - Static method in class Geometry
Returns the area weighted centroid for the given points.
getAverageCenter(List<Vector2>) - Static method in class Geometry
Returns the centroid of the given points by performing an average.
getAverageCenter(Vector2...) - Static method in class Geometry
Returns the centroid of the given points by performing an average.
getAxes(Vector2[], Transform) - Method in class Capsule
 
getAxes(Vector2[], Transform) - Method in class Circle
Returns an array of separating axes to test for this Shape.
getAxes(Vector2[], Transform) - Method in interface Convex
Returns an array of separating axes to test for this Shape.
getAxes(Vector2[], Transform) - Method in class Ellipse
Returns an array of separating axes to test for this Shape.
getAxes(Vector2[], Transform) - Method in class HalfEllipse
Returns an array of separating axes to test for this Shape.
getAxes(Vector2[], Transform) - Method in class Polygon
 
getAxes(Vector2[], Transform) - Method in class Rectangle
 
getAxes(Vector2[], Transform) - Method in class Segment
 
getAxes(Vector2[], Transform) - Method in class Slice
 
getAxis() - Method in class PrismaticJoint
Returns the axis in which the joint is allowed move along in world coordinates.
getAxis() - Method in class WheelJoint
Returns the axis in which the joint is allowed move along in world coordinates.
getBaumgarte() - Method in class Settings
Returns the baumgarte factor.
getBodies() - Method in class World
Deprecated.
Returns an unmodifiable list containing all the bodies in this world.
getBodies() - Method in class AbstractCollisionWorld
 
getBodies() - Method in interface CollisionWorld
Returns an unmodifiable list containing all the bodies in this world.
getBody() - Method in class BasicCollisionItem
 
getBody() - Method in interface CollisionItem
Returns the CollisionBody.
getBody() - Method in class ConvexCastResult
Deprecated.
Returns the body.
getBody() - Method in class DetectResult
Deprecated.
Returns the overlapping body.
getBody() - Method in class RaycastResult
Deprecated.
Returns the Body detected.
getBody() - Method in class ConstraintGraphNode
Returns the body at this node.
getBody() - Method in class DetectResult
Returns the body.
getBody(int) - Method in class World
Deprecated.
Returns the Body at the given index.
getBody(int) - Method in class AbstractCollisionWorld
 
getBody(int) - Method in interface CollisionWorld
Returns the CollisionBody at the given index.
getBody(CollisionBody<?>) - Method in class BasicCollisionPair
 
getBody(CollisionBody<?>) - Method in interface CollisionPair
Returns the body that matches the given body.
getBody(CollisionBody<?>) - Method in class ContactConstraint
Returns the body that matches the given body.
getBody1() - Method in class BasicCollisionPair
 
getBody1() - Method in interface CollisionPair
Returns the first CollisionBody.
getBody1() - Method in class Constraint
Deprecated.
Returns the first Body.
getBody1() - Method in class ContactConstraint
Returns the first PhysicsBody.
getBody1() - Method in class ContactConstraintId
Deprecated.
Returns the first body.
getBody1() - Method in class ContactPoint
Deprecated.
Returns the first Body.
getBody1() - Method in class Joint
Returns the first body.
getBody1() - Method in interface BroadphaseCollisionData
Returns the first CollisionBody.
getBody1() - Method in class WorldCollisionData
 
getBody2() - Method in class BasicCollisionPair
 
getBody2() - Method in interface CollisionPair
Returns the second CollisionBody.
getBody2() - Method in class Constraint
Deprecated.
Returns the second Body.
getBody2() - Method in class ContactConstraint
Returns the second PhysicsBody.
getBody2() - Method in class ContactConstraintId
Deprecated.
Returns the second body.
getBody2() - Method in class ContactPoint
Deprecated.
Returns the second Body.
getBody2() - Method in class Joint
Returns the second body.
getBody2() - Method in interface BroadphaseCollisionData
Returns the second CollisionBody.
getBody2() - Method in class WorldCollisionData
 
getBodyCount() - Method in class Capacity
Deprecated.
Returns the estimated number of bodies.
getBodyCount() - Method in class World
Deprecated.
Returns the number of Bodys in this World.
getBodyCount() - Method in class AbstractCollisionWorld
 
getBodyCount() - Method in interface CollisionWorld
Returns the number of CollisionBodys in this CollisionWorld.
getBodyIterator() - Method in class World
Deprecated.
Returns an iterator for iterating over the bodies in this world.
getBodyIterator() - Method in class AbstractCollisionWorld
 
getBodyIterator() - Method in interface CollisionWorld
Returns an iterator for iterating over the bodies in this world.
getBounds() - Method in class AxisAlignedBounds
Returns the world space Axis-Aligned bounding box for this bounds object.
getBounds() - Method in class World
Deprecated.
Returns the bounds of this world.
getBounds() - Method in class AbstractCollisionWorld
 
getBounds() - Method in interface CollisionWorld
Returns the bounds of this world.
getBoundsListeners() - Method in class AbstractCollisionWorld
 
getBoundsListeners() - Method in interface CollisionWorld
Returns an unmodifiable list of all the bounds listeners registered to this world.
getBroadphaseDetector() - Method in class World
Deprecated.
Returns the broad-phase collision detection algorithm.
getBroadphaseDetector() - Method in class AbstractCollisionWorld
 
getBroadphaseDetector() - Method in interface CollisionWorld
Returns the broad-phase collision detection algorithm.
getBroadphaseFilter() - Method in class AbstractCollisionWorld
 
getBroadphaseFilter() - Method in interface CollisionWorld
Returns the BroadphaseFilter used when detecting collisions for each time step.
getCapRadius() - Method in class Capsule
Returns the end cap radius.
getCategory() - Method in class CategoryFilter
Returns the category bits.
getCenter() - Method in class AABB
Returns the center of the AABB.
getCenter() - Method in class AbstractShape
 
getCenter() - Method in class Mass
Returns the center of mass.
getCenter() - Method in interface Shape
Returns the center/centroid of the Shape in local coordinates.
getChangeInOrientation() - Method in class AbstractPhysicsBody
 
getChangeInOrientation() - Method in interface PhysicsBody
Returns the change in orientation computed from last frame's transform and this frame's transform.
getChangeInPosition() - Method in class AbstractPhysicsBody
 
getChangeInPosition() - Method in interface PhysicsBody
Returns the change in position computed from last frame's transform and this frame's transform.
getCircleCenter() - Method in class Slice
Returns the tip of the pie shape.
getCoefficientMixer() - Method in class World
Deprecated.
Returns the CoefficientMixer.
getCoefficientMixer() - Method in class AbstractPhysicsWorld
 
getCoefficientMixer() - Method in interface PhysicsWorld
Returns the CoefficientMixer.
getCollisionData(T, E, T, E) - Method in class AbstractCollisionWorld
 
getCollisionData(T, E, T, E) - Method in interface CollisionWorld
Returns the collision data for the given body-fixture pairs.
getCollisionDataIterator() - Method in class AbstractCollisionWorld
 
getCollisionDataIterator() - Method in interface CollisionWorld
Returns an iterator that can be used to enumerate all the collisions in this world.
getCollisionListeners() - Method in class AbstractCollisionWorld
 
getCollisionListeners() - Method in interface CollisionWorld
Returns an unmodifiable list of all the collision listeners registered to this world.
getCollisionPair() - Method in class ContactConstraint
Returns the CollisionPair.
getCondition(int) - Method in class FallbackNarrowphaseDetector
Returns the fallback condition at the given index.
getConditionCount() - Method in class FallbackNarrowphaseDetector
Returns the number of fallback conditions.
getContactConstraint() - Method in interface ContactCollisionData
Returns the ContactConstraint.
getContactConstraint() - Method in class WorldCollisionData
 
getContactConstraintId() - Method in class ContactPointId
Deprecated.
Returns the ContactConstraintId for this contact.
getContactConstraints() - Method in class ConstraintGraphNode
Returns the list of contact constraints this body is connected with.
getContactConstraintSolver() - Method in class World
Deprecated.
getContactConstraintSolver() - Method in class AbstractPhysicsWorld
 
getContactConstraintSolver() - Method in interface PhysicsWorld
getContactCount() - Method in interface ContactManager
Deprecated.
Returns the number of contact constraints in the manager.
getContactCount() - Method in class DefaultContactManager
Deprecated.
 
getContactListeners() - Method in class AbstractPhysicsWorld
 
getContactListeners() - Method in interface PhysicsWorld
Returns an unmodifiable list of all the contact listeners registered to this world.
getContactManager() - Method in class World
Deprecated.
Returns the ContactManager.
getContacts() - Method in class ContactConstraint
Returns the list of SolvableContacts.
getContacts(boolean) - Method in class Body
Deprecated.
Deprecated as of 4.0.0. Use the getContacts method in PhysicsWorld instead.
getContacts(T) - Method in class AbstractPhysicsWorld
 
getContacts(T) - Method in class ConstraintGraph
Returns the ContactConstraints for the given PhysicsBody.
getContacts(T) - Method in interface PhysicsWorld
Returns the ContactConstraints for the given PhysicsBody.
getContinuousDetectionMode() - Method in class Settings
Returns the continuous collision detection mode.
getConvex1() - Method in class MinkowskiSum
Returns the first Convex Shape.
getConvex2() - Method in class MinkowskiSum
Returns the second Convex Shape.
getCorrectionFactor() - Method in class MotorJoint
Returns the correction factor.
getCost() - Method in class Rotation
Returns the value of cos(θ) for this Rotation.
getCounterClockwiseEdgeNormals(Vector2...) - Static method in class Geometry
Returns an array of normalized vectors representing the normals of all the edges given the vertices.
getDampingRatio() - Method in class DistanceJoint
Returns the damping ratio.
getDampingRatio() - Method in class PinJoint
Returns the damping ratio.
getDampingRatio() - Method in class WeldJoint
Returns the damping ratio.
getDampingRatio() - Method in class WheelJoint
Returns the damping ratio.
getDeltaTime() - Method in class TimeStep
Returns the elapsed time since the last time step in seconds.
getDeltaTimeRatio() - Method in class TimeStep
Returns the ratio of the last elapsed time to the current elapsed time.
getDensity() - Method in class BodyFixture
Returns the density of this shape in kg/m2.
getDepth() - Method in class ManifoldPoint
Returns the collision depth of the manifold point.
getDepth() - Method in class Penetration
Returns the penetration depth.
getDepth() - Method in interface Contact
Returns the penetration depth of this point.
getDepth() - Method in class ContactPoint
Deprecated.
Returns the depth.
getDestructionListeners() - Method in class AbstractPhysicsWorld
 
getDestructionListeners() - Method in interface PhysicsWorld
Returns an unmodifiable list of all the destruction listeners registered to this world.
getDetectBroadphaseFilter() - Method in class World
Deprecated.
Returns the BroadphaseFilter used when detecting collisions for each time step.
getDetectEpsilon() - Method in class Gjk
Returns the Gjk detect epsilon.
getDirection() - Method in class Ray
Returns the direction of this ray in radians.
getDirection() - Method in class Vector2
Returns the direction of this Vector2 as an angle in radians.
getDirectionVector() - Method in class Ray
Returns the direction.
getDistance() - Method in class Raycast
Returns the distance from the start of the Ray to the hit point.
getDistance() - Method in class Separation
Returns the separation distance.
getDistance() - Method in class DistanceJoint
Returns the rest distance between the two constrained PhysicsBodys in meters.
getDistanceDetector() - Method in class ConservativeAdvancement
Returns the DistanceDetector that is used.
getDistanceEpsilon() - Method in class ConservativeAdvancement
Returns the distance epsilon used to determine when a sufficient solution has been found.
getDistanceEpsilon() - Method in class Epa
Returns the distance epsilon.
getDistanceEpsilon() - Method in class Gjk
Returns the Gjk distance epsilon.
getEdge() - Method in class EdgeFeature
Returns the vector representing this edge in counter-clockwise winding.
getEllipseCenter() - Method in class HalfEllipse
Returns the center of the ellipse.
getEstimatedCollisionPairs(int) - Static method in class Collisions
Returns an estimate on the number of collision pairs based on the number objects being simulated.
getEstimatedCollisionsPerObject() - Static method in class Collisions
Returns an estimate on the number of collisions per object.
getEstimatedRaycastCollisions(int) - Static method in class Collisions
Returns an estimate on the number of raycast collisions given the total number of objects to collide with.
getExpanded(double) - Method in class AABB
Returns a new AABB of this AABB expanded by half the given expansion in both the x and y directions.
getExpanded(double) - Method in class Interval
Returns a new Interval of this interval expanded by half the given amount in both directions.
getFallbackNarrowphaseDetector() - Method in class FallbackNarrowphaseDetector
Returns the fallback NarrowphaseDetector.
getFarthestFeature(Vector2, Transform) - Method in class Capsule
 
getFarthestFeature(Vector2, Transform) - Method in class Circle
Returns the Feature farthest in the direction of the given vector.
getFarthestFeature(Vector2, Transform) - Method in interface Convex
Returns the Feature farthest in the direction of the given vector.
getFarthestFeature(Vector2, Transform) - Method in class Ellipse
 
getFarthestFeature(Vector2, Transform) - Method in class HalfEllipse
 
getFarthestFeature(Vector2, Transform) - Method in class Polygon
 
getFarthestFeature(Vector2, Transform) - Method in class Segment
Returns the feature farthest in the direction of n.
getFarthestFeature(Vector2, Transform) - Method in class Slice
 
getFarthestFeature(Vector2, Vector2, Vector2, Transform) - Static method in class Segment
Returns the farthest feature on the given segment.
getFarthestPoint(Vector2, Transform) - Method in class Capsule
 
getFarthestPoint(Vector2, Transform) - Method in class Circle
 
getFarthestPoint(Vector2, Transform) - Method in interface Convex
Returns the point farthest in the direction of the given vector.
getFarthestPoint(Vector2, Transform) - Method in class Ellipse
 
getFarthestPoint(Vector2, Transform) - Method in class HalfEllipse
 
getFarthestPoint(Vector2, Transform) - Method in class Polygon
 
getFarthestPoint(Vector2, Transform) - Method in class Segment
 
getFarthestPoint(Vector2, Transform) - Method in class Slice
 
getFarthestPoint(Vector2, Vector2, Vector2, Transform) - Static method in class Segment
Returns the farthest point on the given segment.
getFilter() - Method in class Fixture
Returns the collision filter for this fixture.
getFilter() - Method in class AABBBroadphaseFilter
Deprecated.
Returns the filter used in filtering Fixtures.
getFilter() - Method in class RaycastBroadphaseFilter
Deprecated.
Returns the filter used to filter fixtures.
getFilter() - Method in class DetectFilter
Returns the fixture-level filter.
getFixture() - Method in class BasicCollisionItem
 
getFixture() - Method in interface CollisionItem
Returns the Fixture.
getFixture() - Method in class ConvexCastResult
Deprecated.
Returns the fixture on the body with the smallest time of impact.
getFixture() - Method in class DetectResult
Deprecated.
Returns the overlapping fixture.
getFixture() - Method in class RaycastResult
Deprecated.
Returns the BodyFixture of the Body detected.
getFixture() - Method in class DetectResult
Returns the fixture.
getFixture(int) - Method in class AbstractCollisionBody
 
getFixture(int) - Method in interface CollisionBody
Returns the Fixture at the given index.
getFixture(CollisionBody<?>) - Method in class BasicCollisionPair
 
getFixture(CollisionBody<?>) - Method in interface CollisionPair
Returns the fixture for the body that matches the given body.
getFixture(CollisionBody<?>) - Method in class ContactConstraint
Returns the fixture for the body that matches the given body.
getFixture(Vector2) - Method in class AbstractCollisionBody
 
getFixture(Vector2) - Method in interface CollisionBody
Returns the first Fixture in this CollisionBody, determined by the order in which they were added, that contains the given point.
getFixture1() - Method in class BasicCollisionPair
 
getFixture1() - Method in interface CollisionPair
Returns the first Fixture.
getFixture1() - Method in class ContactConstraint
Returns the first PhysicsBody's BodyFixture.
getFixture1() - Method in class ContactConstraintId
Deprecated.
Returns the fixture on the first body.
getFixture1() - Method in class ContactPoint
Deprecated.
Returns the first Body's BodyFixture.
getFixture1() - Method in interface BroadphaseCollisionData
Returns the first Fixture.
getFixture1() - Method in class WorldCollisionData
 
getFixture2() - Method in class BasicCollisionPair
 
getFixture2() - Method in interface CollisionPair
Returns the second Fixture.
getFixture2() - Method in class ContactConstraint
Returns the second PhysicsBody's BodyFixture.
getFixture2() - Method in class ContactConstraintId
Deprecated.
Returns the fixture on the second body.
getFixture2() - Method in class ContactPoint
Deprecated.
Returns the second Body's BodyFixture.
getFixture2() - Method in interface BroadphaseCollisionData
Returns the second Fixture.
getFixture2() - Method in class WorldCollisionData
 
getFixtureCount() - Method in class AbstractCollisionBody
 
getFixtureCount() - Method in interface CollisionBody
Returns the number of Fixtures attached to this CollisionBody object.
getFixtureIterator() - Method in class AbstractCollisionBody
 
getFixtureIterator() - Method in interface CollisionBody
Returns an iterator for this body's fixtures.
getFixtureModificationHandler() - Method in class AbstractCollisionBody
 
getFixtureModificationHandler() - Method in interface CollisionBody
Returns the FixtureModificationHandler for this body.
getFixtures() - Method in class AbstractCollisionBody
 
getFixtures() - Method in interface CollisionBody
Returns an unmodifiable list containing the Fixtures attached to this CollisionBody.
getFixtures(Vector2) - Method in class AbstractCollisionBody
 
getFixtures(Vector2) - Method in interface CollisionBody
Returns all the Fixtures in this CollisionBody that contain the given point.
getFoci(Transform) - Method in class Capsule
 
getFoci(Transform) - Method in class Circle
 
getFoci(Transform) - Method in interface Convex
Returns an array of world space foci points for circular curved edges.
getFoci(Transform) - Method in class Ellipse
Returns an array of world space foci points for circular curved edges.
getFoci(Transform) - Method in class HalfEllipse
Returns an array of world space foci points for circular curved edges.
getFoci(Transform) - Method in class Polygon
Returns an array of world space foci points for circular curved edges.
getFoci(Transform) - Method in class Segment
Returns an array of world space foci points for circular curved edges.
getFoci(Transform) - Method in class Slice
Returns an array of world space foci points for circular curved edges.
getForce() - Method in class AbstractPhysicsBody
 
getForce() - Method in class Force
Returns the force vector.
getForce() - Method in interface PhysicsBody
Returns the force applied in the last iteration.
getFrequency() - Method in class DistanceJoint
Returns the spring frequency.
getFrequency() - Method in class PinJoint
Returns the spring frequency.
getFrequency() - Method in class WeldJoint
Returns the spring frequency.
getFrequency() - Method in class WheelJoint
Returns the spring frequency.
getFriction() - Method in class BodyFixture
Returns the coefficient of friction.
getFriction() - Method in class ContactConstraint
Returns the coefficient of friction for this contact constraint.
getFriction(BodyFixture, BodyFixture) - Method in interface ContactUpdateHandler
Returns the coefficient of friction given the two BodyFixtures in contact.
getGravity() - Method in class World
Deprecated.
Returns the acceleration due to gravity.
getGravity() - Method in class AbstractPhysicsWorld
 
getGravity() - Method in interface PhysicsWorld
Returns the acceleration due to gravity.
getGravityScale() - Method in class AbstractPhysicsBody
 
getGravityScale() - Method in interface PhysicsBody
Returns the gravity scale.
getHalfHeight() - Method in class Ellipse
Returns the half height.
getHalfWidth() - Method in class Ellipse
Returns the half width.
getHalfWidth() - Method in class HalfEllipse
Returns the half width.
getHashCode(CollisionBody<?>, Fixture) - Static method in class AbstractCollisionItem
Returns the hashcode for a collision item.
getHashCode(CollisionBody<?>, Fixture, CollisionBody<?>, Fixture) - Static method in class AbstractCollisionPair
Returns the hashcode for a collision pair.
getHeight() - Method in class BinarySearchTree
Returns the maximum depth of the tree.
getHeight() - Method in class AxisAlignedBounds
Returns the height of the bounds.
getHeight() - Method in class DynamicAABBTree
Returns the height of the tree.
getHeight() - Method in class AABB
Returns the height of this AABB.
getHeight() - Method in class Ellipse
Returns the height.
getHeight() - Method in class HalfEllipse
Returns the height.
getHeight() - Method in class Rectangle
Returns the height.
getId() - Method in class ManifoldPoint
Returns the id for this manifold point.
getId() - Method in interface Contact
Returns the ManifoldPointId for this contact.
getId() - Method in class ContactConstraint
Deprecated.
Deprecated in 4.0.0. No replacement.
getId() - Method in class ContactPoint
Deprecated.
Returns the contact point id.
getIncidentEdgeIndex() - Method in class IndexedManifoldPointId
Returns the incident edge index of this manifold on the other Shape.
getIncidentVertexIndex() - Method in class IndexedManifoldPointId
Returns the index of the deepest collision point of the incident edge of this manifold on the other Shape.
getInContactBodies(boolean) - Method in class Body
Deprecated.
Deprecated as of 4.0.0. Use the getInContactBodies method in PhysicsWorld instead.
getInContactBodies(T, boolean) - Method in class AbstractPhysicsWorld
 
getInContactBodies(T, boolean) - Method in class ConstraintGraph
Returns a list of all PhysicsBodys that are in contact with the given PhysicsBody.
getInContactBodies(T, boolean) - Method in interface PhysicsWorld
Returns a list of all PhysicsBodys that are in contact with the given PhysicsBody.
getIndex() - Method in class Feature
Returns the edge index.
getInertia() - Method in class Mass
Returns the inertia tensor.
getInitialTransform() - Method in class Body
Deprecated.
Deprecated in 4.0.0. Use the AbstractCollisionBody.getPreviousTransform() method instead.
getIntersection(AABB) - Method in class AABB
Performs the intersection of this AABB and the given AABB returning the result in a new AABB.
getIntersection(Interval) - Method in class Interval
Returns the intersection of the given Interval and this Interval.
getInverse() - Method in class Matrix22
Returns a new Matrix22 containing the inverse of this Matrix22.
getInverse() - Method in class Matrix33
Returns a new Matrix33 containing the inverse of this Matrix33.
getInversed() - Method in class Rotation
Negates this rotation and returns a new rotation.
getInverseDeltaTime() - Method in class TimeStep
Returns the inverse of the elapsed time (in seconds) since the last time step.
getInverseInertia() - Method in class Mass
Returns the inverse inertia tensor.
getInverseMass() - Method in class Mass
Returns the inverse mass.
getInverseTransformed(Vector2) - Method in class Transform
Inverse transforms the given Vector2 and returns a new Vector2 containing the result.
getInverseTransformed(Vector2, Vector2) - Method in class Transform
Inverse transforms the given Vector2 and returns the result in the destination Vector2.
getInverseTransformedR(Vector2) - Method in class Transform
Inverse transforms the given Vector2 only by the rotation and returns a new Vector2 containing the result.
getInverseTransformedR(Vector2, Vector2) - Method in class Transform
Transforms the given Vector2 only by the rotation and returns the result in the destination Vector2.
getJoinedBodies() - Method in class Body
Deprecated.
Deprecated as of 4.0.0. Use the getJoinedBodies method in PhysicsWorld instead.
getJoinedBodies(T) - Method in class AbstractPhysicsWorld
 
getJoinedBodies(T) - Method in class ConstraintGraph
Returns the PhysicsBodys joined to the given PhysicsBody via Joints.
getJoinedBodies(T) - Method in interface PhysicsWorld
Returns the PhysicsBodys joined to the given PhysicsBody via Joints.
getJoint(int) - Method in class World
Deprecated.
Returns the Joint at the given index.
getJoint(int) - Method in class AbstractPhysicsWorld
 
getJoint(int) - Method in interface PhysicsWorld
Returns the Joint at the given index.
getJointAngle() - Method in class AngleJoint
Returns the relative angle between the two PhysicsBodys in radians in the range [-π, π].
getJointAngle() - Method in class RevoluteJoint
Returns the relative angle between the two PhysicsBodys in radians in the range [-π, π].
getJointCount() - Method in class Capacity
Deprecated.
Returns the estimated number of joints.
getJointCount() - Method in class World
Deprecated.
Returns the number of Joints in this World.
getJointCount() - Method in class AbstractPhysicsWorld
 
getJointCount() - Method in interface PhysicsWorld
Returns the number of Joints in this World.
getJointIterator() - Method in class World
Deprecated.
Returns an iterator for iterating over the joints in this world.
getJointIterator() - Method in class AbstractPhysicsWorld
 
getJointIterator() - Method in interface PhysicsWorld
Returns an iterator for iterating over the joints in this world.
getJoints() - Method in class Body
Deprecated.
Deprecated as of 4.0.0. Use the getJoints method in PhysicsWorld instead.
getJoints() - Method in class World
Deprecated.
Returns an unmodifiable list containing all the joints in this world.
getJoints() - Method in class AbstractPhysicsWorld
 
getJoints() - Method in class ConstraintGraphNode
Returns the list of joints this body is connected with.
getJoints() - Method in interface PhysicsWorld
Returns an unmodifiable list containing all the joints in this world.
getJoints(T) - Method in class AbstractPhysicsWorld
 
getJoints(T) - Method in class ConstraintGraph
Returns the Joints the given PhysicsBody is a member of.
getJoints(T) - Method in interface PhysicsWorld
Returns the Joints the given PhysicsBody is a member of.
getJointSpeed() - Method in class PrismaticJoint
Returns the current joint speed.
getJointSpeed() - Method in class RevoluteJoint
Returns the relative speed at which the PhysicsBodys are rotating in radians/second.
getJointSpeed() - Method in class WheelJoint
Deprecated.
Replaced by WheelJoint.getAngularSpeed() in 3.2.1
getJointTranslation() - Method in class PrismaticJoint
Returns the current joint translation.
getJointTranslation() - Method in class WheelJoint
Deprecated.
getLeftHandOrthogonalVector() - Method in class Vector2
Returns the left-handed normal of this vector.
getLength() - Method in class PulleyJoint
Returns the total length of the pulley "rope."
getLength() - Method in class Capsule
Returns the length of the capsule.
getLength() - Method in class Interval
Returns the length of this interval from its min to its max.
getLength() - Method in class Segment
Returns the length of the line Segment.
getLength1() - Method in class PulleyJoint
Returns the current length from the first pulley anchor point to the anchor point on the first PhysicsBody.
getLength2() - Method in class PulleyJoint
Returns the current length from the second pulley anchor point to the anchor point on the second PhysicsBody.
getLimitState() - Method in class AngleJoint
Deprecated.
Deprecated in 4.0.0.
getLimitState() - Method in class PrismaticJoint
Deprecated.
Deprecated in 4.0.0.
getLimitState() - Method in class PulleyJoint
Deprecated.
Deprecated in 4.0.0.
getLimitState() - Method in class RevoluteJoint
Deprecated.
Deprecated in 4.0.0.
getLimitState() - Method in class RopeJoint
Deprecated.
Deprecated in 4.0.0.
getLinearDamping() - Method in class AbstractPhysicsBody
 
getLinearDamping() - Method in interface PhysicsBody
Returns the linear damping.
getLinearSpeed() - Method in class WheelJoint
Returns the linear speed along the axis between the two joined bodies
getLinearTarget() - Method in class MotorJoint
Returns the desired linear distance along the x and y coordinates from body1's world center.
getLinearTolerance() - Method in class Settings
Returns the linear tolerance.
getLinearToleranceSquared() - Method in class Settings
Returns the linear tolerance squared.
getLinearTranslation() - Method in class WheelJoint
Returns the current linear translation along the joint axis.
getLinearVelocity() - Method in class AbstractPhysicsBody
 
getLinearVelocity() - Method in interface PhysicsBody
Returns the linear velocity.
getLinearVelocity(Vector2) - Method in class AbstractPhysicsBody
 
getLinearVelocity(Vector2) - Method in interface PhysicsBody
Returns the velocity of this body at the given world space point.
getLineIntersection(Segment) - Method in class Segment
Returns the line intersection of the given Segment and this Segment.
getLineIntersection(Vector2, Vector2, Vector2, Vector2) - Static method in class Segment
Returns the intersection point of the two lines or null if they are parallel or coincident.
getListenerCount() - Method in class Capacity
Deprecated.
Returns the estimated number of listeners.
getListenerCount() - Method in class World
Deprecated.
Returns the total number of listeners attached to this world.
getListenerCount(Class<T>) - Method in class World
Deprecated.
Returns the total number of listeners of the given type (or sub types) attached to this world.
getListeners(Class<T>) - Method in class World
Deprecated.
Returns the listeners that are of the given type (or sub types) of the given type.
getListeners(Class<T>, List<T>) - Method in class World
Deprecated.
Returns the listeners of the given type (or sub types) in the given list.
getLocalCenter() - Method in interface CollisionBody
Returns the center for this CollisionBody in local coordinates.
getLocalCenter() - Method in class AbstractPhysicsBody
 
getLocalPoint(Vector2) - Method in class AbstractCollisionBody
 
getLocalPoint(Vector2) - Method in interface CollisionBody
Returns a new point in local coordinates of this CollisionBody given a point in world coordinates.
getLocalVector(Vector2) - Method in class AbstractCollisionBody
 
getLocalVector(Vector2) - Method in interface CollisionBody
Returns a new vector in local coordinates of this CollisionBody given a vector in world coordinates.
getLocation(Vector2, Vector2, Vector2) - Static method in class RobustGeometry
Robust side-of-line test.
getLocation(Vector2, Vector2, Vector2) - Static method in class Segment
Determines where the point is relative to the given line.
getLowerLimit() - Method in class AngleJoint
Returns the lower limit in radians.
getLowerLimit() - Method in class PrismaticJoint
Returns the lower limit in meters.
getLowerLimit() - Method in class RevoluteJoint
Returns the lower rotational limit in radians.
getLowerLimit() - Method in class RopeJoint
Returns the lower limit in meters.
getLowerLimit() - Method in class WheelJoint
Returns the lower limit in meters.
getMagnitude() - Method in class Vector2
Returns the magnitude of this Vector2.
getMagnitude() - Method in class Vector3
Returns the magnitude of this Vector3.
getMagnitudeSquared() - Method in class Vector2
Returns the magnitude of this Vector2 squared.
getMagnitudeSquared() - Method in class Vector3
Returns the magnitude of this Vector3 squared.
getMajorNumber() - Static method in class Version
Returns the major version number.
getManifold() - Method in interface ManifoldCollisionData
Returns the Manifold of the collision.
getManifold() - Method in class WorldCollisionData
 
getManifold(Penetration, Convex, Transform, Convex, Transform, Manifold) - Method in class ClippingManifoldSolver
 
getManifold(Penetration, Convex, Transform, Convex, Transform, Manifold) - Method in interface ManifoldSolver
Returns true if there exists a valid contact manifold between the two Convex Shapes.
getManifoldPointId() - Method in class ContactPointId
Deprecated.
Returns the ManifoldPointId for this contact.
getManifoldSolver() - Method in class World
Deprecated.
Returns the manifold solver.
getManifoldSolver() - Method in class AbstractCollisionWorld
 
getManifoldSolver() - Method in interface CollisionWorld
Returns the manifold solver.
getMask() - Method in class CategoryFilter
Returns the mask bits.
getMass() - Method in class AbstractPhysicsBody
 
getMass() - Method in interface PhysicsBody
Returns this PhysicsBody's mass information.
getMass() - Method in class Mass
Returns the mass.
getMax() - Method in class Interval
Returns the maximum value for this Interval.
getMaxDetectIterations() - Method in class Gjk
Returns the maximum number of iterations the Gjk collision detection algorithm will perform before returning that two convex shapes are not overlapping.
getMaxDistanceIterations() - Method in class Gjk
Returns the maximum number of iterations the Gjk distance algorithm will perform before returning the distance between two separated convex shapes.
getMaximum() - Method in class BinarySearchTree
Returns the maximum value of the tree.
getMaximum() - Method in class EdgeFeature
Returns the maximum point.
getMaximumAngularCorrection() - Method in class Settings
Returns the maximum angular correction.
getMaximumAngularCorrectionSquared() - Method in class Settings
Returns the maximum angular correction squared.
getMaximumAtRestAngularVelocity() - Method in class Settings
Returns the maximum at-rest angular velocity.
getMaximumAtRestAngularVelocitySquared() - Method in class Settings
Returns the maximum at-rest angular velocity squared.
getMaximumAtRestLinearVelocity() - Method in class Settings
Returns the maximum at-rest linear velocity.
getMaximumAtRestLinearVelocitySquared() - Method in class Settings
Returns the maximum at-rest linear velocity squared.
getMaximumForce() - Method in class FrictionJoint
Returns the maximum force this constraint will apply in newtons.
getMaximumForce() - Method in class MotorJoint
Returns the maximum force this constraint will apply in newtons.
getMaximumForce() - Method in class PinJoint
Returns the maximum force this constraint will apply in newtons.
getMaximumLinearCorrection() - Method in class Settings
Returns the maximum linear correction.
getMaximumLinearCorrectionSquared() - Method in class Settings
Returns the maximum linear correction squared.
getMaximumMotorForce() - Method in class PrismaticJoint
Returns the maximum force the motor can apply to the joint to achieve the target speed.
getMaximumMotorTorque() - Method in class RevoluteJoint
Returns the maximum torque this motor will apply in newton-meters.
getMaximumMotorTorque() - Method in class WheelJoint
Returns the maximum torque the motor can apply to the joint to achieve the target speed.
getMaximumRotation() - Method in class Settings
Returns the maximum rotation a PhysicsBody can have in one time step.
getMaximumRotationSquared() - Method in class Settings
Returns the max rotation squared.
getMaximumTorque() - Method in class FrictionJoint
Returns the maximum torque this constraint will apply in newton-meters.
getMaximumTorque() - Method in class MotorJoint
Returns the maximum torque this constraint will apply in newton-meters.
getMaximumTranslation() - Method in class Settings
Returns the maximum translation a PhysicsBody can have in one time step.
getMaximumTranslationSquared() - Method in class Settings
Returns the maximum translation squared.
getMaximumWarmStartDistance() - Method in class Settings
Returns the maximum warm start distance.
getMaximumWarmStartDistanceSquared() - Method in class Settings
Returns the maximum warm start distance squared.
getMaxIterations() - Method in class ConservativeAdvancement
Returns the maximum number of iterations that will be performed by the root finder.
getMaxIterations() - Method in class Epa
Returns the maximum number of iterations the algorithm will perform before exiting.
getMaxIterations() - Method in class Gjk
Deprecated.
replaced with Gjk.getMaxDistanceIterations() since 3.3.0
getMaxRaycastIterations() - Method in class Gjk
Returns the maximum number of iterations the Gjk raycast algorithm will perform before returning that the ray and the convex are not overlapping.
getMaxX() - Method in class AABB
Returns the maximum x extent.
getMaxY() - Method in class AABB
Returns the maximum y extent.
getMin() - Method in class Interval
Returns the minimum value for this Interval.
getMinimum() - Method in class BinarySearchTree
Returns the minimum value of the tree.
getMinimumAtRestTime() - Method in class Settings
Returns the minimum time that a PhysicsBody is motionless before being flagged as at-rest.
getMinkowskiPenetrationSolver() - Method in class Gjk
Returns the MinkowskiPenetrationSolver used to obtain the penetration vector and depth.
getMinorNumber() - Static method in class Version
Returns the minor version number.
getMinX() - Method in class AABB
Returns the minimum x extent.
getMinY() - Method in class AABB
Returns the minimum y extent.
getMotorForce(double) - Method in class PrismaticJoint
Returns the applied motor force.
getMotorSpeed() - Method in class PrismaticJoint
Returns the target motor speed in meters / second.
getMotorSpeed() - Method in class RevoluteJoint
Returns the desired motor speed in radians/second.
getMotorSpeed() - Method in class WheelJoint
Returns the target motor speed in radians / second.
getMotorTorque() - Method in class RevoluteJoint
Returns the motor torque in newton-meters.
getMotorTorque(double) - Method in class WheelJoint
Returns the applied motor torque.
getNarrowphaseDetector() - Method in class World
Deprecated.
Returns the narrow-phase collision detection algorithm.
getNarrowphaseDetector() - Method in class AbstractCollisionWorld
 
getNarrowphaseDetector() - Method in interface CollisionWorld
Returns the narrow-phase collision detection algorithm.
getNarrowphasePostProcessor() - Method in class AbstractCollisionWorld
 
getNarrowphasePostProcessor() - Method in interface CollisionWorld
Returns the narrow-phase post processing algorithm.
getNegative() - Method in class Vector2
Returns a Vector2 which is the negative of this Vector2.
getNegative() - Method in class Vector3
Returns a Vector3 which is the negative of this Vector3.
getNext() - Method in class Link
Returns the next link in the chain.
getNode(T) - Method in class ConstraintGraph
Returns the node for the given body on the graph.
getNormal() - Method in class Manifold
Returns the normal.
getNormal() - Method in class Penetration
Returns the penetration normal.
getNormal() - Method in class Raycast
Returns the normal at the hit point.
getNormal() - Method in class Separation
Returns the separation normal.
getNormal() - Method in class ContactConstraint
Returns the collision normal.
getNormal() - Method in class ContactPoint
Deprecated.
Returns the normal.
getNormalImpulse() - Method in interface SolvedContact
Returns the accumulated normal impulse applied at this point.
getNormalImpulse() - Method in class SolvedContactPoint
Deprecated.
Returns the accumulated normal impulse.
getNormalIterator() - Method in class Polygon
 
getNormalIterator() - Method in class Segment
 
getNormalIterator() - Method in interface Wound
Returns an iterator for the normals.
getNormalized() - Method in class Vector2
Returns a unit Vector2 of this Vector2.
getNormalized() - Method in class Vector3
Returns a unit Vector3 of this Vector3.
getNormals() - Method in class Polygon
 
getNormals() - Method in class Segment
 
getNormals() - Method in interface Wound
Returns the array of edge normals in local coordinates.
getOldDepth() - Method in class PersistedContactPoint
Deprecated.
Returns the old depth.
getOldNormal() - Method in class PersistedContactPoint
Deprecated.
Returns the old contact normal.
getOldPoint() - Method in class PersistedContactPoint
Deprecated.
Returns the old contact point.
getOtherBody(CollisionBody<?>) - Method in class BasicCollisionPair
 
getOtherBody(CollisionBody<?>) - Method in interface CollisionPair
Returns the body that does not match the given body.
getOtherBody(CollisionBody<?>) - Method in class ContactConstraint
Returns the body that does not match the given body.
getOtherBody(CollisionBody<?>) - Method in class Joint
Returns the body that does not match the given body.
getOtherFixture(CollisionBody<?>) - Method in class BasicCollisionPair
 
getOtherFixture(CollisionBody<?>) - Method in interface CollisionPair
Returns the fixture for the body that does not match the given body.
getOtherFixture(CollisionBody<?>) - Method in class ContactConstraint
Returns the fixture for the body that does not match the given body.
getOverlap(Interval) - Method in class Interval
Returns the amount of overlap between this Interval and the given Interval.
getOwner() - Method in class AbstractCollisionBody
 
getOwner() - Method in class Joint
 
getOwner() - Method in interface Ownable
Returns the owner for this body.
getPair() - Method in interface BroadphaseCollisionData
Returns the collision pair.
getPair() - Method in class WorldCollisionData
 
getPenetration() - Method in class DetectResult
Deprecated.
Returns the overlap penetration (collision data).
getPenetration() - Method in interface NarrowphaseCollisionData
Returns the Penetration.
getPenetration() - Method in class ConvexDetectResult
Returns the penetration data.
getPenetration() - Method in class WorldCollisionData
 
getPenetration(List<Vector2>, MinkowskiSum, Penetration) - Method in class Epa
 
getPenetration(List<Vector2>, MinkowskiSum, Penetration) - Method in interface MinkowskiPenetrationSolver
Returns the penetration vector and depth in the given Penetration object given the final simplex from Gjk and MinkowskiSum.
getPerimeter() - Method in class AABB
Returns the perimeter of this AABB.
getPerimeterRatio() - Method in class DynamicAABBTree
Returns a quality metric for the tree.
getPoint() - Method in class ManifoldPoint
Returns the contact point.
getPoint() - Method in class MinkowskiSumPoint
Returns the Minkowski sum point given the two support points.
getPoint() - Method in class Raycast
Returns the hit point.
getPoint() - Method in interface Contact
Returns the world space collision point.
getPoint() - Method in class ContactPoint
Deprecated.
Returns the contact point.
getPoint() - Method in class PointFeature
Returns the point.
getPoint0() - Method in class Link
Returns the last vertex of the previous segment.
getPoint1() - Method in class Separation
Returns the closest point on the first Convex Shape.
getPoint1() - Method in class Segment
Returns point1 in local coordinates.
getPoint2() - Method in class Separation
Returns the closest point on the second Convex Shape.
getPoint2() - Method in class Segment
Returns point2 in local coordinates.
getPoint3() - Method in class Link
Returns the first vertex of the next segment.
getPointOnLineClosestToPoint(Vector2) - Method in class Segment
Returns the point on the line that this Segment defines closest to the given point.
getPointOnLineClosestToPoint(Vector2, Vector2, Vector2) - Static method in class Segment
Returns the point on the given line closest to the given point.
getPointOnSegmentClosestToPoint(Vector2) - Method in class Segment
Returns the point on this Segment closest to the given point.
getPointOnSegmentClosestToPoint(Vector2, Vector2, Vector2) - Static method in class Segment
Returns the point on the given line segment closest to the given point.
getPoints() - Method in class Manifold
Returns the list of manifold points.
getPositionConstraintSolverIterations() - Method in class Settings
Returns the number of iterations used to solve position constraints.
getPrevious() - Method in class Link
Returns the previous link in the chain.
getPreviousInverseDeltaTime() - Method in class TimeStep
Returns the previous frame's inverse elapsed time (in seconds).
getPreviousTransform() - Method in class AbstractCollisionBody
 
getPreviousTransform() - Method in interface CollisionBody
Returns the transform of the last iteration.
getPrevousDeltaTime() - Method in class TimeStep
Returns the previous frame's elapsed time in seconds.
getPrimaryNarrowphaseDetector() - Method in class FallbackNarrowphaseDetector
Returns the primary NarrowphaseDetector.
getPulleyAnchor1() - Method in class PulleyJoint
Returns the pulley anchor point for the first PhysicsBody in world coordinates.
getPulleyAnchor2() - Method in class PulleyJoint
Returns the pulley anchor point for the second PhysicsBody in world coordinates.
getQueueCount() - Method in interface ContactManager
Deprecated.
Returns the number of contact constraints in the queue.
getQueueCount() - Method in class DefaultContactManager
Deprecated.
 
getRadius() - Method in class AbstractShape
 
getRadius() - Method in interface Shape
Returns the maximum radius of the shape from the center.
getRadius(Vector2) - Method in class Capsule
 
getRadius(Vector2) - Method in class Circle
 
getRadius(Vector2) - Method in class Ellipse
 
getRadius(Vector2) - Method in class HalfEllipse
 
getRadius(Vector2) - Method in class Polygon
 
getRadius(Vector2) - Method in class Segment
 
getRadius(Vector2) - Method in interface Shape
Returns the radius of the shape if the given point was the center for this shape.
getRadius(Vector2) - Method in class Slice
 
getRatio() - Method in class AngleJoint
Returns the angular velocity ratio between the two bodies.
getRatio() - Method in class PulleyJoint
Returns the pulley ratio.
getRaycast() - Method in class RaycastResult
Deprecated.
Returns the Raycast result information.
getRaycast() - Method in class RaycastResult
Returns the raycast information.
getRaycastDetector() - Method in class World
Deprecated.
Returns the raycast detector.
getRaycastDetector() - Method in class AbstractCollisionWorld
 
getRaycastDetector() - Method in interface CollisionWorld
Returns the raycast detector.
getRaycastEpsilon() - Method in class Gjk
Returns the Gjk raycast epsilon.
getReactionForce(double) - Method in class AngleJoint
Returns the force applied to the PhysicsBodys in order to satisfy the constraint in newtons.
getReactionForce(double) - Method in class DistanceJoint
 
getReactionForce(double) - Method in class FrictionJoint
 
getReactionForce(double) - Method in class Joint
Returns the force applied to the PhysicsBodys in order to satisfy the constraint in newtons.
getReactionForce(double) - Method in class MotorJoint
 
getReactionForce(double) - Method in class PinJoint
 
getReactionForce(double) - Method in class PrismaticJoint
 
getReactionForce(double) - Method in class PulleyJoint
 
getReactionForce(double) - Method in class RevoluteJoint
 
getReactionForce(double) - Method in class RopeJoint
 
getReactionForce(double) - Method in class WeldJoint
 
getReactionForce(double) - Method in class WheelJoint
 
getReactionTorque(double) - Method in class AngleJoint
 
getReactionTorque(double) - Method in class DistanceJoint
Returns the torque applied to the PhysicsBodys in order to satisfy the constraint in newton-meters.
getReactionTorque(double) - Method in class FrictionJoint
 
getReactionTorque(double) - Method in class Joint
Returns the torque applied to the PhysicsBodys in order to satisfy the constraint in newton-meters.
getReactionTorque(double) - Method in class MotorJoint
 
getReactionTorque(double) - Method in class PinJoint
Returns the torque applied to the PhysicsBodys in order to satisfy the constraint in newton-meters.
getReactionTorque(double) - Method in class PrismaticJoint
 
getReactionTorque(double) - Method in class PulleyJoint
Returns the torque applied to the PhysicsBodys in order to satisfy the constraint in newton-meters.
getReactionTorque(double) - Method in class RevoluteJoint
 
getReactionTorque(double) - Method in class RopeJoint
Returns the torque applied to the PhysicsBodys in order to satisfy the constraint in newton-meters.
getReactionTorque(double) - Method in class WeldJoint
 
getReactionTorque(double) - Method in class WheelJoint
 
getReferenceAngle() - Method in class AngleJoint
Returns the reference angle.
getReferenceAngle() - Method in class PrismaticJoint
Returns the reference angle.
getReferenceAngle() - Method in class RevoluteJoint
Returns the reference angle.
getReferenceAngle() - Method in class WeldJoint
Returns the reference angle.
getReferenceEdgeIndex() - Method in class IndexedManifoldPointId
Returns the reference edge index of this manifold on the Shape.
getRestitution() - Method in class BodyFixture
Returns the coefficient of restitution.
getRestitution() - Method in class ContactConstraint
Returns the coefficient of restitution for this contact constraint.
getRestitution(BodyFixture, BodyFixture) - Method in interface ContactUpdateHandler
Returns the coefficient of restitution given the two BodyFixtures in contact.
getRestitutionVelocity() - Method in class Settings
Returns the restitution velocity.
getRestitutionVelocitySquared() - Method in class Settings
Returns the restitution velocity squared.
getRevisionNumber() - Static method in class Version
Returns the revision number.
getRightHandOrthogonalVector() - Method in class Vector2
Returns the right-handed normal of this vector.
getRoot() - Method in class BinarySearchTree
Returns the root of the tree.
getRotated(double) - Method in class Rotation
Rotates this rotation by the given angle and returns a new rotation.
getRotated(double, double) - Method in class Rotation
Internal method that return a new Rotation representing this Rotation after being rotated by an angle θ.
getRotated(Rotation) - Method in class Rotation
Rotates this rotation by the given rotation and returns a new rotation.
getRotated135() - Method in class Rotation
Rotates this rotation 135 degrees and returns a new rotation.
getRotated180() - Method in class Rotation
Rotates this rotation 180 degrees and returns a new rotation.
getRotated225() - Method in class Rotation
Rotates this rotation 225 degrees and returns a new rotation.
getRotated270() - Method in class Rotation
Rotates this rotation 270 degrees and returns a new rotation.
getRotated315() - Method in class Rotation
Rotates this rotation 315 degrees and returns a new rotation.
getRotated45() - Method in class Rotation
Rotates this rotation 45 degrees and returns a new rotation.
getRotated90() - Method in class Rotation
Rotates this rotation 90 degrees and returns a new rotation.
getRotation() - Method in class Capsule
 
getRotation() - Method in class Ellipse
 
getRotation() - Method in class HalfEllipse
 
getRotation() - Method in class Rectangle
 
getRotation() - Method in class Slice
 
getRotation() - Method in class Transform
 
getRotationAngle() - Method in class Capsule
Returns the rotation about the local center in radians in the range [-π, π].
getRotationAngle() - Method in class Ellipse
Returns the rotation about the local center in radians.
getRotationAngle() - Method in class HalfEllipse
Returns the rotation about the local center in radians.
getRotationAngle() - Method in class Rectangle
Returns the rotation about the local center in radians in the range [-π, π].
getRotationAngle() - Method in class Slice
Returns the rotation about the local center in radians.
getRotationAngle() - Method in class Transform
Returns the rotation.
getRotationBetween(Rotation) - Method in class Rotation
Returns the angle between this and the given Rotation represented as a new Rotation.
getRotationBetween(Vector2) - Method in class Rotation
Returns the angle between this Rotation and the given Vector2 represented as a new Rotation.
getRotationDiscRadius() - Method in class AbstractCollisionBody
 
getRotationDiscRadius() - Method in interface CollisionBody
Returns the maximum radius of the disk that the CollisionBody creates if rotated 360 degrees about its center.
getRotationRadius(Vector2...) - Static method in class Geometry
Returns the maximum radius of the given vertices rotated about the origin.
getRotationRadius(Vector2, Vector2...) - Static method in class Geometry
Returns the maximum radius of the given vertices rotated about the given center.
getRotationTransform() - Method in class Transform
Returns a new Transform including only the rotation of this Transform.
getSegmentIntersection(Segment) - Method in class Segment
Returns the intersection of the given Segment and this Segment.
getSegmentIntersection(Vector2, Vector2, Vector2, Vector2) - Static method in class Segment
Returns the intersection point of the two line segments or null if they are parallel, coincident or don't intersect.
getSeparation() - Method in class TimeOfImpact
Returns the separation at the time of impact.
getSettings() - Method in class World
Deprecated.
Returns the settings for this world.
getSettings() - Method in class AbstractPhysicsWorld
 
getSettings() - Method in interface PhysicsWorld
Returns the settings for this world.
getShape() - Method in class Fixture
The Convex Shape representing the geometry of this fixture.
getSint() - Method in class Rotation
Returns the value of sin(θ) for this Rotation.
getSleepAngularVelocity() - Method in class Settings
Deprecated.
Deprecated in 4.0.0. Use Settings.getMaximumAtRestAngularVelocity() instead.
getSleepAngularVelocitySquared() - Method in class Settings
Deprecated.
Deprecated in 4.0.0. Use Settings.getMaximumAtRestAngularVelocitySquared() instead.
getSleepLinearVelocity() - Method in class Settings
Deprecated.
Deprecated in 4.0.0. Use Settings.getMaximumAtRestLinearVelocity() instead.
getSleepLinearVelocitySquared() - Method in class Settings
Deprecated.
Deprecated in 4.0.0. Use Settings.getMaximumAtRestLinearVelocitySquared() instead.
getSleepTime() - Method in class Settings
Deprecated.
Deprecated in 4.0.0. Use Settings.getMinimumAtRestTime() instead.
getSliceRadius() - Method in class Slice
Returns the slice radius.
getSortIndex() - Method in class AbstractFallbackCondition
 
getSortIndex() - Method in interface FallbackCondition
Returns the sort index for this condition.
getStart() - Method in class Ray
Returns the start point.
getStep() - Method in class World
Deprecated.
Returns the Step object used to advance the simulation.
getStep() - Method in class World
Deprecated.
Deprecated in 4.0.0. Use the AbstractPhysicsWorld.getTimeStep() method instead.
getStepFrequency() - Method in class Settings
Returns the step frequency of the dynamics engine in seconds.
getStepListeners() - Method in class AbstractPhysicsWorld
 
getStepListeners() - Method in interface PhysicsWorld
Returns an unmodifiable list of all the step listeners registered to this world.
getSupportPoint(Vector2) - Method in class MinkowskiSum
Returns the farthest point in the Minkowski sum given the direction.
getSupportPoint1() - Method in class MinkowskiSumPoint
Returns the support point for the first Convex Shape.
getSupportPoint2() - Method in class MinkowskiSumPoint
Returns the support point for the second Convex Shape.
getSupportPoints(Vector2) - Method in class MinkowskiSum
Returns the farthest point, and the support points in the shapes, in the Minkowski sum given the direction.
getTangent() - Method in class ContactConstraint
Returns the collision tangent.
getTangentialImpulse() - Method in interface SolvedContact
Returns the accumulated tangential impulse applied at this point.
getTangentialImpulse() - Method in class SolvedContactPoint
Deprecated.
Returns the accumulated tangential impulse.
getTangentSpeed() - Method in class ContactConstraint
Returns the surface speed of the contact constraint.
getTarget() - Method in class PinJoint
Returns the target point in world coordinates
getTheta() - Method in class Slice
Returns the angular extent of the slice in radians.
getTime() - Method in class TimeOfImpact
Returns the time of impact in the range [0, 1].
getTimeOfImpact() - Method in class ConvexCastResult
Deprecated.
Returns the time of impact information.
getTimeOfImpact() - Method in class ConvexCastResult
Returns the TimeOfImpact data.
getTimeOfImpact(Convex, Transform, Vector2, double, Convex, Transform, Vector2, double, double, double, TimeOfImpact) - Method in class ConservativeAdvancement
 
getTimeOfImpact(Convex, Transform, Vector2, double, Convex, Transform, Vector2, double, double, double, TimeOfImpact) - Method in interface TimeOfImpactDetector
Detects whether the given Convex Shapes collide given their current positions and orientation and the rate of change their position and orientation in the time range of [t1, t2] and returning the time of impact within an epsilon.
getTimeOfImpact(Convex, Transform, Vector2, double, Convex, Transform, Vector2, double, TimeOfImpact) - Method in class ConservativeAdvancement
 
getTimeOfImpact(Convex, Transform, Vector2, double, Convex, Transform, Vector2, double, TimeOfImpact) - Method in interface TimeOfImpactDetector
Detects whether the given Convex Shapes collide given their current positions and orientation and the rate of change their position and orientation, returning the time of impact within an epsilon.
getTimeOfImpactDetector() - Method in class World
Deprecated.
Returns the time of impact detector.
getTimeOfImpactDetector() - Method in class AbstractCollisionWorld
 
getTimeOfImpactDetector() - Method in interface CollisionWorld
Returns the time of impact detector.
getTimeOfImpactListeners() - Method in class AbstractPhysicsWorld
 
getTimeOfImpactListeners() - Method in interface PhysicsWorld
Returns an unmodifiable list of all the time of impact listeners registered to this world.
getTimeOfImpactSolver() - Method in class AbstractPhysicsWorld
 
getTimeOfImpactSolver() - Method in interface PhysicsWorld
Returns the TimeOfImpactSolver.
getTimeStep() - Method in class AbstractPhysicsWorld
 
getTimeStep() - Method in interface PhysicsWorld
Returns the TimeStep object used to advance the simulation.
getTorque() - Method in class AbstractPhysicsBody
 
getTorque() - Method in interface PhysicsBody
Returns the torque applied in the last iteration.
getTorque() - Method in class Torque
Returns the torque value.
getTransform() - Method in class AbstractCollisionBody
 
getTransform() - Method in interface CollisionBody
Returns the local to world space Transform of this CollisionBody.
getTransform1() - Method in class MinkowskiSum
Returns the first Convex Shape's Transform.
getTransform2() - Method in class MinkowskiSum
Returns the second Convex Shape's Transform.
getTransformed(Vector2) - Method in class Transform
Transforms the given Vector2 and returns a new Vector2 containing the result.
getTransformed(Vector2, Vector2) - Method in class Transform
Transforms the given Vector2 and returns the result in dest.
getTransformedR(Vector2) - Method in class Transform
Transforms the given Vector2 only by the rotation and returns a new Vector2 containing the result.
getTransformedR(Vector2, Vector2) - Method in class Transform
Transforms the given Vector2 only by the rotation and returns the result in the destination Vector2.
getTransformedX(Vector2) - Method in class Transform
Transforms only the x coordinate of the given Vector2 and returns the result.
getTransformedY(Vector2) - Method in class Transform
Transforms only the y coordinate of the given Vector2 and returns the result.
getTranslated(Vector2) - Method in class AABB
Returns a new AABB of this AABB translated by the given translation amount.
getTranslation() - Method in class AbstractBounds
 
getTranslation() - Method in interface Bounds
Returns the translation of the bounds.
getTranslation() - Method in class Transform
Returns the translation Vector2.
getTranslationTransform() - Method in class Transform
Returns a new Transform including only the translation of this Transform.
getTranslationX() - Method in class Transform
Returns the x translation.
getTranslationY() - Method in class Transform
Returns the x translation.
getTranspose() - Method in class Matrix22
Returns the the transpose of this Matrix22 in a new Matrix22.
getTranspose() - Method in class Matrix33
Returns the the transpose of this Matrix33 in a new Matrix33.
getType() - Method in class SingleTypedFallbackCondition
Returns the type for this fallback condition.
getType() - Method in class Mass
Returns the mass type.
getType1() - Method in class PairwiseTypedFallbackCondition
Returns the first type for this fallback condition.
getType2() - Method in class PairwiseTypedFallbackCondition
Returns the second type for this fallback condition.
getUnion(AABB) - Method in class AABB
Performs a union of this AABB and the given AABB returning a new AABB containing the result.
getUnion(Interval) - Method in class Interval
Returns the union of the given Interval and this Interval.
getUpperLimit() - Method in class AngleJoint
Returns the upper limit in radians.
getUpperLimit() - Method in class PrismaticJoint
Returns the upper limit in meters.
getUpperLimit() - Method in class RevoluteJoint
Returns the upper rotational limit in radians.
getUpperLimit() - Method in class RopeJoint
Returns the upper limit in meters.
getUpperLimit() - Method in class WheelJoint
Returns the upper limit in meters.
getUserData() - Method in class AbstractCollisionBody
 
getUserData() - Method in class Fixture
 
getUserData() - Method in interface DataContainer
Gets the custom user data.
getUserData() - Method in class Joint
 
getUserData() - Method in class World
Deprecated.
 
getUserData() - Method in class AbstractShape
 
getUserData() - Method in class AbstractCollisionWorld
 
getValues() - Method in class Transform
Returns the values stored in this transform.
getVelocityConstraintSolverIterations() - Method in class Settings
Returns the number of iterations used to solve velocity constraints.
getVersion() - Static method in class Version
Returns the version as a string.
getVersionNumbers() - Static method in class Version
Returns the version numbers in an array of ints.
getVertex1() - Method in class EdgeFeature
Returns the first vertex of the edge.
getVertex2() - Method in class EdgeFeature
Returns the second vertex of the edge.
getVertexIterator() - Method in class Polygon
 
getVertexIterator() - Method in class Segment
 
getVertexIterator() - Method in interface Wound
Returns an iterator for the vertices.
getVertices() - Method in class Polygon
 
getVertices() - Method in class Segment
 
getVertices() - Method in interface Wound
Returns the array of vertices in local coordinates.
getWarmStartDistance() - Method in class Settings
Deprecated.
Deprecated in 4.0.0. Use Settings.getMaximumWarmStartDistance() instead.
getWarmStartDistanceSquared() - Method in class Settings
Deprecated.
Deprecated in 4.0.0. Use Settings.getMaximumWarmStartDistanceSquared() instead.
getWidth() - Method in class AxisAlignedBounds
Returns the width of the bounds.
getWidth() - Method in class AABB
Returns the width of this AABB.
getWidth() - Method in class Ellipse
Returns the width.
getWidth() - Method in class HalfEllipse
Returns the width.
getWidth() - Method in class Rectangle
Returns the width.
getWinding(List<Vector2>) - Static method in class Geometry
Returns the winding, Clockwise or Counter-Clockwise, for the given list of points of a polygon.
getWinding(Vector2...) - Static method in class Geometry
Returns the winding, Clockwise or Counter-Clockwise, for the given array of points of a polygon.
getWorldCenter() - Method in class AbstractCollisionBody
 
getWorldCenter() - Method in interface CollisionBody
Returns the center for this CollisionBody in world coordinates.
getWorldCenter() - Method in class AbstractPhysicsBody
 
getWorldPoint(Vector2) - Method in class AbstractCollisionBody
 
getWorldPoint(Vector2) - Method in interface CollisionBody
Returns a new point in world coordinates given a point in the local coordinates of this CollisionBody.
getWorldVector(Vector2) - Method in class AbstractCollisionBody
 
getWorldVector(Vector2) - Method in interface CollisionBody
Returns a new vector in world coordinates given a vector in the local coordinates of this CollisionBody.
getXComponent() - Method in class Vector2
Returns the x component of this Vector2.
getXComponent() - Method in class Vector3
Returns the x component of this Vector3.
getYComponent() - Method in class Vector2
Returns the y component of this Vector2.
getYComponent() - Method in class Vector3
Returns the y component of this Vector3.
getZComponent() - Method in class Vector3
Returns the z component of this Vector3.
GiftWrap - Class in org.dyn4j.geometry.hull
Implementation of the Gift Wrapping convex hull algorithm.
GiftWrap() - Constructor for class GiftWrap
 
Gjk - Class in org.dyn4j.collision.narrowphase
Implementation of the Gilbert-Johnson-Keerthi (GJK) algorithm for collision detection.
Gjk() - Constructor for class Gjk
Default constructor.
Gjk(MinkowskiPenetrationSolver) - Constructor for class Gjk
Optional constructor.
GrahamScan - Class in org.dyn4j.geometry.hull
Implementation of the Graham Scan convex hull algorithm.
GrahamScan() - Constructor for class GrahamScan
 

H

HalfEllipse - Class in org.dyn4j.geometry
Implementation of an Half-Ellipse Convex Shape.
HalfEllipse(double, double) - Constructor for class HalfEllipse
Minimal constructor.
hashCode() - Method in class BasicCollisionItem
 
hashCode() - Method in class BasicCollisionPair
 
hashCode() - Method in class CategoryFilter
 
hashCode() - Method in class IndexedManifoldPointId
 
hashCode() - Method in class AbstractFallbackCondition
 
hashCode() - Method in class PairwiseTypedFallbackCondition
 
hashCode() - Method in class SingleTypedFallbackCondition
 
hashCode() - Method in class Capacity
Deprecated.
 
hashCode() - Method in class ContactConstraintId
Deprecated.
 
hashCode() - Method in class ContactPointId
Deprecated.
 
hashCode() - Method in class AABB
 
hashCode() - Method in class Mass
 
hashCode() - Method in class Matrix22
 
hashCode() - Method in class Matrix33
 
hashCode() - Method in class Rotation
 
hashCode() - Method in class Vector2
 
hashCode() - Method in class Vector3
 
hashCode() - Method in class Reference
 
headIterator(E) - Method in class BinarySearchTree
Returns the in-order (ascending) iterator.
HullGenerator - Interface in org.dyn4j.geometry.hull
Represents an algorithm used to create a convex hull of a given point set.

I

identity() - Method in class Matrix22
Sets this Matrix22 to an identity Matrix22.
identity() - Method in class Matrix33
Sets this Matrix33 to an identity Matrix33.
identity() - Method in class Transform
Sets this Transform to the identity.
IDENTITY - Static variable in class Transform
Deprecated.
create your own instances of Transform instead; since 3.4.0
INACTIVE - LimitState
Deprecated.
The state if the joint limits are disabled or if the joint is between the limits
includesExclusive(double) - Method in class Interval
Returns true if the given value is within this Interval exlcuding the maximum and minimum.
includesInclusive(double) - Method in class Interval
Returns true if the given value is within this Interval including the maximum and minimum.
includesInclusiveMax(double) - Method in class Interval
Returns true if the given value is within this Interval including the maximum and excluding the minimum.
includesInclusiveMin(double) - Method in class Interval
Returns true if the given value is within this Interval including the minimum and excluding the maximum.
IndexedManifoldPointId - Class in org.dyn4j.collision.manifold
Represents a ManifoldPointId that uses edge indexing.
IndexedManifoldPointId(int, int, int) - Constructor for class IndexedManifoldPointId
Optional constructor.
IndexedManifoldPointId(int, int, int, boolean) - Constructor for class IndexedManifoldPointId
Full constructor.
INFINITE - MassType
Indicates that the mass is infinite (rate of rotation and translation should not change)
initialize(List<ContactConstraint<T>>, TimeStep, Settings) - Method in interface ContactConstraintSolver
Performs initialization of the contact constraints.
initialize(List<ContactConstraint<T>>, TimeStep, Settings) - Method in class SequentialImpulses
 
initializeConstraints(TimeStep, Settings) - Method in class AngleJoint
 
initializeConstraints(TimeStep, Settings) - Method in class DistanceJoint
 
initializeConstraints(TimeStep, Settings) - Method in class FrictionJoint
 
initializeConstraints(TimeStep, Settings) - Method in class Joint
Performs any initialization of the velocity and position constraints.
initializeConstraints(TimeStep, Settings) - Method in class MotorJoint
 
initializeConstraints(TimeStep, Settings) - Method in class PinJoint
 
initializeConstraints(TimeStep, Settings) - Method in class PrismaticJoint
 
initializeConstraints(TimeStep, Settings) - Method in class PulleyJoint
 
initializeConstraints(TimeStep, Settings) - Method in class RevoluteJoint
 
initializeConstraints(TimeStep, Settings) - Method in class RopeJoint
 
initializeConstraints(TimeStep, Settings) - Method in class WeldJoint
 
initializeConstraints(TimeStep, Settings) - Method in class WheelJoint
 
inOrderIterator() - Method in class BinarySearchTree
Returns a new iterator for traversing the tree in order.
insert(E) - Method in class BinarySearchTree
Inserts the given comparable into this binary tree.
integratePosition(TimeStep, Settings) - Method in class AbstractPhysicsBody
 
integratePosition(TimeStep, Settings) - Method in interface PhysicsBody
Integrates the linear and angular velocities to update the position and rotation of this body
integrateVelocity(Vector2, TimeStep, Settings) - Method in class AbstractPhysicsBody
 
integrateVelocity(Vector2, TimeStep, Settings) - Method in interface PhysicsBody
Integrates the forces, torques, and gravity to update the linear and angular velocity of this body.
intersection(AABB) - Method in class AABB
Performs the intersection of this AABB and the given AABB placing the result into this AABB and then returns this AABB.
intersection(AABB, AABB) - Method in class AABB
Performs the intersection of the given AABBs and places the result into this AABB and then returns this AABB.
intersection(Interval) - Method in class Interval
Sets this Interval to the intersection of this Interval and the given Interval.
Interval - Class in org.dyn4j.geometry
Represents a one dimensional numeric Interval.
Interval(double, double) - Constructor for class Interval
Full constructor.
Interval(Interval) - Constructor for class Interval
Copy constructor.
INV_3 - Static variable in class Geometry
The value of 1/3
INV_SQRT_3 - Static variable in class Geometry
The value of the inverse of the square root of 3; 1/sqrt(3)
inverse() - Method in class Rotation
Negates this rotation and returns this rotation.
inverseRotate(double) - Method in class Vector2
Rotates about the origin by the inverse angle -ϑ.
inverseRotate(double, double, double) - Method in class Vector2
Rotates about the given coordinates by the inverse angle -ϑ.
inverseRotate(double, Vector2) - Method in class Vector2
Rotates the Vector2 about the given point by the inverse angle -ϑ.
inverseRotate(Rotation) - Method in class Vector2
Rotates about the origin by the inverse angle -ϑ.
inverseRotate(Rotation, double, double) - Method in class Vector2
Rotates about the given coordinates by the inverse angle -ϑ.
inverseRotate(Rotation, Vector2) - Method in class Vector2
Rotates the Vector2 about the given point by the inverse angle -ϑ.
inverseTransform(Vector2) - Method in class Transform
Inverse transforms the given Vector2 and places the result in the given Vector2.
inverseTransformR(Vector2) - Method in class Transform
Transforms the given Vector2 only by the rotation and returns the result in the given Vector2.
invert() - Method in class Matrix22
Performs the inverse of this Matrix22 and places the result in this Matrix22.
invert() - Method in class Matrix33
Performs the inverse of this Matrix33 and places the result in this Matrix33.
invert(Matrix22) - Method in class Matrix22
Performs the inverse of this Matrix22 and places the result in the given Matrix22.
isAABBExpansionSupported() - Method in class AbstractBroadphaseDetector
 
isAABBExpansionSupported() - Method in interface BroadphaseDetector
Returns whether this particular BroadphaseDetector supports expanding AABBs.
isAABBExpansionSupported() - Method in class BruteForceBroadphase
 
isAABBExpansionSupported() - Method in class LazyAABBTree
Deprecated.
 
isActive() - Method in class AbstractPhysicsBody
Deprecated.
isActive() - Method in class Joint
Deprecated.
Deprecated in 4.0.0. Use the isEnabled method instead
isActive() - Method in interface PhysicsBody
Deprecated.
Deprecated in 4.0.0. Use CollisionBody.isEnabled() instead.
isAllowed(Filter) - Method in class CategoryFilter
Returns true if the given Filter and this Filter allow the objects to interact.
isAllowed(Filter) - Method in interface Filter
Returns true if the given Filter and this Filter allow the objects to interact.
isAllowed(Filter) - Method in class TypeFilter
Returns true under the following conditions: If this filter is the same type as the given filter. If this filter type is a descendant of the given filter's type. If the given filter's type is a descendant of this filter's type. If the given filter is not of type TypeFilter then false is returned.
isAllowed(Body, BodyFixture, Body, BodyFixture) - Method in class DetectBroadphaseFilter
Deprecated.
 
isAllowed(AABB, Body, BodyFixture) - Method in class AABBBroadphaseFilter
Deprecated.
 
isAllowed(AABB, T, E) - Method in interface BroadphaseFilter
Deprecated.
Deprecated in 4.0.0. This was replaced with a specific AABB filter interface.
isAllowed(AABB, T, E) - Method in class BroadphaseFilterAdapter
Deprecated.
isAllowed(Ray, double, Body, BodyFixture) - Method in class RaycastBroadphaseFilter
Deprecated.
 
isAllowed(Ray, double, T, E) - Method in interface BroadphaseFilter
Deprecated.
Deprecated in 4.0.0. This was replaced with a specific Ray filter interface.
isAllowed(Ray, double, T, E) - Method in class BroadphaseFilterAdapter
Deprecated.
isAllowed(T, E) - Method in class DetectFilter
Returns true if the given CollisionBody and Fixture is allowed to be in the results of the query.
isAllowed(T, E, T, E) - Method in interface BroadphaseFilter
Deprecated.
Returns true if this result should be added to the results list.
isAllowed(T, E, T, E) - Method in class BroadphaseFilterAdapter
Deprecated.
 
isAllowed(T, E, T, E) - Method in class DefaultBroadphaseFilter
Deprecated.
 
isAllowed(T, E, T, E) - Method in interface BroadphaseFilter
Returns true if this result should be added to the results list.
isAllowed(T, E, T, E) - Method in class BroadphaseFilterAdapter
 
isAllowed(T, E, T, E) - Method in class CollisionBodyBroadphaseFilter
 
isAllowed(T, BodyFixture, T, BodyFixture) - Method in class PhysicsBodyBroadphaseFilter
 
isAsleep() - Method in class AbstractPhysicsBody
Deprecated.
isAsleep() - Method in interface PhysicsBody
Deprecated.
Deprecated in 4.0.0. Use PhysicsBody.isAtRest() instead.
isAtRest() - Method in class AbstractPhysicsBody
 
isAtRest() - Method in interface PhysicsBody
Returns true if this PhysicsBody is at-rest.
isAtRestDetectionEnabled() - Method in class AbstractPhysicsBody
 
isAtRestDetectionEnabled() - Method in interface PhysicsBody
Returns true if this PhysicsBody can participate in automatic at-rest detection.
isAtRestDetectionEnabled() - Method in class Settings
Returns true if the engine automatically flags PhysicsBodys as at-rest.
isAutoSleepingEnabled() - Method in class AbstractPhysicsBody
Deprecated.
isAutoSleepingEnabled() - Method in interface PhysicsBody
Deprecated.
Deprecated in 4.0.0. Use PhysicsBody.isAtRestDetectionEnabled() instead.
isAutoSleepingEnabled() - Method in class Settings
Deprecated.
Deprecated in 4.0.0. Use Settings.isAtRestDetectionEnabled() instead.
isBroadphaseCollision() - Method in interface CollisionData
Returns true if the CollisionPair is a broadphase collision.
isBroadphaseCollision() - Method in class WorldCollisionData
 
isBullet() - Method in class AbstractPhysicsBody
 
isBullet() - Method in interface PhysicsBody
Returns true if this PhysicsBody is a bullet.
isCollisionAllowed() - Method in class Joint
Returns true if collision between the joined PhysicsBodys is allowed.
isCollisionAllowed() - Method in class PinJoint
 
isComplete(double) - Method in class Force
Returns true if this force should be removed.
isComplete(double) - Method in class Torque
Returns true if this torque should be removed.
isConnected(Body) - Method in class Body
Deprecated.
Deprecated in 4.0.0. Use the isJoined method in PhysicsWorld instead.
isConnected(Body, boolean) - Method in class Body
Deprecated.
Deprecated in 4.0.0. Use the isJoined method in PhysicsWorld instead.
isContactConstraintCollision() - Method in interface ContactCollisionData
Returns true if the CollisionPair is a contact constraint collision.
isContactConstraintCollision() - Method in class WorldCollisionData
 
isDegenerate() - Method in class AABB
Returns true if this AABB is degenerate.
isDegenerate() - Method in class Interval
Returns true if this Interval is degenerate.
isDegenerate(double) - Method in class AABB
Returns true if this AABB is degenerate given the specified error.
isDegenerate(double) - Method in class Interval
Returns true if this Interval is degenerate given the allowed error.
isDynamic() - Method in class AbstractPhysicsBody
 
isDynamic() - Method in interface PhysicsBody
Returns true if this body's mass type is NOT MassType.INFINITE.
isEmpty() - Method in class BinarySearchTree
Returns true if this tree is empty.
isEmpty() - Method in class World
Deprecated.
Returns true if this world doesn't contain any bodies or joints.
isEmpty() - Method in class AbstractCollisionWorld
 
isEmpty() - Method in class AbstractPhysicsWorld
 
isEmpty() - Method in interface CollisionWorld
Returns true if this world doesn't contain any bodies or joints.
isEnabled() - Method in class AbstractCollisionBody
 
isEnabled() - Method in interface CollisionBody
Returns true if this CollisionBody is enabled.
isEnabled() - Method in class ContactConstraint
Returns true if this contact constraint is enabled for processing by the collision resolution step.
isEnabled() - Method in class Joint
Returns true if this Joint is enabled.
isFallbackRequired(Convex, Convex) - Method in class FallbackNarrowphaseDetector
Returns true if the fallback NarrowphaseDetector should be used rather than the primary.
isFlipped() - Method in class IndexedManifoldPointId
Returns true if the reference edge and incident edges were swapped.
isIdentity() - Method in class Rotation
Returns true if this rotation is an identity rotation.
isIdentity() - Method in class Transform
Returns true if this Transform is an identity transform.
isIdentity(double) - Method in class Rotation
Returns true if this rotation is an identity rotation within the given error.
IsIgnoreDisabledEnabled() - Method in class DetectFilter
Returns true if disabled bodies should be ignored.
isIgnoreInactive() - Method in class AABBBroadphaseFilter
Deprecated.
Returns true if inactive bodies are ignored.
isIgnoreInactive() - Method in class RaycastBroadphaseFilter
Deprecated.
Returns true if inactive bodies should be ignored.
isIgnoreSensors() - Method in class AABBBroadphaseFilter
Deprecated.
Returns true if sensor fixtures are ignored.
isIgnoreSensors() - Method in class RaycastBroadphaseFilter
Deprecated.
Returns true if sensor fixtures should be ignored.
isIgnoreSensorsEnabled() - Method in class DetectFilter
Returns true if sensor fixtures should be ignored.
isInContact(Body) - Method in class Body
Deprecated.
Deprecated in 4.0.0. Use the isInContact method in PhysicsWorld instead.
isInContact(T, T) - Method in class AbstractPhysicsWorld
 
isInContact(T, T) - Method in class ConstraintGraph
Returns true if the given PhysicsBodys are currently in collision.
isInContact(T, T) - Method in interface PhysicsWorld
Returns true if the given PhysicsBodys are currently in collision.
isInfinite() - Method in class Mass
Returns true if this Mass object is of type MassType.INFINITE.
isJoined(T, T) - Method in class AbstractPhysicsWorld
 
isJoined(T, T) - Method in class ConstraintGraph
Returns true if the two PhysicsBodys are joined via a Joint.
isJoined(T, T) - Method in interface PhysicsWorld
Returns true if the two PhysicsBodys are joined via a Joint.
isJointCollisionAllowed(T, T) - Method in class AbstractPhysicsWorld
 
isJointCollisionAllowed(T, T) - Method in class ConstraintGraph
Returns true if the two PhysicsBodys are joined by at least one Joint where the collision allowed property is true.
isJointCollisionAllowed(T, T) - Method in interface PhysicsWorld
Returns true if the two PhysicsBodys are joined by at least one Joint where the collision allowed property is true.
isKinematic() - Method in class AbstractPhysicsBody
 
isKinematic() - Method in interface PhysicsBody
Returns true if this body's mass type is MassType.INFINITE and either the linear or angular velocity are NOT zero (i.e.
Island<T extends PhysicsBody> - Class in org.dyn4j.world
Used to solve the contact constraints and joints for a group of interconnected bodies.
Island() - Constructor for class Island
Default constructor.
Island(int, int) - Constructor for class Island
Full constructor.
isLimitEnabled() - Method in class AngleJoint
Returns true if the limit is enabled.
isLimitEnabled() - Method in class PrismaticJoint
Returns true if the limit is enabled.
isLimitEnabled() - Method in class RevoluteJoint
Returns true if the rotational limit is enabled.
isLimitEnabled() - Method in class WheelJoint
Returns true if the limit is enabled.
isLowerLimitEnabled() - Method in class RopeJoint
Returns true if the lower limit is enabled.
isManifoldCollision() - Method in interface CollisionData
Returns true if the CollisionPair is a manifold collision.
isManifoldCollision() - Method in class WorldCollisionData
 
isMatch(Class<? extends Convex>, Class<? extends Convex>) - Method in class PairwiseTypedFallbackCondition
 
isMatch(Class<? extends Convex>, Class<? extends Convex>) - Method in class SingleTypedFallbackCondition
 
isMatch(Class<? extends Convex>, Class<? extends Convex>) - Method in class TypedFallbackCondition
Returns true if the given types match this condition.
isMatch(Convex, Convex) - Method in interface FallbackCondition
Returns true if this condition matches the given input.
isMatch(Convex, Convex) - Method in class TypedFallbackCondition
 
isMotorEnabled() - Method in class PrismaticJoint
Returns true if the motor is enabled.
isMotorEnabled() - Method in class RevoluteJoint
Returns true if this motor is enabled.
isMotorEnabled() - Method in class WheelJoint
Returns true if the motor is enabled.
isNarrowphaseCollision() - Method in interface CollisionData
Returns true if the CollisionPair is a narrowphase collision.
isNarrowphaseCollision() - Method in class WorldCollisionData
 
isOnIsland() - Method in class Body
Deprecated.
Deprecated in 4.0.0. No longer needed.
isOnIsland() - Method in class ContactConstraint
Deprecated.
Deprecated in 4.0.0. No replacement needed.
isOnIsland() - Method in class Joint
Deprecated.
Deprecated in 4.0.0. No replacement needed.
isOrthogonal(double, double) - Method in class Vector2
Returns true if the given Vector2 is orthogonal (perpendicular) to this Vector2.
isOrthogonal(double, double, double) - Method in class Vector3
Returns true if the given Vector3 is orthogonal (perpendicular) to this Vector3.
isOrthogonal(Vector2) - Method in class Vector2
Returns true if the given Vector2 is orthogonal (perpendicular) to this Vector2.
isOrthogonal(Vector3) - Method in class Vector3
Returns true if the given Vector3 is orthogonal (perpendicular) to this Vector3.
isOutside(CollisionBody<?>) - Method in class AxisAlignedBounds
 
isOutside(CollisionBody<?>) - Method in interface Bounds
Returns true if the given CollisionBody is fully outside the bounds.
isOutside(AABB) - Method in class AxisAlignedBounds
 
isOutside(AABB) - Method in interface Bounds
Returns true if the given AABB is fully outside the bounds.
isSelfBalancing() - Method in class BinarySearchTree
Returns true if this tree is self balancing.
isSensor() - Method in class Fixture
Returns true if this fixture is a sensor.
isSensor() - Method in class ContactConstraint
Returns true if this ContactConstraint is a sensor.
isSensor() - Method in class ContactPoint
Deprecated.
Returns true if this contact point is for a sensor.
isSlackEnabled() - Method in class PulleyJoint
Returns true if slack in the rope is enabled.
isSolved() - Method in interface SolvedContact
Returns true if this contact was solved.
isSpring() - Method in class DistanceJoint
Deprecated.
Deprecated in 4.0.0. Use the DistanceJoint.isSpringEnabled() method instead.
isSpring() - Method in class WeldJoint
Deprecated.
Deprecated in 4.0.0. Use the WeldJoint.isSpringEnabled() method instead.
isSpring() - Method in class WheelJoint
Deprecated.
Deprecated in 4.0.0. Use the WheelJoint.isSpringEnabled() method instead.
isSpringDamper() - Method in class DistanceJoint
Deprecated.
Deprecated in 4.0.0. Use the DistanceJoint.isSpringDamperEnabled() method instead.
isSpringDamper() - Method in class WeldJoint
Deprecated.
Deprecated in 4.0.0. Use the WeldJoint.isSpringDamperEnabled() method instead.
isSpringDamper() - Method in class WheelJoint
Deprecated.
Deprecated in 4.0.0. Use the WheelJoint.isSpringDamperEnabled() method instead.
isSpringDamperEnabled() - Method in class DistanceJoint
Returns true if this distance joint is a spring distance joint with damping.
isSpringDamperEnabled() - Method in class WeldJoint
Returns true if this distance joint is a spring distance joint with damping.
isSpringDamperEnabled() - Method in class WheelJoint
Returns true if this distance joint is a spring distance joint with damping.
isSpringEnabled() - Method in class DistanceJoint
Returns true if this distance joint is a spring distance joint.
isSpringEnabled() - Method in class WeldJoint
Returns true if this distance joint is a spring distance joint.
isSpringEnabled() - Method in class WheelJoint
Returns true if this distance joint is a spring distance joint.
isStatic() - Method in class AbstractPhysicsBody
 
isStatic() - Method in interface PhysicsBody
Returns true if this body's mass type is MassType.INFINITE and the linear and angular velocity are close to zero (as determined by Epsilon.E.
isStrict() - Method in class SingleTypedFallbackCondition
Returns true if this condition uses a strict type comparison.
isStrict1() - Method in class PairwiseTypedFallbackCondition
Returns true if this condition uses a strict type comparison for the first type.
isStrict2() - Method in class PairwiseTypedFallbackCondition
Returns true if this condition uses a strict type comparison for the second type.
isUpdated(CollisionItem<T, E>) - Method in interface BroadphaseDetector
Returns true if the given Fixture is included in the updated list.
isUpdated(CollisionItem<T, E>) - Method in class BruteForceBroadphase
 
isUpdated(CollisionItem<T, E>) - Method in class DynamicAABBTree
 
isUpdated(CollisionItem<T, E>) - Method in class LazyAABBTree
Deprecated.
 
isUpdated(CollisionItem<T, E>) - Method in class Sap
 
isUpdated(T) - Method in class AbstractBroadphaseDetector
 
isUpdated(T) - Method in interface BroadphaseDetector
Returns true if any of the Fixtures on the given CollisionBody are included in the updated list.
isUpdated(T, E) - Method in interface BroadphaseDetector
Returns true if the given Fixture is included in the updated list.
isUpdated(T, E) - Method in class BruteForceBroadphase
 
isUpdated(T, E) - Method in class DynamicAABBTree
 
isUpdated(T, E) - Method in class LazyAABBTree
Deprecated.
 
isUpdated(T, E) - Method in class Sap
 
isUpdateRequired() - Method in class World
Deprecated.
Returns true if upon the next time step the contacts must be updated.
isUpdateRequired() - Method in class AbstractPhysicsWorld
 
isUpdateRequired() - Method in interface PhysicsWorld
Returns true if upon the next time step the contacts must be updated.
isUpdateTrackingEnabled() - Method in class AbstractBroadphaseDetector
 
isUpdateTrackingEnabled() - Method in interface BroadphaseDetector
Returns true if this broadphase is tracking updated items.
isUpdateTrackingEnabled() - Method in class BruteForceBroadphase
 
isUpdateTrackingEnabled() - Method in class LazyAABBTree
Deprecated.
 
isUpdateTrackingSupported() - Method in class AbstractBroadphaseDetector
 
isUpdateTrackingSupported() - Method in interface BroadphaseDetector
Returns whether this particular BroadphaseDetector supports update tracking.
isUpdateTrackingSupported() - Method in class BruteForceBroadphase
 
isUpdateTrackingSupported() - Method in class LazyAABBTree
Deprecated.
 
isUpperLimitEnabled() - Method in class RopeJoint
Returns true if the upper limit is enabled.
isWarmStartingEnabled() - Method in class DefaultContactManager
Deprecated.
Returns true if warm starting is enabled.
isWarmStartingEnabled() - Method in class Settings
Returns true if warm starting of contacts is enabled.
isZero() - Method in class Vector2
Returns true if this Vector2 is the zero Vector2.
isZero() - Method in class Vector3
Returns true if this Vector3 is the zero Vector3.
iterator() - Method in class BinarySearchTree
Returns the in-order (ascending) iterator.

J

Joint<T extends PhysicsBody> - Class in org.dyn4j.dynamics.joint
Represents constrained motion between two PhysicsBodys.
Joint(T, T) - Constructor for class Joint
Optional constructor.
Joint(T, T, boolean) - Constructor for class Joint
Full constructor.

K

KILOGRAM_TO_POUND - Static variable in class UnitConversion
KILOGRAM_TO_SLUG - Static variable in class UnitConversion
kilogramsToPounds(double) - Static method in class UnitConversion
Converts kilograms to pound-mass.
kilogramsToSlugs(double) - Static method in class UnitConversion
Converts kilograms to slugs.

L

LazyAABBTree<T extends CollisionBody<E>,​E extends Fixture> - Class in org.dyn4j.collision.broadphase
Deprecated.
Deprecated in 4.0.0. Use a different BroadphaseDetector instead.
LazyAABBTree() - Constructor for class LazyAABBTree
Deprecated.
Default constructor.
LazyAABBTree(int) - Constructor for class LazyAABBTree
Deprecated.
Optional constructor.
left() - Method in class Vector2
Sets this vector to the left-handed normal of this vector.
lerp(Transform, double) - Method in class Transform
Interpolates this transform linearly by alpha towards the given end transform.
lerp(Transform, double, Transform) - Method in class Transform
Interpolates linearly by alpha towards the given end transform placing the result in the given transform.
lerp(Vector2, double, double) - Method in class Transform
Interpolates this transform linearly, by alpha, given the change in position (Δp) and the change in angle (Δa).
lerp(Vector2, double, double, Transform) - Method in class Transform
Interpolates this transform linearly, by alpha, given the change in position (Δp) and the change in angle (Δa) and places it into result.
lerped(Transform, double) - Method in class Transform
Interpolates linearly by alpha towards the given end transform returning a new transform containing the result.
lerped(Vector2, double, double) - Method in class Transform
Interpolates this transform linearly, by alpha, given the change in position (Δp) and the change in angle (Δa) and returns the result.
LimitState - Enum in org.dyn4j.dynamics.joint
Deprecated.
Deprecated in 4.0.0. Joints are now using predictive limits.
Link - Class in org.dyn4j.geometry
This class is a specialization of the Segment class that provides smooth sliding across a chain of line segments.
Link(Vector2, Vector2) - Constructor for class Link
Creates a new link.
LinkPostProcessor - Class in org.dyn4j.collision.narrowphase
A NarrowphasePostProcessor specifically for the Link class to solve the internal edge problem when using a chain of segments.
LinkPostProcessor() - Constructor for class LinkPostProcessor
 
Listener - Interface in org.dyn4j
Deprecated.
Deprecated in 4.0.0. Replaced with the WorldEventListener interface.

M

m00 - Variable in class Matrix22
The element at 0,0
m00 - Variable in class Matrix33
The element at 0,0
m01 - Variable in class Matrix22
The element at 0,1
m01 - Variable in class Matrix33
The element at 0,1
m02 - Variable in class Matrix33
The element at 0,2
m10 - Variable in class Matrix22
The element at 1,0
m10 - Variable in class Matrix33
The element at 1,0
m11 - Variable in class Matrix22
The element at 1,1
m11 - Variable in class Matrix33
The element at 1,1
m12 - Variable in class Matrix33
The element at 1,2
m20 - Variable in class Matrix33
The element at 2,0
m21 - Variable in class Matrix33
The element at 2,1
m22 - Variable in class Matrix33
The element at 2,2
main(String[]) - Static method in class Version
Main class to print the version to the console.
Manifold - Class in org.dyn4j.collision.manifold
Represents a contact Manifold for a collision between two Convex Shapes.
Manifold() - Constructor for class Manifold
Default constructor.
ManifoldCollisionData<T extends CollisionBody<E>,​E extends Fixture> - Interface in org.dyn4j.world
Represents a manifold collision.
ManifoldPoint - Class in org.dyn4j.collision.manifold
Represents a single contact point in a contact Manifold.
ManifoldPoint(ManifoldPointId) - Constructor for class ManifoldPoint
Optional constructor.
ManifoldPointId - Interface in org.dyn4j.collision.manifold
Represents the identification of a specific contact point of a Manifold.
ManifoldSolver - Interface in org.dyn4j.collision.manifold
Finds a contact Manifold for two given Convex Shapes that are in collision.
Mass - Class in org.dyn4j.geometry
Represents Mass data for an object about a given point.
Mass() - Constructor for class Mass
Default constructor.
Mass(Mass) - Constructor for class Mass
Copy constructor.
Mass(Vector2, double, double) - Constructor for class Mass
Full Constructor.
MassType - Enum in org.dyn4j.geometry
Enumeration for special Mass types.
Matrix22 - Class in org.dyn4j.geometry
Represents a 2x2 Matrix.
Matrix22() - Constructor for class Matrix22
Default constructor.
Matrix22(double[]) - Constructor for class Matrix22
Full constructor.
Matrix22(double, double, double, double) - Constructor for class Matrix22
Full constructor.
Matrix22(Matrix22) - Constructor for class Matrix22
Copy constructor.
Matrix33 - Class in org.dyn4j.geometry
Represents a 3x3 Matrix.
Matrix33() - Constructor for class Matrix33
Default constructor.
Matrix33(double[]) - Constructor for class Matrix33
Full constructor.
Matrix33(double, double, double, double, double, double, double, double, double) - Constructor for class Matrix33
Full constructor.
Matrix33(Matrix33) - Constructor for class Matrix33
Copy constructor.
METER_TO_FOOT - Static variable in class UnitConversion
metersPerSecondToFeetPerSecond(double) - Static method in class UnitConversion
Converts meters per second to feet per second.
metersToFeet(double) - Static method in class UnitConversion
Converts meters to feet.
MinkowskiPenetrationSolver - Interface in org.dyn4j.collision.narrowphase
Interface representing a sub algorithm for finding the penetration vector and depth using properties of the MinkowskiSum and the Gjk termination information.
minkowskiSum(E, E) - Static method in class Geometry
Returns the Minkowski Sum of the given convex shapes.
minkowskiSum(Circle, Polygon, int) - Static method in class Geometry
Performs the Minkowski Sum of the given Polygon and Circle.
minkowskiSum(Polygon, double, int) - Static method in class Geometry
Returns a new polygon that has been radially expanded.
minkowskiSum(Polygon, Circle, int) - Static method in class Geometry
Performs the Minkowski Sum of the given Polygon and Circle.
MinkowskiSum - Class in org.dyn4j.collision.narrowphase
Represents the Minkowski sum of the given Convex Shapes.
MinkowskiSum(Convex, Transform, Convex, Transform) - Constructor for class MinkowskiSum
Full constructor.
MinkowskiSumPoint - Class in org.dyn4j.collision.narrowphase
Represents a point in the MinkowskiSum.
MinkowskiSumPoint(Vector2, Vector2) - Constructor for class MinkowskiSumPoint
Full constructor.
mixFriction(double, double) - Method in interface CoefficientMixer
Deprecated.
Method used to mix the coefficients of friction of two BodyFixtures.
mixFriction(double, double) - Method in interface CoefficientMixer
Method used to mix the coefficients of friction of two BodyFixtures.
mixRestitution(double, double) - Method in interface CoefficientMixer
Deprecated.
Method used to mix the coefficients of restitution of two BodyFixtures.
mixRestitution(double, double) - Method in interface CoefficientMixer
Method used to mix the coefficients of restitution of two BodyFixtures.
MonotoneChain - Class in org.dyn4j.geometry.hull
Implementation of the Andrew's Monotone Chain convex hull algorithm.
MonotoneChain() - Constructor for class MonotoneChain
 
MotorJoint<T extends PhysicsBody> - Class in org.dyn4j.dynamics.joint
Implementation a motor joint.
MotorJoint(T, T) - Constructor for class MotorJoint
Minimal constructor.
multiply(double) - Method in class Matrix22
Multiplies this Matrix22 by the given scalar and places the result in this Matrix22.
multiply(double) - Method in class Matrix33
Multiplies this Matrix33 by the given scalar and places the result in this Matrix33.
multiply(double) - Method in class Vector2
Multiplies this Vector2 by the given scalar.
multiply(double) - Method in class Vector3
Multiplies this Vector3 by the given scalar.
multiply(Matrix22) - Method in class Matrix22
Multiplies this Matrix22 by the given matrix Matrix22 returning this Matrix22.
multiply(Matrix33) - Method in class Matrix33
Multiplies this Matrix33 by the given matrix Matrix33 returning this Matrix33.
multiply(Vector2) - Method in class Matrix22
Multiplies this Matrix22 by the given Vector2 and places the result in the given Vector2.
multiply(Vector3) - Method in class Matrix33
Multiplies this Matrix33 by the given Vector3 and places the result in the given Vector3.
multiplyT(Vector2) - Method in class Matrix22
Multiplies the given Vector2 by this Matrix22 and places the result in the given Vector2.
multiplyT(Vector3) - Method in class Matrix33
Multiplies the given Vector3 by this Matrix33 and places the result in the given Vector3.

N

NarrowphaseCollisionData<T extends CollisionBody<E>,​E extends Fixture> - Interface in org.dyn4j.world
Represents a narrowphase collision.
NarrowphaseDetector - Interface in org.dyn4j.collision.narrowphase
Represents an algorithm to detect whether two Convex Shapes are penetrating/overlapping each other.
NarrowphasePostProcessor - Interface in org.dyn4j.collision.narrowphase
Interface used to modify the narrow-phase collision information before being sent to listeners.
negate() - Method in class Vector2
Negates this Vector2.
negate() - Method in class Vector3
Negates this Vector3.
NEWTON_METER_TO_FOOT_POUND - Static variable in class UnitConversion
1 newton-meter = UnitConversion.NEWTON_METER_TO_FOOT_POUND foot-pounds
NEWTON_TO_POUND - Static variable in class UnitConversion
1 newton = UnitConversion.NEWTON_TO_POUND pound-force
newtonMetersToFootPounds(double) - Static method in class UnitConversion
Converts newton-meters to foot-pounds.
newtonsToPounds(double) - Static method in class UnitConversion
Converts newtons to pound-force.
NONE - ContinuousDetectionMode
CCD is not performed at all
norm1() - Method in class Matrix22
Returns the 1-norm of this matrix.
NORMAL - MassType
Indicates a normal mass
normalize() - Method in class Vector2
Converts this Vector2 into a unit Vector2 and returns the magnitude before normalization.
normalize() - Method in class Vector3
Converts this Vector3 into a unit Vector3 and returns the magnitude before normalization.
normFrobenius() - Method in class Matrix22
Returns the frobenius-norm of this matrix.
normInfinity() - Method in class Matrix22
Returns the infinity-norm of this matrix.
normMax() - Method in class Matrix22
Returns the max-norm of this matrix.
NOT_INDEXED - Static variable in class Feature
Index for non-indexed vertices

O

of(double) - Static method in class Rotation
Alternative way to create a new Rotation from a given angle.
of(double, double) - Static method in class Rotation
Static method to create a Rotation from a pair of values that lie on the unit circle; That is a pair of values (x, y) such that x = cos(θ), y = sin(θ) for some value θ This method is provided for the case where the cos and sin values are already computed and the overhead can be avoided.
of(Transform) - Static method in class Rotation
Creates a new Rotation representing the same rotation of a Transform object.
of(Vector2) - Static method in class Rotation
Static method to create a Rotation object from the direction of a given Vector2.
ofDegrees(double) - Static method in class Rotation
Alternative way to create a new Rotation from a given angle, in degrees.
onAllFixturesRemoved() - Method in interface FixtureModificationHandler
Called when all Fixtures have been removed from a CollisionBody.
onFixtureAdded(T) - Method in interface FixtureModificationHandler
Called when a Fixture has been added to a CollisionBody.
onFixtureRemoved(T) - Method in interface FixtureModificationHandler
Called when a Fixture has been removed from a CollisionBody.
optimize() - Method in interface BroadphaseDetector
Attempts to optimize the broadphase based on the current state.
optimize() - Method in class BruteForceBroadphase
 
optimize() - Method in class DynamicAABBTree
 
optimize() - Method in class LazyAABBTree
Deprecated.
 
optimize() - Method in class Sap
 
org.dyn4j - module org.dyn4j
 
org.dyn4j - package org.dyn4j
Main package containing general classes used by the library.
org.dyn4j.collision - package org.dyn4j.collision
Package containing supporting classes to detect collisions between Convex Shapes.
org.dyn4j.collision.broadphase - package org.dyn4j.collision.broadphase
Sub package of the Collision package handling broad-phase collision detection.
org.dyn4j.collision.continuous - package org.dyn4j.collision.continuous
Sub package of the Collision package handling continuous collision detection.
org.dyn4j.collision.manifold - package org.dyn4j.collision.manifold
Sub package of the Collision package handling contact manifold generation.
org.dyn4j.collision.narrowphase - package org.dyn4j.collision.narrowphase
Sub package of the Collision package handling narrow-phase collision detection, distance checking, and raycasting.
org.dyn4j.dynamics - package org.dyn4j.dynamics
Package containing classes that handle physical interaction.
org.dyn4j.dynamics.contact - package org.dyn4j.dynamics.contact
Sub package of the Dynamics package handling contacts.
org.dyn4j.dynamics.joint - package org.dyn4j.dynamics.joint
Sub package of the Dynamics package containing joints.
org.dyn4j.geometry - package org.dyn4j.geometry
This package contains geometric and mathematical constructs.
org.dyn4j.geometry.decompose - package org.dyn4j.geometry.decompose
This package contains algorithms to decompose polygons into Convex pieces.
org.dyn4j.geometry.hull - package org.dyn4j.geometry.hull
This package contains algorithms used to create convex hulls of point clouds.
org.dyn4j.world - package org.dyn4j.world
Package containing the dynamics engine.
org.dyn4j.world.listener - package org.dyn4j.world.listener
Package contains the listeners used in the CollisionWorld and PhysicsWorld classes to notify a user of events occurring in the engine.
org.dyn4j.world.result - package org.dyn4j.world.result
Package containing the result classes for static queries against the CollisionWorld.
outside(T) - Method in class BoundsAdapter
Deprecated.
 
outside(T) - Method in interface BoundsListener
Deprecated.
Method called when a CollisionBody is outside the Bounds of a simulation.
outside(T) - Method in interface BoundsListener
Method called when a CollisionBody is outside the Bounds of a simulation.
outside(T) - Method in class BoundsListenerAdapter
 
overlaps(AABB) - Method in class AABB
Returns true if the given AABB and this AABB overlap.
overlaps(Interval) - Method in class Interval
Returns true if the two Intervals overlap.
Ownable - Interface in org.dyn4j
Represents an object that can be owned by a single owner.

P

PairwiseTypedFallbackCondition - Class in org.dyn4j.collision.narrowphase
Represents a TypedFallbackCondition that filters on a particular pair of types.
PairwiseTypedFallbackCondition(Class<? extends Convex>, boolean, Class<? extends Convex>, boolean) - Constructor for class PairwiseTypedFallbackCondition
Optional constructor.
PairwiseTypedFallbackCondition(Class<? extends Convex>, boolean, Class<? extends Convex>, boolean, int) - Constructor for class PairwiseTypedFallbackCondition
Full constructor.
PairwiseTypedFallbackCondition(Class<? extends Convex>, Class<? extends Convex>) - Constructor for class PairwiseTypedFallbackCondition
Minimal constructor.
PairwiseTypedFallbackCondition(Class<? extends Convex>, Class<? extends Convex>, boolean) - Constructor for class PairwiseTypedFallbackCondition
Optional constructor.
PairwiseTypedFallbackCondition(Class<? extends Convex>, Class<? extends Convex>, boolean, int) - Constructor for class PairwiseTypedFallbackCondition
Optional constructor.
PairwiseTypedFallbackCondition(Class<? extends Convex>, Class<? extends Convex>, int) - Constructor for class PairwiseTypedFallbackCondition
Optional constructor.
Penetration - Class in org.dyn4j.collision.narrowphase
Represents a Penetration of one Convex Shape into another.
Penetration() - Constructor for class Penetration
Default constructor.
persist(Contact, Contact) - Method in interface ContactUpdateHandler
Called when the given contact was persisted.
persist(PersistedContactPoint) - Method in class ContactAdapter
Deprecated.
 
persist(PersistedContactPoint) - Method in interface ContactListener
Deprecated.
Called when two BodyFixtures remain in contact.
persist(ContactCollisionData<T>, Contact, Contact) - Method in interface ContactListener
Called when two BodyFixtures remain in contact.
persist(ContactCollisionData<T>, Contact, Contact) - Method in class ContactListenerAdapter
 
PersistedContactPoint - Class in org.dyn4j.dynamics.contact
Deprecated.
Deprecated in 4.0.0. Use the Contact interface instead.
PersistedContactPoint(ContactConstraint, SolvableContact, ContactConstraint, SolvableContact) - Constructor for class PersistedContactPoint
Deprecated.
Helper constructor for a contact constraint and contact.
PersistedContactPoint(ContactPointId, Body, BodyFixture, Body, BodyFixture, Vector2, Vector2, double, Vector2, Vector2, double, boolean) - Constructor for class PersistedContactPoint
Deprecated.
Full constructor.
PersistedContactPoint(PersistedContactPoint) - Constructor for class PersistedContactPoint
Deprecated.
Copy constructor (shallow).
PhysicsBody - Interface in org.dyn4j.dynamics
Represents a physical PhysicsBody.
PhysicsBodyBroadphaseFilter<T extends PhysicsBody> - Class in org.dyn4j.world
Encapsulates logic used to filter the broadphase pairs based on filters, body state, etc.
PhysicsBodyBroadphaseFilter(PhysicsWorld<T, ?>) - Constructor for class PhysicsBodyBroadphaseFilter
Minimal constructor.
PhysicsWorld<T extends PhysicsBody,​V extends ContactCollisionData<T>> - Interface in org.dyn4j.world
Represents a CollisionWorld that resolves collision using Newton's laws of physics.
PinJoint<T extends PhysicsBody> - Class in org.dyn4j.dynamics.joint
Implementation of a pin joint.
PinJoint(T, Vector2, double, double, double) - Constructor for class PinJoint
Full constructor.
PointFeature - Class in org.dyn4j.geometry
Implementation of a point Feature of a Shape.
PointFeature(Vector2) - Constructor for class PointFeature
Optional constructor.
PointFeature(Vector2, int) - Constructor for class PointFeature
Full constructor.
Polygon - Class in org.dyn4j.geometry
Implementation of an arbitrary polygon Convex Shape.
Polygon(Vector2...) - Constructor for class Polygon
Full constructor.
postSolve(SolvedContactPoint) - Method in class ContactAdapter
Deprecated.
 
postSolve(SolvedContactPoint) - Method in interface ContactListener
Deprecated.
Called after contacts have been solved.
postSolve(Step, World) - Method in class StepAdapter
Deprecated.
 
postSolve(Step, World) - Method in interface StepListener
Deprecated.
Called after the world has been solved but before new contacts are found.
postSolve(TimeStep, PhysicsWorld<T, ?>) - Method in interface StepListener
Called after the world has been solved but before new contacts are found.
postSolve(TimeStep, PhysicsWorld<T, ?>) - Method in class StepListenerAdapter
 
postSolve(ContactCollisionData<T>, SolvedContact) - Method in interface ContactListener
Called after contacts have been solved.
postSolve(ContactCollisionData<T>, SolvedContact) - Method in class ContactListenerAdapter
 
postSolveNotify(List<ContactListener>) - Method in interface ContactManager
Deprecated.
Notifies the given ContactListeners of the post-solve event for all ContactConstraints that reached this stage.
postSolveNotify(List<ContactListener>) - Method in class DefaultContactManager
Deprecated.
 
POUND_TO_KILOGRAM - Static variable in class UnitConversion
1 pound-mass = UnitConversion.POUND_TO_KILOGRAM kilograms
POUND_TO_NEWTON - Static variable in class UnitConversion
1 pound-force = UnitConversion.POUND_TO_NEWTON newtons
poundsToKilograms(double) - Static method in class UnitConversion
Converts pound-mass to kilograms.
poundsToNewtons(double) - Static method in class UnitConversion
Converts pound-force to newtons.
preSolve(ContactPoint) - Method in class ContactAdapter
Deprecated.
 
preSolve(ContactPoint) - Method in interface ContactListener
Deprecated.
Called before contact constraints are solved.
preSolve(ContactCollisionData<T>, Contact) - Method in interface ContactListener
Called before contact constraints are solved.
preSolve(ContactCollisionData<T>, Contact) - Method in class ContactListenerAdapter
 
preSolveNotify(List<ContactListener>) - Method in interface ContactManager
Deprecated.
Notifies the given ContactListeners of the pre-solve event for all ContactConstraints that reached this stage.
preSolveNotify(List<ContactListener>) - Method in class DefaultContactManager
Deprecated.
 
PrismaticJoint<T extends PhysicsBody> - Class in org.dyn4j.dynamics.joint
Implementation of a prismatic joint.
PrismaticJoint(T, T, Vector2, Vector2) - Constructor for class PrismaticJoint
Minimal constructor.
process(Convex, Transform, Convex, Transform, Penetration) - Method in class LinkPostProcessor
 
process(Convex, Transform, Convex, Transform, Penetration) - Method in interface NarrowphasePostProcessor
Performs post processing on the narrow-phase collision detection information.
process(Link, Transform, Convex, Transform, Penetration) - Method in class LinkPostProcessor
Attempts to use the connectivity information to determine if the normal found in the narrow-phase is valid.
product(double) - Method in class Matrix22
Multiplies this Matrix22 by the given scalar returning a new Matrix22 containing the result.
product(double) - Method in class Matrix33
Multiplies this Matrix33 by the given scalar returning a new Matrix33 containing the result.
product(double) - Method in class Vector2
Multiplies this Vector2 by the given scalar returning a new Vector2 containing the result.
product(double) - Method in class Vector3
Multiplies this Vector3 by the given scalar returning a new Vector3 containing the result.
product(Matrix22) - Method in class Matrix22
Returns a new Matrix22 that is the product of this Matrix22 and the given Matrix22.
product(Matrix33) - Method in class Matrix33
Returns a new Matrix33 that is the product of this Matrix33 and the given Matrix33.
product(Vector2) - Method in class Matrix22
Multiplies this Matrix22 by the given Vector2 returning the result in a new Vector2.
product(Vector3) - Method in class Matrix33
Multiplies this Matrix33 by the given Vector3 returning the result in a new Vector3.
productT(Vector2) - Method in class Matrix22
Multiplies the given Vector2 by this Matrix22 returning the result in a new Vector2.
productT(Vector3) - Method in class Matrix33
Multiplies the given Vector3 by this Matrix33 returning the result in a new Vector3.
project(Vector2) - Method in class AbstractShape
 
project(Vector2) - Method in interface Shape
Returns the Interval of this Shape projected onto the given Vector2 given the Transform.
project(Vector2) - Method in class Vector2
Projects this Vector2 onto the given Vector2.
project(Vector2, Transform) - Method in class Capsule
 
project(Vector2, Transform) - Method in class Circle
 
project(Vector2, Transform) - Method in class Ellipse
 
project(Vector2, Transform) - Method in class HalfEllipse
 
project(Vector2, Transform) - Method in class Polygon
 
project(Vector2, Transform) - Method in class Rectangle
 
project(Vector2, Transform) - Method in class Segment
 
project(Vector2, Transform) - Method in interface Shape
Returns the Interval of this Shape projected onto the given Vector2 given the Transform.
project(Vector2, Transform) - Method in class Slice
 
project(Vector3) - Method in class Vector3
Projects this Vector3 onto the given Vector3.
PulleyJoint<T extends PhysicsBody> - Class in org.dyn4j.dynamics.joint
Implementation of a pulley joint.
PulleyJoint(T, T, Vector2, Vector2, Vector2, Vector2) - Constructor for class PulleyJoint
Minimal constructor.

Q

queue(ContactConstraint) - Method in interface ContactManager
Deprecated.
Queues a new ContactConstraint to be added to this ContactManager.
queue(ContactConstraint) - Method in class DefaultContactManager
Deprecated.
 
quotient(double) - Method in class Vector2
Divides this Vector2 by the given scalar returning a new Vector2 containing the result.

R

Ray - Class in org.dyn4j.geometry
Implementation of a ray.
Ray(double) - Constructor for class Ray
Creates a ray from the origin in the given direction.
Ray(Vector2) - Constructor for class Ray
Creates a ray from the origin in the given direction.
Ray(Vector2, double) - Constructor for class Ray
Creates a ray from the given start point in the given direction.
Ray(Vector2, Vector2) - Constructor for class Ray
Creates a ray from the given start point in the given direction.
raycast(Ray, double) - Method in class AbstractBroadphaseDetector
 
raycast(Ray, double) - Method in interface BroadphaseDetector
Performs a raycast over all the bodies in the broad-phase and returns the items that intersect.
raycast(Ray, double, boolean, boolean, boolean, List<RaycastResult>) - Method in class World
Deprecated.
Performs a raycast against all the Bodys in the World.
raycast(Ray, double, boolean, boolean, List<RaycastResult>) - Method in class World
Deprecated.
Performs a raycast against all the Bodys in the World.
raycast(Ray, double, BroadphaseFilter<T, E>) - Method in class AbstractBroadphaseDetector
Deprecated.
raycast(Ray, double, BroadphaseFilter<T, E>) - Method in interface BroadphaseDetector
Deprecated.
Deprecated in 4.0.0. Use the BroadphaseDetector.raycast(Ray, double) method instead
raycast(Ray, double, BroadphaseFilter<T, E>) - Method in class LazyAABBTree
Deprecated.
raycast(Ray, double, Filter, boolean, boolean, boolean, List<RaycastResult>) - Method in class World
Deprecated.
Performs a raycast against all the Bodys in the World.
raycast(Ray, double, Circle, Transform, Raycast) - Static method in class CircleDetector
Performs a ray cast against the given circle.
raycast(Ray, double, Convex, Transform, Raycast) - Method in class Gjk
 
raycast(Ray, double, Convex, Transform, Raycast) - Method in interface RaycastDetector
Performs a ray cast given a Ray and a Convex Shape returning true if the ray passes through the convex shape.
raycast(Ray, double, Segment, Transform, Raycast) - Static method in class SegmentDetector
Performs a ray cast against the given segment.
raycast(Ray, double, DetectFilter<T, E>) - Method in class AbstractCollisionWorld
 
raycast(Ray, double, DetectFilter<T, E>) - Method in interface CollisionWorld
Returns a list of RaycastResults containing all the body-fixtures that overlap with the given Ray using the current state of the BroadphaseDetector.
raycast(Ray, double, T, DetectFilter<T, E>) - Method in class AbstractCollisionWorld
 
raycast(Ray, double, T, DetectFilter<T, E>) - Method in interface CollisionWorld
Returns a list of RaycastResults containing all the body-fixtures that overlap with the given Ray only testing against the given CollisionBody.
raycast(Ray, Body, double, boolean, RaycastResult) - Method in class World
Deprecated.
Performs a raycast against the given Body and returns true if the ray intersects the body.
raycast(Ray, Body, double, Filter, boolean, RaycastResult) - Method in class World
Deprecated.
Performs a raycast against the given Body and returns true if the ray intersects the body.
raycast(Vector2, Vector2, boolean, boolean, boolean, List<RaycastResult>) - Method in class World
Deprecated.
Performs a raycast against all the Bodys in the World.
raycast(Vector2, Vector2, boolean, boolean, List<RaycastResult>) - Method in class World
Deprecated.
Performs a raycast against all the Bodys in the World.
raycast(Vector2, Vector2, Filter, boolean, boolean, boolean, List<RaycastResult>) - Method in class World
Deprecated.
Performs a raycast against all the Bodys in the World.
raycast(Vector2, Vector2, Body, boolean, RaycastResult) - Method in class World
Deprecated.
Performs a raycast against the given Body and returns true if the ray intersects the body.
raycast(Vector2, Vector2, Body, Filter, boolean, RaycastResult) - Method in class World
Deprecated.
Performs a raycast against the given Body and returns true if the ray intersects the body.
Raycast - Class in org.dyn4j.collision.narrowphase
Represents the result of a Ray cast against (intersecting with) a Convex Shape.
Raycast() - Constructor for class Raycast
Default constructor.
RaycastAdapter - Class in org.dyn4j.dynamics
Deprecated.
Deprecated in 4.0.0. Use the iterator methods in the World class instead.
RaycastAdapter() - Constructor for class RaycastAdapter
Deprecated.
 
RaycastBroadphaseFilter - Class in org.dyn4j.dynamics
Deprecated.
Deprecated in 4.0.0. Use the DetectFilter in the world package instead.
RaycastBroadphaseFilter(boolean, boolean, Filter) - Constructor for class RaycastBroadphaseFilter
Deprecated.
Full constructor.
raycastClosest(Ray, double, DetectFilter<T, E>) - Method in class AbstractCollisionWorld
 
raycastClosest(Ray, double, DetectFilter<T, E>) - Method in interface CollisionWorld
Returns the closest RaycastResult that overlaps with the given Ray using the current state of the BroadphaseDetector.
raycastClosest(Ray, double, T, DetectFilter<T, E>) - Method in class AbstractCollisionWorld
 
raycastClosest(Ray, double, T, DetectFilter<T, E>) - Method in interface CollisionWorld
Returns the closest RaycastResult that overlaps with the given Ray only testing against the given CollisionBody.
RaycastDetector - Interface in org.dyn4j.collision.narrowphase
Represents an algorithm for determining whether a Ray and a Convex Shape intersect, given the ray's maximum length and the Convex Shape's Transform.
raycastIterator(Ray, double) - Method in interface BroadphaseDetector
Performs a raycast over all the bodies in the broad-phase and returns the items that intersect.
raycastIterator(Ray, double) - Method in class BruteForceBroadphase
 
raycastIterator(Ray, double) - Method in class DynamicAABBTree
 
raycastIterator(Ray, double) - Method in class LazyAABBTree
Deprecated.
 
raycastIterator(Ray, double) - Method in class Sap
 
raycastIterator(Ray, double, DetectFilter<T, E>) - Method in class AbstractCollisionWorld
 
raycastIterator(Ray, double, DetectFilter<T, E>) - Method in interface CollisionWorld
Returns an iterator of RaycastResults containing all the body-fixtures that overlap with the given Ray using the current state of the BroadphaseDetector.
raycastIterator(Ray, double, T, DetectFilter<T, E>) - Method in class AbstractCollisionWorld
 
raycastIterator(Ray, double, T, DetectFilter<T, E>) - Method in interface CollisionWorld
Returns an iterator of RaycastResults containing all the body-fixtures that overlap with the given Ray only testing against the given CollisionBody.
RaycastListener - Interface in org.dyn4j.dynamics
Deprecated.
Deprecated in 4.0.0. Use the iterator methods in the World class instead.
RaycastResult - Class in org.dyn4j.dynamics
Deprecated.
Deprecated in 4.0.0. Use the RaycastResult in the world package instead.
RaycastResult<T extends CollisionBody<E>,​E extends Fixture> - Class in org.dyn4j.world.result
Represents a reusable DetectResult for raycast detection.
RaycastResult() - Constructor for class RaycastResult
Deprecated.
Default constructor.
RaycastResult() - Constructor for class RaycastResult
Default constructor.
RaycastResult(Body, BodyFixture, Raycast) - Constructor for class RaycastResult
Deprecated.
Full constructor.
Rectangle - Class in org.dyn4j.geometry
Implementation of a Rectangle Convex Shape.
Rectangle(double, double) - Constructor for class Rectangle
Full constructor.
Reference<T> - Class in org.dyn4j
A generic mutable wrapper for primitive types.
Reference() - Constructor for class Reference
The default constructor
Reference(T) - Constructor for class Reference
Full constructor.
remove(E) - Method in class BinarySearchTree
Removes the comparable object from the tree returning true if the comparable was found and removed
remove(CollisionItem<T, E>) - Method in interface BroadphaseDetector
Removes the given Fixture for the given CollisionBody from the broad-phase and returns true if it was found.
remove(CollisionItem<T, E>) - Method in class BruteForceBroadphase
 
remove(CollisionItem<T, E>) - Method in class DynamicAABBTree
 
remove(CollisionItem<T, E>) - Method in class LazyAABBTree
Deprecated.
 
remove(CollisionItem<T, E>) - Method in class Sap
 
remove(T) - Method in class AbstractBroadphaseDetector
 
remove(T) - Method in interface BroadphaseDetector
Removes the given CollisionBody from the broad-phase.
remove(T, E) - Method in interface BroadphaseDetector
Removes the given Fixture for the given CollisionBody from the broad-phase and returns true if it was found.
remove(T, E) - Method in class BruteForceBroadphase
 
remove(T, E) - Method in class DynamicAABBTree
 
remove(T, E) - Method in class LazyAABBTree
Deprecated.
 
remove(T, E) - Method in class Sap
 
removeAllBodies() - Method in class World
Deprecated.
This is a convenience method for the World.removeAllBodiesAndJoints() method since all joints will be removed when all bodies are removed anyway.
removeAllBodies() - Method in class AbstractCollisionWorld
 
removeAllBodies() - Method in class AbstractPhysicsWorld
 
removeAllBodies() - Method in interface CollisionWorld
Removes all bodies from this world.
removeAllBodies(boolean) - Method in class World
Deprecated.
This is a convenience method for the World.removeAllBodiesAndJoints(boolean) method since all joints will be removed when all bodies are removed anyway.
removeAllBodies(boolean) - Method in class AbstractPhysicsWorld
 
removeAllBodies(boolean) - Method in interface PhysicsWorld
This is a convenience method for the PhysicsWorld.removeAllBodiesAndJoints(boolean) method since all joints will be removed when all bodies are removed anyway.
removeAllBodiesAndJoints() - Method in class World
Deprecated.
Removes all the joints and bodies from this world.
removeAllBodiesAndJoints() - Method in class AbstractPhysicsWorld
 
removeAllBodiesAndJoints() - Method in interface PhysicsWorld
Removes all the joints and bodies from this world.
removeAllBodiesAndJoints(boolean) - Method in class World
Deprecated.
Removes all the joints and bodies from this world.
removeAllBodiesAndJoints(boolean) - Method in class AbstractPhysicsWorld
 
removeAllBodiesAndJoints(boolean) - Method in interface PhysicsWorld
Removes all the joints and bodies from this world.
removeAllBoundsListeners() - Method in class AbstractCollisionWorld
 
removeAllBoundsListeners() - Method in interface CollisionWorld
Removes all bounds listeners from this world.
removeAllCollisionListeners() - Method in class AbstractCollisionWorld
 
removeAllCollisionListeners() - Method in interface CollisionWorld
Removes all collision listeners from this world.
removeAllContactConstraints() - Method in class ConstraintGraph
Removes all edges in the graph related to contact constraints.
removeAllContactListeners() - Method in class AbstractPhysicsWorld
 
removeAllContactListeners() - Method in interface PhysicsWorld
Removes all contact listeners from this world.
removeAllDestructionListeners() - Method in class AbstractPhysicsWorld
 
removeAllDestructionListeners() - Method in interface PhysicsWorld
Removes all destruction listeners from this world.
removeAllFixtures() - Method in class AbstractCollisionBody
 
removeAllFixtures() - Method in interface CollisionBody
Removes all fixtures from this CollisionBody and returns them.
removeAllJoints() - Method in class World
Deprecated.
Removes all Joints from this World.
removeAllJoints() - Method in class AbstractPhysicsWorld
 
removeAllJoints() - Method in class ConstraintGraph
Removes all edges in the graph related to joints.
removeAllJoints() - Method in interface PhysicsWorld
Removes all Joints from this World.
removeAllJoints(boolean) - Method in class World
Deprecated.
Removes all Joints from this World.
removeAllJoints(boolean) - Method in class AbstractPhysicsWorld
 
removeAllJoints(boolean) - Method in interface PhysicsWorld
Removes all Joints from this World.
removeAllListeners() - Method in class World
Deprecated.
Removes all the listeners.
removeAllListeners() - Method in class AbstractCollisionWorld
 
removeAllListeners() - Method in class AbstractPhysicsWorld
 
removeAllListeners() - Method in interface CollisionWorld
Removes all listeners from this world.
removeAllListeners(Class<T>) - Method in class World
Deprecated.
Removes all the listeners of the specified type (or sub types).
removeAllStepListeners() - Method in class AbstractPhysicsWorld
 
removeAllStepListeners() - Method in interface PhysicsWorld
Removes all step listeners from this world.
removeAllTimeOfImpactListeners() - Method in class AbstractPhysicsWorld
 
removeAllTimeOfImpactListeners() - Method in interface PhysicsWorld
Removes all time of impact listeners from this world.
removeBody(int) - Method in class World
Deprecated.
Removes the Body at the given index from this World.
removeBody(int) - Method in class AbstractCollisionWorld
 
removeBody(int) - Method in class AbstractPhysicsWorld
 
removeBody(int) - Method in interface CollisionWorld
Removes the CollisionBody at the given index from this CollisionWorld.
removeBody(int, boolean) - Method in class World
Deprecated.
Removes the Body at the given index from this World.
removeBody(int, boolean) - Method in class AbstractPhysicsWorld
 
removeBody(int, boolean) - Method in interface PhysicsWorld
Removes the CollisionBody at the given index from this CollisionWorld.
removeBody(Body) - Method in class World
Deprecated.
Removes the given Body from this World.
removeBody(Body, boolean) - Method in class World
Deprecated.
Removes the given Body from this World.
removeBody(T) - Method in class AbstractCollisionWorld
 
removeBody(T) - Method in class AbstractPhysicsWorld
 
removeBody(T) - Method in interface CollisionWorld
Removes the given CollisionBody from this CollisionWorld.
removeBody(T) - Method in class ConstraintGraph
Removes the given body from the graph.
removeBody(T, boolean) - Method in class AbstractPhysicsWorld
 
removeBody(T, boolean) - Method in interface PhysicsWorld
Removes the given CollisionBody from this CollisionWorld.
removeBoundsListener(BoundsListener<T, E>) - Method in class AbstractCollisionWorld
 
removeBoundsListener(BoundsListener<T, E>) - Method in interface CollisionWorld
Removes the given bounds listener from this world and returns true if it was removed.
removeCollisionListener(CollisionListener<T, E>) - Method in class AbstractCollisionWorld
 
removeCollisionListener(CollisionListener<T, E>) - Method in interface CollisionWorld
Removes the given collision listener from this world and returns true if it was removed.
removeCondition(FallbackCondition) - Method in class FallbackNarrowphaseDetector
Removes the given condition to the list of fallback conditions and returns true if the operation was successful.
removeContactConstraint(ContactConstraint<T>) - Method in class ConstraintGraph
Removes the given contact constraint from the graph.
removeContactListener(ContactListener<T>) - Method in class AbstractPhysicsWorld
 
removeContactListener(ContactListener<T>) - Method in interface PhysicsWorld
Removes the given contact listener from this world and returns true if it was removed.
removeDestructionListener(DestructionListener<T>) - Method in class AbstractPhysicsWorld
 
removeDestructionListener(DestructionListener<T>) - Method in interface PhysicsWorld
Removes the given destruction listener from this world and returns true if it was removed.
removeFixture(int) - Method in class AbstractCollisionBody
 
removeFixture(int) - Method in interface CollisionBody
Removes the Fixture at the given index.
removeFixture(Vector2) - Method in class AbstractCollisionBody
 
removeFixture(Vector2) - Method in interface CollisionBody
Removes the first Fixture in this CollisionBody, determined by the order in which they were added, that contains the given point and returns it.
removeFixture(T) - Method in class AbstractCollisionBody
 
removeFixture(T) - Method in interface CollisionBody
Removes the given Fixture from this CollisionBody.
removeFixtures(Vector2) - Method in class AbstractCollisionBody
 
removeFixtures(Vector2) - Method in interface CollisionBody
Removes all the Fixtures in this CollisionBody that contain the given point and returns them.
removeJoint(int) - Method in class World
Deprecated.
Removes the Joint at the given index from this World.
removeJoint(int) - Method in class AbstractPhysicsWorld
 
removeJoint(int) - Method in interface PhysicsWorld
Removes the Joint at the given index from this World.
removeJoint(Joint) - Method in class World
Deprecated.
Removes the given Joint from this World.
removeJoint(Joint<T>) - Method in class AbstractPhysicsWorld
 
removeJoint(Joint<T>) - Method in class ConstraintGraph
Removes the given joint from the graph.
removeJoint(Joint<T>) - Method in interface PhysicsWorld
Removes the given Joint from this World.
removeListener(Listener) - Method in class World
Deprecated.
Removes the given listener from this world.
removeMaximum() - Method in class BinarySearchTree
Removes the maximum value node from this tree.
removeMinimum() - Method in class BinarySearchTree
Removes the minimum value node from this tree.
removeStepListener(StepListener<T>) - Method in class AbstractPhysicsWorld
 
removeStepListener(StepListener<T>) - Method in interface PhysicsWorld
Removes the given step listener from this world and returns true if it was removed.
removeTimeOfImpactListener(TimeOfImpactListener<T>) - Method in class AbstractPhysicsWorld
 
removeTimeOfImpactListener(TimeOfImpactListener<T>) - Method in interface PhysicsWorld
Removes the given time of impact listener from this world and returns true if it was removed.
reset() - Method in class Settings
Resets the settings back to defaults.
reset() - Method in interface CollisionData
Resets the data in this object to prepare for use in the next detection step.
reset() - Method in class WorldCollisionData
 
reverseOrderIterator() - Method in class BinarySearchTree
Returns a new iterator for traversing the tree in reverse order.
reverseWinding(List<Vector2>) - Static method in class Geometry
Reverses the order of the polygon points within the given list.
reverseWinding(Vector2...) - Static method in class Geometry
Reverses the order of the polygon points within the given array.
RevoluteJoint<T extends PhysicsBody> - Class in org.dyn4j.dynamics.joint
Implementation of a pivot joint.
RevoluteJoint(T, T, Vector2) - Constructor for class RevoluteJoint
Minimal constructor.
right() - Method in class Vector2
Sets this vector to the right-handed normal of this vector.
RobustGeometry - Class in org.dyn4j.geometry
This class provides geometric routines that have guarantees about some properties of their floating point results and operations.
RobustGeometry() - Constructor for class RobustGeometry
 
RopeJoint<T extends PhysicsBody> - Class in org.dyn4j.dynamics.joint
Implementation a maximum and/or minimum length distance joint.
RopeJoint(T, T, Vector2, Vector2) - Constructor for class RopeJoint
Minimal constructor.
Rotatable - Interface in org.dyn4j.geometry
Interface representing an object that can be rotated.
rotate(double) - Method in class AbstractCollisionBody
 
rotate(double) - Method in class AbstractShape
 
rotate(double) - Method in interface Rotatable
Rotates the object about the origin.
rotate(double) - Method in class Rotation
Rotates this rotation by the given angle and returns this rotation.
rotate(double) - Method in class Transform
 
rotate(double) - Method in class Vector2
Rotates about the origin.
rotate(double, double, double) - Method in class AbstractCollisionBody
 
rotate(double, double, double) - Method in class AbstractShape
 
rotate(double, double, double) - Method in class Link
 
rotate(double, double, double) - Method in interface Rotatable
Rotates the object about the given coordinates.
rotate(double, double, double) - Method in class Transform
 
rotate(double, double, double) - Method in class Vector2
Rotates the Vector2 about the given coordinates.
rotate(double, Vector2) - Method in class AbstractCollisionBody
 
rotate(double, Vector2) - Method in class AbstractShape
 
rotate(double, Vector2) - Method in interface Rotatable
Rotates the object about the given point.
rotate(double, Vector2) - Method in class Transform
 
rotate(double, Vector2) - Method in class Vector2
Rotates the Vector2 about the given point.
rotate(Rotation) - Method in class AbstractCollisionBody
 
rotate(Rotation) - Method in class AbstractShape
 
rotate(Rotation) - Method in interface Rotatable
Rotates the object about the origin.
rotate(Rotation) - Method in class Rotation
Rotates this rotation by the given rotation and returns this rotation.
rotate(Rotation) - Method in class Transform
 
rotate(Rotation) - Method in class Vector2
Rotates about the origin.
rotate(Rotation, double, double) - Method in class AbstractCollisionBody
 
rotate(Rotation, double, double) - Method in class AbstractShape
 
rotate(Rotation, double, double) - Method in class Capsule
 
rotate(Rotation, double, double) - Method in class Ellipse
 
rotate(Rotation, double, double) - Method in class HalfEllipse
 
rotate(Rotation, double, double) - Method in class Polygon
 
rotate(Rotation, double, double) - Method in interface Rotatable
Rotates the object about the given point.
rotate(Rotation, double, double) - Method in class Segment
 
rotate(Rotation, double, double) - Method in class Slice
 
rotate(Rotation, double, double) - Method in class Transform
 
rotate(Rotation, double, double) - Method in class Vector2
Rotates the Vector2 about the given coordinates.
rotate(Rotation, Vector2) - Method in class AbstractCollisionBody
 
rotate(Rotation, Vector2) - Method in class AbstractShape
 
rotate(Rotation, Vector2) - Method in interface Rotatable
Rotates the object about the given point.
rotate(Rotation, Vector2) - Method in class Transform
 
rotate(Rotation, Vector2) - Method in class Vector2
Rotates the Vector2 about the given point.
rotate135() - Method in class Rotation
Rotates this rotation 135 degrees and returns this rotation.
rotate180() - Method in class Rotation
Rotates this rotation 180 degrees and returns this rotation.
rotate225() - Method in class Rotation
Rotates this rotation 225 degrees and returns this rotation.
rotate270() - Method in class Rotation
Rotates this rotation 270 degrees and returns this rotation.
rotate315() - Method in class Rotation
Rotates this rotation 315 degrees and returns this rotation.
rotate45() - Method in class Rotation
Rotates this rotation 45 degrees and returns this rotation.
rotate90() - Method in class Rotation
Rotates this rotation 90 degrees and returns this rotation.
rotateAboutCenter(double) - Method in class AbstractCollisionBody
 
rotateAboutCenter(double) - Method in interface CollisionBody
Rotates the CollisionBody about its center.
rotateAboutCenter(double) - Method in class AbstractShape
 
rotateAboutCenter(double) - Method in interface Shape
Rotates the Shape about it's center.
Rotation - Class in org.dyn4j.geometry
This class represents a rotation (in 2D space).
Rotation() - Constructor for class Rotation
Default constructor.
Rotation(double) - Constructor for class Rotation
Creates a Rotation from the given angle.
Rotation(Rotation) - Constructor for class Rotation
Copy constructor.
rotation0() - Static method in class Rotation
Creates a new Rotation of 0 degrees.
rotation135() - Static method in class Rotation
Creates a new Rotation of 135 degrees.
rotation180() - Static method in class Rotation
Creates a new Rotation of 180 degrees.
rotation225() - Static method in class Rotation
Creates a new Rotation of 225 degrees.
rotation270() - Static method in class Rotation
Creates a new Rotation of 270 degrees.
rotation315() - Static method in class Rotation
Creates a new Rotation of 315 degrees.
rotation45() - Static method in class Rotation
Creates a new Rotation of 45 degrees.
rotation90() - Static method in class Rotation
Creates a new Rotation of 90 degrees.

S

Sap<T extends CollisionBody<E>,​E extends Fixture> - Class in org.dyn4j.collision.broadphase
Implementation of the Sweep and Prune broad-phase collision detection algorithm.
Sap() - Constructor for class Sap
Default constructor.
Sap(int) - Constructor for class Sap
Full constructor.
Sat - Class in org.dyn4j.collision.narrowphase
Implementation of the Separating Axis Theorem (SAT) for collision detection.
Sat() - Constructor for class Sat
 
scale(Capsule, double) - Static method in class Geometry
Returns a scaled version of the given capsule.
scale(Circle, double) - Static method in class Geometry
Returns a scaled version of the given circle.
scale(Ellipse, double) - Static method in class Geometry
Returns a scaled version of the given ellipse.
scale(HalfEllipse, double) - Static method in class Geometry
Returns a scaled version of the given half-ellipse.
scale(Polygon, double) - Static method in class Geometry
Returns a scaled version of the given polygon.
scale(Segment, double) - Static method in class Geometry
Returns a scaled version of the given segment.
scale(Slice, double) - Static method in class Geometry
Returns a scaled version of the given slice.
search(T) - Method in class BinarySearchTree
Performs a binary search on this tree given the criteria.
Segment - Class in org.dyn4j.geometry
Implementation of a Line Segment Convex Shape.
Segment(Vector2, Vector2) - Constructor for class Segment
Full constructor.
SegmentDetector - Class in org.dyn4j.collision.narrowphase
Class devoted to improving performance of Segment detection queries.
sensed(ContactPoint) - Method in class ContactAdapter
Deprecated.
sensed(ContactPoint) - Method in interface ContactListener
Deprecated.
As of 3.3.0 this is not called, use the other methods in the listener and check the sensor flag instead
Separation - Class in org.dyn4j.collision.narrowphase
Represents a Separation of one Convex Shape between another.
Separation() - Constructor for class Separation
Default constructor.
SequentialImpulses<T extends PhysicsBody> - Class in org.dyn4j.dynamics.contact
Represents an impulse based rigid PhysicsBody physics collision resolver.
SequentialImpulses() - Constructor for class SequentialImpulses
 
set(double) - Method in class Torque
Sets this Torque to the given torque value.
set(double) - Method in class Rotation
Sets this Rotation to the given angle.
set(double, double) - Method in class Force
Sets this Force to the given components.
set(double, double) - Method in class Vector2
Sets this Vector2 to the given Vector2.
set(double, double, double) - Method in class Vector3
Sets this Vector3 to the given Vector3.
set(Force) - Method in class Force
Sets this Force to the given Force.
set(Torque) - Method in class Torque
Sets this Torque to the given Torque.
set(AABB) - Method in class AABB
Sets this aabb to the given aabb's value and returns this AABB.
set(Rotation) - Method in class Rotation
Sets this Rotation to the given Rotation.
set(Transform) - Method in class Transform
Sets this transform to the given transform.
set(Vector2) - Method in class Force
Sets this Force to the given force Vector2.
set(Vector2) - Method in class Vector2
Sets this Vector2 to the given Vector2.
set(Vector3) - Method in class Vector3
Sets this Vector3 to the given Vector3.
setAABBExpansion(double) - Method in class AbstractBroadphaseDetector
 
setAABBExpansion(double) - Method in interface BroadphaseDetector
Sets the AABB expansion value used to improve performance of broad-phase updates.
setAccumulatedTime(double) - Method in class World
Deprecated.
Sets the current accumulated time.
setAccumulatedTime(double) - Method in class AbstractPhysicsWorld
 
setAccumulatedTime(double) - Method in interface PhysicsWorld
Sets the current accumulated time.
setActive(boolean) - Method in class AbstractPhysicsBody
Deprecated.
setActive(boolean) - Method in interface PhysicsBody
Deprecated.
Deprecated in 4.0.0. Use CollisionBody.setEnabled(boolean) instead.
setAngularDamping(double) - Method in class AbstractPhysicsBody
 
setAngularDamping(double) - Method in interface PhysicsBody
Sets the angular damping.
setAngularTarget(double) - Method in class MotorJoint
Sets the desired angle between the bodies.
setAngularTolerance(double) - Method in class Settings
Sets the angular tolerance.
setAngularVelocity(double) - Method in class AbstractPhysicsBody
 
setAngularVelocity(double) - Method in interface PhysicsBody
Sets the angular velocity in radians per second
setAsleep(boolean) - Method in class AbstractPhysicsBody
Deprecated.
setAsleep(boolean) - Method in interface PhysicsBody
Deprecated.
Deprecated in 4.0.0. Use PhysicsBody.setAtRest(boolean) instead.
setAtRest(boolean) - Method in class AbstractPhysicsBody
 
setAtRest(boolean) - Method in interface PhysicsBody
Sets whether this PhysicsBody is at-rest or not.
setAtRestDetectionEnabled(boolean) - Method in class AbstractPhysicsBody
 
setAtRestDetectionEnabled(boolean) - Method in interface PhysicsBody
Determines whether this PhysicsBody can participate in automatic at-rest detection.
setAtRestDetectionEnabled(boolean) - Method in class Settings
Sets whether the engine automatically flags PhysicsBodys as at-rest.
setAutoSleepingEnabled(boolean) - Method in class AbstractPhysicsBody
Deprecated.
setAutoSleepingEnabled(boolean) - Method in interface PhysicsBody
Deprecated.
Deprecated in 4.0.0. Use PhysicsBody.setAtRestDetectionEnabled(boolean) instead.
setAutoSleepingEnabled(boolean) - Method in class Settings
Deprecated.
Deprecated in 4.0.0. Use Settings.setAtRestDetectionEnabled(boolean) instead.
setBaumgarte(double) - Method in class Settings
Sets the baumgarte factor.
setBody(Body) - Method in class ConvexCastResult
Deprecated.
Sets the body.
setBody(Body) - Method in class DetectResult
Deprecated.
Sets the overlapping body.
setBody(Bo