|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use XForm | |
---|---|
org.jbox2d.collision | This package contains the broad and narrow phase collision algorithms. |
org.jbox2d.common | This package contains various math and utility functions used by all of JBox2d, including vectors (Vec2), matrices (Mat22), transforms (XForm), colors (Color3f), and CCD sweeps (Sweep), as well as the global settings for the simulation (Settings). |
org.jbox2d.dynamics | This package handles non-collision aspects of simulation. |
org.jbox2d.testbed | The JBox2d 2.0 testbed, implemented using Processing. |
Uses of XForm in org.jbox2d.collision |
---|
Methods in org.jbox2d.collision with parameters of type XForm | |
---|---|
Vec2 |
PolygonShape.centroid(XForm xf)
Get the centroid and apply the supplied transform. |
static void |
CollideCircle.collideCircles(Manifold manifold,
CircleShape circle1,
XForm xf1,
CircleShape circle2,
XForm xf2)
|
static void |
CollideCircle.collidePolygonAndCircle(Manifold manifold,
PolygonShape polygon,
XForm xf1,
CircleShape circle,
XForm xf2)
|
static void |
CollidePoly.collidePolygons(Manifold manif,
PolygonShape polyA,
XForm xfA,
PolygonShape polyB,
XForm xfB)
|
abstract void |
Shape.computeAABB(AABB aabb,
XForm xf)
Given a transform, compute the associated axis aligned bounding box for this shape. |
void |
PolygonShape.computeAABB(AABB aabb,
XForm xf)
|
void |
CircleShape.computeAABB(AABB aabb,
XForm transform)
|
abstract void |
Shape.computeSweptAABB(AABB aabb,
XForm xf1,
XForm xf2)
Given two transforms, compute the associated swept axis aligned bounding box for this shape. |
void |
PolygonShape.computeSweptAABB(AABB aabb,
XForm transform1,
XForm transform2)
|
void |
CircleShape.computeSweptAABB(AABB aabb,
XForm transform1,
XForm transform2)
|
void |
Shape.createProxy(BroadPhase broadPhase,
XForm transform)
Internal |
static float |
Distance.distance(Vec2 x1,
Vec2 x2,
Shape shape1,
XForm xf1,
Shape shape2,
XForm xf2)
Find the closest distance between shapes shape1 and shape2, and load the closest points into x1 and x2. |
protected static float |
Distance.DistanceCC(Vec2 x1,
Vec2 x2,
CircleShape circle1,
XForm xf1,
CircleShape circle2,
XForm xf2)
|
static float |
Distance.DistanceGeneric(Vec2 x1,
Vec2 x2,
SupportsGenericDistance shape1,
XForm xf1,
SupportsGenericDistance shape2,
XForm xf2)
Distance between any two objects that implement SupportsGenericDistance. |
protected static float |
Distance.DistancePC(Vec2 x1,
Vec2 x2,
PolygonShape polygon,
XForm xf1,
CircleShape circle,
XForm xf2)
|
Vec2 |
SupportsGenericDistance.getFirstVertex(XForm xf)
|
Vec2 |
PolygonShape.getFirstVertex(XForm xf)
Get the first vertex and apply the supplied transform. |
void |
Shape.refilterProxy(BroadPhase broadPhase,
XForm transform)
Internal |
Vec2 |
SupportsGenericDistance.support(XForm xf,
Vec2 v)
|
Vec2 |
PolygonShape.support(XForm xf,
Vec2 d)
Get the support point in the given world direction. |
boolean |
Shape.synchronize(BroadPhase broadPhase,
XForm transform1,
XForm transform2)
Internal |
abstract boolean |
Shape.testPoint(XForm xf,
Vec2 p)
Test a point for containment in this shape. |
boolean |
PolygonShape.testPoint(XForm xf,
Vec2 p)
|
boolean |
CircleShape.testPoint(XForm transform,
Vec2 p)
|
Uses of XForm in org.jbox2d.common |
---|
Fields in org.jbox2d.common declared as XForm | |
---|---|
static XForm |
XForm.identity
The identity transform |
Methods in org.jbox2d.common with parameters of type XForm | |
---|---|
void |
Sweep.getXForm(XForm xf,
float t)
Get the interpolated transform at a specific time. |
static Vec2 |
XForm.mul(XForm T,
Vec2 v)
|
static Vec2 |
XForm.mulT(XForm T,
Vec2 v)
|
void |
XForm.set(XForm xf)
Set this to equal another transform. |
Constructors in org.jbox2d.common with parameters of type XForm | |
---|---|
XForm(XForm xf)
Initialize as a copy of another transform. |
Uses of XForm in org.jbox2d.dynamics |
---|
Fields in org.jbox2d.dynamics declared as XForm | |
---|---|
XForm |
Body.m_xf
The body origin transform |
Methods in org.jbox2d.dynamics that return XForm | |
---|---|
XForm |
Body.getXForm()
Get a copy of the body transform for the body's origin. |
Methods in org.jbox2d.dynamics with parameters of type XForm | |
---|---|
void |
World.drawShape(Shape shape,
XForm xf,
Color3f color,
boolean core)
For internal use |
abstract void |
DebugDraw.drawXForm(XForm xf)
|
Uses of XForm in org.jbox2d.testbed |
---|
Methods in org.jbox2d.testbed with parameters of type XForm | |
---|---|
void |
ProcessingDebugDraw.drawXForm(XForm xf)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |