Package | Description |
---|---|
org.jbox2d.callbacks | |
org.jbox2d.collision | |
org.jbox2d.collision.shapes | |
org.jbox2d.common | |
org.jbox2d.dynamics | |
org.jbox2d.dynamics.contacts |
Modifier and Type | Method and Description |
---|---|
abstract void |
DebugDraw.drawTransform(Transform xf)
Draw a transform.
|
Modifier and Type | Field and Description |
---|---|
Transform |
DistanceInput.transformA |
Transform |
DistanceInput.transformB |
Modifier and Type | Method and Description |
---|---|
void |
Collision.collideCircles(Manifold manifold,
CircleShape circle1,
Transform xfA,
CircleShape circle2,
Transform xfB)
Compute the collision manifold between two circles.
|
void |
Collision.collideEdgeAndCircle(Manifold manifold,
EdgeShape edgeA,
Transform xfA,
CircleShape circleB,
Transform xfB) |
void |
Collision.collideEdgeAndPolygon(Manifold manifold,
EdgeShape edgeA,
Transform xfA,
PolygonShape polygonB,
Transform xfB) |
void |
Collision.collidePolygonAndCircle(Manifold manifold,
PolygonShape polygon,
Transform xfA,
CircleShape circle,
Transform xfB)
Compute the collision manifold between a polygon and a circle.
|
void |
Collision.collidePolygons(Manifold manifold,
PolygonShape polyA,
Transform xfA,
PolygonShape polyB,
Transform xfB)
Compute the collision manifold between two polygons.
|
float |
Collision.edgeSeparation(PolygonShape poly1,
Transform xf1,
int edge1,
PolygonShape poly2,
Transform xf2)
Find the separation between poly1 and poly2 for a given edge normal on poly1.
|
void |
Collision.findIncidentEdge(Collision.ClipVertex[] c,
PolygonShape poly1,
Transform xf1,
int edge1,
PolygonShape poly2,
Transform xf2) |
void |
Collision.findMaxSeparation(org.jbox2d.collision.Collision.EdgeResults results,
PolygonShape poly1,
Transform xf1,
PolygonShape poly2,
Transform xf2)
Find the max separation between poly1 and poly2 using edge normals from poly1.
|
void |
WorldManifold.initialize(Manifold manifold,
Transform xfA,
float radiusA,
Transform xfB,
float radiusB) |
boolean |
Collision.testOverlap(Shape shapeA,
int indexA,
Shape shapeB,
int indexB,
Transform xfA,
Transform xfB)
Determine if two generic shapes overlap.
|
Modifier and Type | Method and Description |
---|---|
Vec2 |
PolygonShape.centroid(Transform xf)
Get the centroid and apply the supplied transform.
|
Vec2 |
PolygonShape.centroidToOut(Transform xf,
Vec2 out)
Get the centroid and apply the supplied transform.
|
void |
EdgeShape.computeAABB(AABB aabb,
Transform xf,
int childIndex) |
void |
ChainShape.computeAABB(AABB aabb,
Transform xf,
int childIndex) |
void |
PolygonShape.computeAABB(AABB aabb,
Transform xf,
int childIndex) |
abstract void |
Shape.computeAABB(AABB aabb,
Transform xf,
int childIndex)
Given a transform, compute the associated axis aligned bounding box for a child shape.
|
void |
CircleShape.computeAABB(AABB aabb,
Transform transform,
int childIndex) |
boolean |
EdgeShape.raycast(RayCastOutput output,
RayCastInput input,
Transform xf,
int childIndex) |
boolean |
ChainShape.raycast(RayCastOutput output,
RayCastInput input,
Transform xf,
int childIndex) |
boolean |
PolygonShape.raycast(RayCastOutput output,
RayCastInput input,
Transform xf,
int childIndex) |
abstract boolean |
Shape.raycast(RayCastOutput output,
RayCastInput input,
Transform transform,
int childIndex)
Cast a ray against a child shape.
|
boolean |
CircleShape.raycast(RayCastOutput output,
RayCastInput input,
Transform transform,
int childIndex) |
boolean |
EdgeShape.testPoint(Transform xf,
Vec2 p) |
boolean |
ChainShape.testPoint(Transform xf,
Vec2 p) |
boolean |
PolygonShape.testPoint(Transform xf,
Vec2 p) |
abstract boolean |
Shape.testPoint(Transform xf,
Vec2 p)
Test a point for containment in this shape.
|
boolean |
CircleShape.testPoint(Transform transform,
Vec2 p) |
Modifier and Type | Method and Description |
---|---|
static Transform |
Transform.mul(Transform A,
Transform B) |
static Transform |
Transform.mulTrans(Transform A,
Transform B) |
Transform |
Transform.set(Transform xf)
Set this to equal another transform.
|
Modifier and Type | Method and Description |
---|---|
void |
Sweep.getTransform(Transform xf,
float beta)
Get the interpolated transform at a specific time.
|
static Transform |
Transform.mul(Transform A,
Transform B) |
static Vec2 |
Transform.mul(Transform T,
Vec2 v) |
static void |
Transform.mulToOut(Transform A,
Transform B,
Transform out) |
static void |
Transform.mulToOut(Transform T,
Vec2 v,
Vec2 out) |
static void |
Transform.mulToOutUnsafe(Transform A,
Transform B,
Transform out) |
static void |
Transform.mulToOutUnsafe(Transform T,
Vec2 v,
Vec2 out) |
static Transform |
Transform.mulTrans(Transform A,
Transform B) |
static Vec2 |
Transform.mulTrans(Transform T,
Vec2 v) |
static void |
Transform.mulTransToOut(Transform A,
Transform B,
Transform out) |
static void |
Transform.mulTransToOut(Transform T,
Vec2 v,
Vec2 out) |
static void |
Transform.mulTransToOutUnsafe(Transform A,
Transform B,
Transform out) |
static void |
Transform.mulTransToOutUnsafe(Transform T,
Vec2 v,
Vec2 out) |
Transform |
Transform.set(Transform xf)
Set this to equal another transform.
|
Constructor and Description |
---|
Transform(Transform xf)
Initialize as a copy of another transform.
|
Modifier and Type | Field and Description |
---|---|
Transform |
Body.m_xf
The body origin transform.
|
Modifier and Type | Method and Description |
---|---|
Transform |
Body.getTransform()
Get the body transform for the body's origin.
|
Modifier and Type | Method and Description |
---|---|
void |
Fixture.createProxies(BroadPhase broadPhase,
Transform xf) |
protected void |
Fixture.synchronize(BroadPhase broadPhase,
Transform transform1,
Transform transform2)
Internal method
|
Modifier and Type | Method and Description |
---|---|
void |
EdgeAndCircleContact.evaluate(Manifold manifold,
Transform xfA,
Transform xfB) |
void |
EdgeAndPolygonContact.evaluate(Manifold manifold,
Transform xfA,
Transform xfB) |
void |
ChainAndPolygonContact.evaluate(Manifold manifold,
Transform xfA,
Transform xfB) |
void |
PolygonAndCircleContact.evaluate(Manifold manifold,
Transform xfA,
Transform xfB) |
abstract void |
Contact.evaluate(Manifold manifold,
Transform xfA,
Transform xfB) |
void |
ChainAndCircleContact.evaluate(Manifold manifold,
Transform xfA,
Transform xfB) |
void |
PolygonContact.evaluate(Manifold manifold,
Transform xfA,
Transform xfB) |
void |
CircleContact.evaluate(Manifold manifold,
Transform xfA,
Transform xfB) |
Copyright © 2017. All Rights Reserved.