| 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.
|
void |
Collision.findIncidentEdge(Collision.ClipVertex[] c,
PolygonShape poly1,
Transform xf1,
int edge1,
PolygonShape poly2,
Transform xf2) |
void |
Collision.findMaxSeparation(com.almasb.fxgl.physics.box2d.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.
|
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 |
PolygonShape.computeAABB(AABB aabb,
Transform xf,
int childIndex) |
void |
EdgeShape.computeAABB(AABB aabb,
Transform xf,
int childIndex) |
void |
CircleShape.computeAABB(AABB aabb,
Transform transform,
int childIndex) |
void |
ChainShape.computeAABB(AABB aabb,
Transform xf,
int childIndex) |
abstract float |
Shape.computeDistanceToOut(Transform xf,
Vec2 p,
int childIndex,
Vec2 normalOut)
Compute the distance from the current shape to the specified point.
|
float |
PolygonShape.computeDistanceToOut(Transform xf,
Vec2 p,
int childIndex,
Vec2 normalOut) |
float |
EdgeShape.computeDistanceToOut(Transform xf,
Vec2 p,
int childIndex,
Vec2 normalOut) |
float |
CircleShape.computeDistanceToOut(Transform xf,
Vec2 p,
int childIndex,
Vec2 normalOut) |
float |
ChainShape.computeDistanceToOut(Transform xf,
Vec2 p,
int childIndex,
Vec2 normalOut) |
abstract boolean |
Shape.raycast(RayCastOutput output,
RayCastInput input,
Transform transform,
int childIndex)
Cast a ray against a child shape.
|
boolean |
PolygonShape.raycast(RayCastOutput output,
RayCastInput input,
Transform xf,
int childIndex) |
boolean |
EdgeShape.raycast(RayCastOutput output,
RayCastInput input,
Transform xf,
int childIndex) |
boolean |
CircleShape.raycast(RayCastOutput output,
RayCastInput input,
Transform transform,
int childIndex) |
boolean |
ChainShape.raycast(RayCastOutput output,
RayCastInput input,
Transform xf,
int childIndex) |
abstract boolean |
Shape.testPoint(Transform xf,
Vec2 p)
Test a point for containment in this shape.
|
boolean |
PolygonShape.testPoint(Transform xf,
Vec2 p) |
boolean |
EdgeShape.testPoint(Transform xf,
Vec2 p) |
boolean |
CircleShape.testPoint(Transform transform,
Vec2 p) |
boolean |
ChainShape.testPoint(Transform xf,
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.
|
Transform |
Body.m_xf0
The previous transform for particle simulation
|
| Modifier and Type | Method and Description |
|---|---|
Transform |
Body.getTransform() |
| Modifier and Type | Method and Description |
|---|---|
int |
World.destroyParticlesInShape(Shape shape,
Transform xf)
Destroy particles inside a shape without enabling the destruction callback for destroyed
particles.
|
int |
World.destroyParticlesInShape(Shape shape,
Transform xf,
boolean callDestructionListener)
Destroy particles inside a shape.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PolygonContact.evaluate(Manifold manifold,
Transform xfA,
Transform xfB) |
void |
PolygonAndCircleContact.evaluate(Manifold manifold,
Transform xfA,
Transform xfB) |
void |
EdgeAndPolygonContact.evaluate(Manifold manifold,
Transform xfA,
Transform xfB) |
void |
EdgeAndCircleContact.evaluate(Manifold manifold,
Transform xfA,
Transform xfB) |
abstract void |
Contact.evaluate(Manifold manifold,
Transform xfA,
Transform xfB) |
void |
CircleContact.evaluate(Manifold manifold,
Transform xfA,
Transform xfB) |
void |
ChainAndPolygonContact.evaluate(Manifold manifold,
Transform xfA,
Transform xfB) |
void |
ChainAndCircleContact.evaluate(Manifold manifold,
Transform xfA,
Transform xfB) |
| Modifier and Type | Method and Description |
|---|---|
Transform |
ParticleGroup.getTransform() |
| Modifier and Type | Method and Description |
|---|---|
int |
ParticleSystem.destroyParticlesInShape(Shape shape,
Transform xf,
boolean callDestructionListener) |
Copyright © 2018. All rights reserved.