|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use XForm | |
---|---|
org.jbox2d.collision | This package contains the broad and narrow phase collision algorithms. |
org.jbox2d.collision.shapes | |
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 | |
---|---|
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. |
static float |
Distance.DistanceCC(Vec2 x1,
Vec2 x2,
CircleShape circle1,
XForm xf1,
CircleShape circle2,
XForm xf2)
distance between two circle shapes |
static float |
Distance.DistanceCirclePoint(Vec2 x1,
Vec2 x2,
CircleShape circle1,
XForm xf1,
PointShape pt2,
XForm xf2)
Distance between a circle and a point |
static float |
Distance.DistanceEdgeCircle(Vec2 x1,
Vec2 x2,
EdgeShape edge,
XForm xf1,
CircleShape circle,
XForm xf2)
Distance bewteen an edge and a circle |
static float |
Distance.DistanceGeneric(Vec2 x1,
Vec2 x2,
SupportsGenericDistance shape1,
XForm xf1,
SupportsGenericDistance shape2,
XForm xf2)
Distance between any two objects that implement SupportsGenericDistance. |
static float |
Distance.DistancePC(Vec2 x1,
Vec2 x2,
PolygonShape polygon,
XForm xf1,
CircleShape circle,
XForm xf2)
Distance between a polygon and a circle |
static float |
Distance.DistancePolygonPoint(Vec2 x1,
Vec2 x2,
PolygonShape polygon,
XForm xf1,
PointShape pt,
XForm xf2)
Distance between a polygon and a point |
void |
SupportsGenericDistance.getFirstVertexToOut(XForm xf,
Vec2 out)
|
void |
SupportsGenericDistance.support(Vec2 dest,
XForm xf,
Vec2 v)
|
Uses of XForm in org.jbox2d.collision.shapes |
---|
Methods in org.jbox2d.collision.shapes 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)
puts collision information of the two circles in the manifold |
static void |
CollideCircle.collideEdgeAndCircle(Manifold manifold,
EdgeShape edge,
XForm xf1,
CircleShape circle,
XForm xf2)
puts collision information into the manifold from a circle and edge collision |
static void |
CollideCircle.collidePointAndCircle(Manifold manifold,
PointShape point1,
XForm xf1,
CircleShape circle2,
XForm xf2)
Puts collision information in the manifold about a collision between a point and a circle |
static void |
CollidePoly.collidePolyAndEdge(Manifold manifold,
PolygonShape polygon,
XForm xf1,
EdgeShape edge,
XForm xf2)
puts collision information into the manifold about a collision between a polygon and an edge |
static void |
CollideCircle.collidePolygonAndCircle(Manifold manifold,
PolygonShape polygon,
XForm xf1,
CircleShape circle,
XForm xf2)
puts collision information about the collision of a polygon and a circle |
static void |
CollidePoly.collidePolygonAndPoint(Manifold manifold,
PolygonShape polygon,
XForm xf1,
PointShape point,
XForm xf2)
puts collision information into the manifold about the collision between a polygon and a point |
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 |
PointShape.computeAABB(AABB aabb,
XForm transform)
|
void |
EdgeShape.computeAABB(AABB aabb,
XForm transform)
|
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 |
PointShape.computeSweptAABB(AABB aabb,
XForm transform1,
XForm transform2)
|
void |
EdgeShape.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 |
CollidePoly.edgeSeparation(PolygonShape poly1,
XForm xf1,
int edge1,
PolygonShape poly2,
XForm xf2)
|
static void |
CollidePoly.findIncidentEdge(org.jbox2d.collision.shapes.CollidePoly.ClipVertex[] c,
PolygonShape poly1,
XForm xf1,
int edge1,
PolygonShape poly2,
XForm xf2)
|
static org.jbox2d.collision.shapes.MaxSeparation |
CollidePoly.findMaxSeparation(PolygonShape poly1,
XForm xf1,
PolygonShape poly2,
XForm xf2)
Find the max separation between poly1 and poly2 using face normals from poly1. |
void |
PolygonShape.getFirstVertexToOut(XForm xf,
Vec2 out)
Get the first vertex and apply the supplied transform. |
void |
EdgeShape.getFirstVertexToOut(XForm xf,
Vec2 out)
|
void |
Shape.refilterProxy(BroadPhase broadPhase,
XForm transform)
Internal |
void |
PolygonShape.support(Vec2 dest,
XForm xf,
Vec2 d)
Get the support point in the given world direction. |
void |
EdgeShape.support(Vec2 dest,
XForm xf,
Vec2 d)
|
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 |
PointShape.testPoint(XForm xf,
Vec2 p)
|
boolean |
EdgeShape.testPoint(XForm transform,
Vec2 p)
|
boolean |
CircleShape.testPoint(XForm transform,
Vec2 p)
checks to see if the point is in this shape. |
Uses of XForm in org.jbox2d.common |
---|
Fields in org.jbox2d.common declared as XForm | |
---|---|
static XForm |
XForm.identity
|
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 void |
XForm.mulToOut(XForm T,
Vec2 v,
Vec2 out)
|
static Vec2 |
XForm.mulTrans(XForm T,
Vec2 v)
|
static void |
XForm.mulTransToOut(XForm T,
Vec2 v,
Vec2 out)
|
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.getMemberXForm()
More for internal use. |
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 |