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 

C

Capacity - Class in org.dyn4j.dynamics
Represents the estimated number of objects of different types.
Capacity() - Constructor for class org.dyn4j.dynamics.Capacity
Default constructor.
Capacity(int, int, int) - Constructor for class org.dyn4j.dynamics.Capacity
Full constructor.
Capsule - Class in org.dyn4j.geometry
Implementation of a Capsule Convex Shape.
Capsule(double, double) - Constructor for class org.dyn4j.geometry.Capsule
Minimal constructor.
CategoryFilter - Class in org.dyn4j.collision
A Filter for categorized fixtures.
CategoryFilter() - Constructor for class org.dyn4j.collision.CategoryFilter
Default constructor.
CategoryFilter(long, long) - Constructor for class org.dyn4j.collision.CategoryFilter
Full constructor.
Circle - Class in org.dyn4j.geometry
Implementation of a Circle Convex Shape.
Circle(double) - Constructor for class org.dyn4j.geometry.Circle
Full constructor.
CircleDetector - Class in org.dyn4j.collision.narrowphase
Class devoted to Circle detection queries.
clamp(double) - Method in class org.dyn4j.geometry.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 org.dyn4j.geometry.Interval
Returns a number clamped between two other numbers.
cleanse(List<Vector2>) - Static method in class org.dyn4j.geometry.Geometry
Returns a new list containing the 'cleansed' version of the given listing of polygon points.
cleanse(Vector2...) - Static method in class org.dyn4j.geometry.Geometry
Returns a new array containing the 'cleansed' version of the given array of polygon points.
clear() - Method in class org.dyn4j.BinarySearchTree
Empties this tree.
clear() - Method in interface org.dyn4j.collision.broadphase.BroadphaseDetector
Clears all the Collidable Fixtures from this broad-phase.
clear() - Method in class org.dyn4j.collision.broadphase.DynamicAABBTree
 
clear() - Method in class org.dyn4j.collision.broadphase.Sap
 
clear() - Method in class org.dyn4j.collision.manifold.Manifold
Clears the Manifold information.
clear() - Method in class org.dyn4j.collision.narrowphase.Penetration
Clears the penetration information.
clear() - Method in class org.dyn4j.collision.narrowphase.Raycast
Clears this object setting all values to their default values.
clear() - Method in class org.dyn4j.collision.narrowphase.Separation
Clears the separation information.
clear() - Method in interface org.dyn4j.dynamics.contact.ContactManager
Clears the contact manager.
clear() - Method in class org.dyn4j.dynamics.contact.DefaultContactManager
 
clearAccumulatedForce() - Method in class org.dyn4j.dynamics.Body
Clears the forces stored in the force accumulator.
clearAccumulatedTorque() - Method in class org.dyn4j.dynamics.Body
Clears the torques stored in the torque accumulator.
clearForce() - Method in class org.dyn4j.dynamics.Body
Clears the last time step's force on the Body.
clearTorque() - Method in class org.dyn4j.dynamics.Body
Clears the last time step's torque on the Body.
ClippingManifoldSolver - Class in org.dyn4j.collision.manifold
Implementation of a Sutherland-Hodgman clipping ManifoldSolver algorithm.
ClippingManifoldSolver() - Constructor for class org.dyn4j.collision.manifold.ClippingManifoldSolver
 
CoefficientMixer - Interface in org.dyn4j.dynamics
Interface used to customize the way friction and restitution coefficients are mixed.
Collidable<T extends Fixture> - Interface in org.dyn4j.collision
Represents an object that can collide with other objects.
collision(Body, BodyFixture, Body, BodyFixture) - Method in class org.dyn4j.dynamics.CollisionAdapter
 
collision(Body, BodyFixture, Body, BodyFixture) - Method in interface org.dyn4j.dynamics.CollisionListener
Called when two BodyFixtures are colliding as determined by the BroadphaseDetector.
collision(Body, BodyFixture, Body, BodyFixture, TimeOfImpact) - Method in class org.dyn4j.dynamics.TimeOfImpactAdapter
 
collision(Body, BodyFixture, Body, BodyFixture, TimeOfImpact) - Method in interface org.dyn4j.dynamics.TimeOfImpactListener
Called when a time of impact has been detected between two bodies.
collision(Body, BodyFixture, Body, BodyFixture, Manifold) - Method in class org.dyn4j.dynamics.CollisionAdapter
 
collision(Body, BodyFixture, Body, BodyFixture, Manifold) - Method in interface org.dyn4j.dynamics.CollisionListener
Called when two BodyFixtures are colliding and a contact Manifold has been found.
collision(Body, BodyFixture, Body, BodyFixture, Penetration) - Method in class org.dyn4j.dynamics.CollisionAdapter
 
collision(Body, BodyFixture, Body, BodyFixture, Penetration) - Method in interface org.dyn4j.dynamics.CollisionListener
Called when two BodyFixtures are colliding as determined by the NarrowphaseDetector.
collision(ContactConstraint) - Method in class org.dyn4j.dynamics.CollisionAdapter
 
collision(ContactConstraint) - Method in interface org.dyn4j.dynamics.CollisionListener
Called after a ContactConstraint has been created for a collision.
CollisionAdapter - Class in org.dyn4j.dynamics
Convenience class for implementing the CollisionListener interface.
CollisionAdapter() - Constructor for class org.dyn4j.dynamics.CollisionAdapter
 
CollisionListener - Interface in org.dyn4j.dynamics
Interface to listen for collision events.
Collisions - Class in org.dyn4j.collision
Class used to estimate collision counts and other one-off collision methods and values.
compareTo(FallbackCondition) - Method in class org.dyn4j.collision.narrowphase.AbstractFallbackCondition
 
compareTo(ConvexCastResult) - Method in class org.dyn4j.dynamics.ConvexCastResult
 
compareTo(RaycastResult) - Method in class org.dyn4j.dynamics.RaycastResult
 
compute() - Static method in class org.dyn4j.Epsilon
Computes an approximation of machine epsilon.
ConservativeAdvancement - Class in org.dyn4j.collision.continuous
Implements the Conservative Advancement technique to solve for the time of impact.
ConservativeAdvancement() - Constructor for class org.dyn4j.collision.continuous.ConservativeAdvancement
Default constructor.
ConservativeAdvancement(DistanceDetector) - Constructor for class org.dyn4j.collision.continuous.ConservativeAdvancement
Optional constructor.
Constraint - Class in org.dyn4j.dynamics
Represents some physical constraint between a pair of Bodys.
Constraint(Body, Body) - Constructor for class org.dyn4j.dynamics.Constraint
Full constructor.
Contact - Class in org.dyn4j.dynamics.contact
Represents a contact point between two Body objects.
Contact(ManifoldPointId, Vector2, double, Vector2, Vector2) - Constructor for class org.dyn4j.dynamics.contact.Contact
Full constructor.
ContactAdapter - Class in org.dyn4j.dynamics.contact
Convenience class for implementing the ContactListener interface.
ContactAdapter() - Constructor for class org.dyn4j.dynamics.contact.ContactAdapter
 
ContactConstraint - Class in org.dyn4j.dynamics.contact
Represents a Contact constraint for each Body pair.
ContactConstraint(Body, BodyFixture, Body, BodyFixture, Manifold, double, double) - Constructor for class org.dyn4j.dynamics.contact.ContactConstraint
Full constructor.
ContactConstraintId - Class in org.dyn4j.dynamics.contact
Represents and id for a contact constraint between two Convex Shapes on two Bodys.
ContactConstraintId(Body, BodyFixture, Body, BodyFixture) - Constructor for class org.dyn4j.dynamics.contact.ContactConstraintId
Full constructor.
ContactConstraintSolver - Interface in org.dyn4j.dynamics.contact
Represents an impulse/velocity based rigid Body physics collision resolver.
ContactListener - Interface in org.dyn4j.dynamics.contact
Represents an object that is notified of contact events.
ContactManager - Interface in org.dyn4j.dynamics.contact
Maintains ContactConstraints between Bodys and notifies ContactListeners of various events related to the life-cycle of a contact.
ContactPoint - Class in org.dyn4j.dynamics.contact
Represents a contact point and used to report events via the ContactListener.
ContactPoint(ContactConstraint, Contact) - Constructor for class org.dyn4j.dynamics.contact.ContactPoint
Helper constructor for a contact constraint and contact.
ContactPoint(ContactPoint) - Constructor for class org.dyn4j.dynamics.contact.ContactPoint
Copy constructor (shallow).
ContactPoint(ContactPointId, Body, BodyFixture, Body, BodyFixture, Vector2, Vector2, double, boolean) - Constructor for class org.dyn4j.dynamics.contact.ContactPoint
Full constructor.
ContactPointId - Class in org.dyn4j.dynamics.contact
Represents a contact point id to identify contacts from frame to frame.
ContactPointId(ContactConstraintId, ManifoldPointId) - Constructor for class org.dyn4j.dynamics.contact.ContactPointId
Full constructor.
contains(double, double) - Method in class org.dyn4j.geometry.AABB
Returns true if the given point's coordinates are contained within this AABB.
contains(E) - Method in class org.dyn4j.BinarySearchTree
Attempts to find the given comparable object within the tree.
contains(E) - Method in interface org.dyn4j.collision.broadphase.BroadphaseDetector
Returns true if all the Fixtures on the given Collidable have been added to this broad-phase.
contains(E) - Method in class org.dyn4j.collision.broadphase.DynamicAABBTree
 
contains(E) - Method in class org.dyn4j.collision.broadphase.Sap
 
contains(E, T) - Method in interface org.dyn4j.collision.broadphase.BroadphaseDetector
Returns true if the given Fixture on the given Collidable has been added to this broadphase.
contains(E, T) - Method in class org.dyn4j.collision.broadphase.DynamicAABBTree
 
contains(E, T) - Method in class org.dyn4j.collision.broadphase.Sap
 
contains(AABB) - Method in class org.dyn4j.geometry.AABB
Returns true if the given AABB is contained within this AABB.
contains(Interval) - Method in class org.dyn4j.geometry.Interval
Returns true if the given Interval is contained in this Interval.
contains(Vector2) - Method in class org.dyn4j.collision.AbstractCollidable
 
contains(Vector2) - Method in interface org.dyn4j.collision.Collidable
Returns true if the given world space point is contained in this Collidable.
contains(Vector2) - Method in class org.dyn4j.geometry.AABB
Returns true if the given point is contained within this AABB.
contains(Vector2) - Method in class org.dyn4j.geometry.AbstractShape
 
contains(Vector2) - Method in interface org.dyn4j.geometry.Shape
Returns true if the given point is inside this Shape.
contains(Vector2, Transform) - Method in class org.dyn4j.geometry.Capsule
 
contains(Vector2, Transform) - Method in class org.dyn4j.geometry.Circle
 
contains(Vector2, Transform) - Method in class org.dyn4j.geometry.Ellipse
 
contains(Vector2, Transform) - Method in class org.dyn4j.geometry.HalfEllipse
 
contains(Vector2, Transform) - Method in class org.dyn4j.geometry.Polygon
 
contains(Vector2, Transform) - Method in class org.dyn4j.geometry.Rectangle
 
contains(Vector2, Transform) - Method in class org.dyn4j.geometry.Segment
Returns true if the given point is inside this Shape.
contains(Vector2, Transform) - Method in interface org.dyn4j.geometry.Shape
Returns true if the given point is inside this Shape.
contains(Vector2, Transform) - Method in class org.dyn4j.geometry.Slice
 
contains(Vector2, Transform) - Method in class org.dyn4j.geometry.Triangle
Returns true if the point is inside the Triangle.
contains(Vector2, Transform, double) - Method in class org.dyn4j.geometry.Segment
Returns true if the given point is inside this Shape.
containsBody(Body) - Method in class org.dyn4j.dynamics.World
Returns true if this world contains the given body.
containsCondition(FallbackCondition) - Method in class org.dyn4j.collision.narrowphase.FallbackNarrowphaseDetector
Returns true if the given condition is contained in this detector.
containsFixture(T) - Method in class org.dyn4j.collision.AbstractCollidable
 
containsFixture(T) - Method in interface org.dyn4j.collision.Collidable
Returns true if this Collidable contains the given Fixture.
containsJoint(Joint) - Method in class org.dyn4j.dynamics.World
Returns true if this world contains the given joint.
containsListener(Listener) - Method in class org.dyn4j.dynamics.World
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 org.dyn4j.dynamics.World
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 org.dyn4j.dynamics.World
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 org.dyn4j.dynamics.World
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 org.dyn4j.dynamics.World
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 org.dyn4j.dynamics.World
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 org.dyn4j.dynamics.World
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 org.dyn4j.dynamics.World
Performs a linear convex cast on the given body, placing a detected collision into the given result object.
convexCast(Convex, Transform, Vector2, Body, boolean, ConvexCastResult) - Method in class org.dyn4j.dynamics.World
Performs a linear convex cast on the given body, placing a detected collision into the given result object.
ConvexCastAdapter - Class in org.dyn4j.dynamics
Default implementation of the ConvexCastListener interface.
ConvexCastAdapter() - Constructor for class org.dyn4j.dynamics.ConvexCastAdapter
 
ConvexCastListener - Interface in org.dyn4j.dynamics
Interface to listen for convex cast events.
ConvexCastResult - Class in org.dyn4j.dynamics
Represents the result of a convex cast.
ConvexCastResult() - Constructor for class org.dyn4j.dynamics.ConvexCastResult
Default constructor.
ConvexCastResult(Body, BodyFixture, TimeOfImpact) - Constructor for class org.dyn4j.dynamics.ConvexCastResult
Full constructor.
copy() - Method in class org.dyn4j.geometry.Transform
Copies this Transform.
copy() - Method in class org.dyn4j.geometry.Vector2
Returns a copy of this Vector2.
copy() - Method in class org.dyn4j.geometry.Vector3
Returns a copy of this Vector3.
create(double, double) - Static method in class org.dyn4j.geometry.Vector2
Returns a new Vector2 given the magnitude and direction.
create(List<Mass>) - Static method in class org.dyn4j.geometry.Mass
Creates a Mass object from the given array of masses.
createAABB() - Method in class org.dyn4j.collision.AbstractCollidable
 
createAABB() - Method in interface org.dyn4j.collision.Collidable
Creates an AABB from this Collidable's attached Fixtures.
createAABB() - Method in class org.dyn4j.geometry.AbstractShape
 
createAABB() - Method in interface org.dyn4j.geometry.Shape
Creates an AABB from this Shape.
createAABB(Transform) - Method in class org.dyn4j.collision.AbstractCollidable
 
createAABB(Transform) - Method in interface org.dyn4j.collision.Collidable
Creates an AABB from this Collidable's attached Fixtures using the given world space Transform.
createAABB(Transform) - Method in class org.dyn4j.geometry.Capsule
 
createAABB(Transform) - Method in class org.dyn4j.geometry.Circle
 
createAABB(Transform) - Method in class org.dyn4j.geometry.Ellipse
 
createAABB(Transform) - Method in class org.dyn4j.geometry.HalfEllipse
 
createAABB(Transform) - Method in class org.dyn4j.geometry.Polygon
 
createAABB(Transform) - Method in class org.dyn4j.geometry.Segment
Creates an AABB from this Shape after applying the given transformation to the shape.
createAABB(Transform) - Method in interface org.dyn4j.geometry.Shape
Creates an AABB from this Shape after applying the given transformation to the shape.
createAABB(Transform) - Method in class org.dyn4j.geometry.Slice
 
createCapsule(double, double) - Static method in class org.dyn4j.geometry.Geometry
Creates a new Capsule bounded by the given rectangle width and height.
createCircle(double) - Static method in class org.dyn4j.geometry.Geometry
Returns a new Circle with the given radius centered on the origin.
createEllipse(double, double) - Static method in class org.dyn4j.geometry.Geometry
Creates a new Ellipse bounded by the given rectangle width and height.
createEquilateralTriangle(double) - Static method in class org.dyn4j.geometry.Geometry
Creates an equilateral Triangle with the center at the origin.
createHalfEllipse(double, double) - Static method in class org.dyn4j.geometry.Geometry
Creates a new HalfEllipse bounded by the given rectangle width and height.
createHalfEllipseAtOrigin(double, double) - Static method in class org.dyn4j.geometry.Geometry
Creates a new HalfEllipse bounded by the given rectangle width and height.
createHorizontalSegment(double) - Static method in class org.dyn4j.geometry.Geometry
Creates a new Segment with the given length with the center at the origin.
createIsoscelesTriangle(double, double) - Static method in class org.dyn4j.geometry.Geometry
Creates an isosceles Triangle with the center at the origin.
createLinks(List<Vector2>, boolean) - Static method in class org.dyn4j.geometry.Geometry
Creates a list of Links for the given vertices.
createLinks(Vector2[], boolean) - Static method in class org.dyn4j.geometry.Geometry
Creates a Link chain for the given vertices.
createMass() - Method in class org.dyn4j.dynamics.BodyFixture
Creates a new Mass object using the set density and shape.
createMass(double) - Method in class org.dyn4j.geometry.Capsule
 
createMass(double) - Method in class org.dyn4j.geometry.Circle
Creates a Mass object using the geometric properties of this Shape and the given density.
createMass(double) - Method in class org.dyn4j.geometry.Ellipse
 
createMass(double) - Method in class org.dyn4j.geometry.HalfEllipse
 
createMass(double) - Method in class org.dyn4j.geometry.Polygon
Creates a Mass object using the geometric properties of this Polygon and the given density.
createMass(double) - Method in class org.dyn4j.geometry.Rectangle
Creates a Mass object using the geometric properties of this Rectangle and the given density.
createMass(double) - Method in class org.dyn4j.geometry.Segment
Creates a Mass object using the geometric properties of this Segment and the given density.
createMass(double) - Method in interface org.dyn4j.geometry.Shape
Creates a Mass object using the geometric properties of this Shape and the given density.
createMass(double) - Method in class org.dyn4j.geometry.Slice
 
createPolygon(Vector2...) - Static method in class org.dyn4j.geometry.Geometry
Returns a new Polygon with the given vertices.
createPolygonalCapsule(int, double, double) - Static method in class org.dyn4j.geometry.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 org.dyn4j.geometry.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 org.dyn4j.geometry.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 org.dyn4j.geometry.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 org.dyn4j.geometry.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 org.dyn4j.geometry.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 org.dyn4j.geometry.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 org.dyn4j.geometry.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 org.dyn4j.geometry.Geometry
Returns a new Polygon, using the given vertices, centered at the origin.
createRectangle(double, double) - Static method in class org.dyn4j.geometry.Geometry
Creates a new Rectangle with the given width and height centered at the origin.
createRightTriangle(double, double) - Static method in class org.dyn4j.geometry.Geometry
Creates a right angle Triangle with the center at the origin.
createRightTriangle(double, double, boolean) - Static method in class org.dyn4j.geometry.Geometry
Creates a right angle Triangle with the center at the origin.
createSegment(Vector2) - Static method in class org.dyn4j.geometry.Geometry
Creates a new Segment from the origin to the given end point
createSegment(Vector2, Vector2) - Static method in class org.dyn4j.geometry.Geometry
Creates a new Segment with the given points.
createSegmentAtOrigin(Vector2, Vector2) - Static method in class org.dyn4j.geometry.Geometry
Creates a new Segment with the given points.
createSlice(double, double) - Static method in class org.dyn4j.geometry.Geometry
Creates a new Slice with the given circle radius and arc length theta.
createSliceAtOrigin(double, double) - Static method in class org.dyn4j.geometry.Geometry
Creates a new Slice with the given circle radius and arc length theta.
createSquare(double) - Static method in class org.dyn4j.geometry.Geometry
Creates a square (equal height and width Rectangle) with the given size centered at the origin.
createSweptAABB() - Method in class org.dyn4j.dynamics.Body
Returns an AABB that contains the maximal space in which the Collidable exists from the initial transform to the final transform.
createSweptAABB(Transform, Transform) - Method in class org.dyn4j.dynamics.Body
Creates a swept AABB from the given start and end Transforms for this Body.
createTriangle(Vector2, Vector2, Vector2) - Static method in class org.dyn4j.geometry.Geometry
Creates a new Triangle, using the given points.
createTriangleAtOrigin(Vector2, Vector2, Vector2) - Static method in class org.dyn4j.geometry.Geometry
Creates a new Triangle with the given points centered at the origin.
createUnitCirclePolygon(int, double) - Static method in class org.dyn4j.geometry.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 org.dyn4j.geometry.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 org.dyn4j.geometry.Geometry
Creates a new Segment with the given length with the center at the origin.
cross(double) - Method in class org.dyn4j.geometry.Vector2
Returns the cross product of this Vector2 and the z value of the right Vector2.
cross(double, double) - Method in class org.dyn4j.geometry.Vector2
Returns the cross product of the this Vector2 and the given Vector2.
cross(double, double, double) - Method in class org.dyn4j.geometry.Vector3
Returns the cross product of the this Vector3 and the given Vector3.
cross(Vector2) - Method in class org.dyn4j.geometry.Vector2
Returns the cross product of the this Vector2 and the given Vector2.
cross(Vector3) - Method in class org.dyn4j.geometry.Vector3
Returns the cross product of the this Vector3 and the given Vector3.
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 
Skip navigation links