Method | Defined by | ||
---|---|---|---|
b2CollideCircles(manifold:b2Manifold, circle1:b2CircleShape, xf1:b2XForm, circle2:b2CircleShape, xf2:b2XForm):void
[static]
| b2Collision | ||
b2CollidePolygonAndCircle(manifold:b2Manifold, polygon:b2PolygonShape, xf1:b2XForm, circle:b2CircleShape, xf2:b2XForm):void
[static]
| b2Collision | ||
b2CollidePolygons(manifold:b2Manifold, polyA:b2PolygonShape, xfA:b2XForm, polyB:b2PolygonShape, xfB:b2XForm):void
[static]
The normal points from 1 to 2
| b2Collision | ||
[static]
| b2Collision | ||
ClipSegmentToLine(vOut:Array, vIn:Array, normal:b2Vec2, offset:Number):int
[static]
| b2Collision | ||
EdgeSeparation(poly1:b2PolygonShape, xf1:b2XForm, edge1:int, poly2:b2PolygonShape, xf2:b2XForm):Number
[static]
Find the separation between poly1 and poly2 for a give edge normal on poly1.
| b2Collision | ||
FindIncidentEdge(c:Array, poly1:b2PolygonShape, xf1:b2XForm, edge1:int, poly2:b2PolygonShape, xf2:b2XForm):void
[static]
| b2Collision | ||
FindMaxSeparation(edgeIndex:Array, poly1:b2PolygonShape, xf1:b2XForm, poly2:b2PolygonShape, xf2:b2XForm):Number
[static]
Find the max separation between poly1 and poly2 using edge normals
from poly1.
| b2Collision |
Constant | Defined by | ||
---|---|---|---|
b2_nullFeature : uint = 0x000000ff [static]
Null feature
| b2Collision |
b2CollideCircles | () | method |
public static function b2CollideCircles(manifold:b2Manifold, circle1:b2CircleShape, xf1:b2XForm, circle2:b2CircleShape, xf2:b2XForm):void
Parameters
manifold:b2Manifold |
|
circle1:b2CircleShape |
|
xf1:b2XForm |
|
circle2:b2CircleShape |
|
xf2:b2XForm |
b2CollidePolygonAndCircle | () | method |
public static function b2CollidePolygonAndCircle(manifold:b2Manifold, polygon:b2PolygonShape, xf1:b2XForm, circle:b2CircleShape, xf2:b2XForm):void
Parameters
manifold:b2Manifold |
|
polygon:b2PolygonShape |
|
xf1:b2XForm |
|
circle:b2CircleShape |
|
xf2:b2XForm |
b2CollidePolygons | () | method |
public static function b2CollidePolygons(manifold:b2Manifold, polyA:b2PolygonShape, xfA:b2XForm, polyB:b2PolygonShape, xfB:b2XForm):void
The normal points from 1 to 2
Parametersmanifold:b2Manifold |
|
polyA:b2PolygonShape |
|
xfA:b2XForm |
|
polyB:b2PolygonShape |
|
xfB:b2XForm |
b2TestOverlap | () | method |
public static function b2TestOverlap(a:b2AABB, b:b2AABB):Boolean
Parameters
a:b2AABB |
|
b:b2AABB |
Boolean |
ClipSegmentToLine | () | method |
public static function ClipSegmentToLine(vOut:Array, vIn:Array, normal:b2Vec2, offset:Number):int
Parameters
vOut:Array |
|
vIn:Array |
|
normal:b2Vec2 |
|
offset:Number |
int |
EdgeSeparation | () | method |
public static function EdgeSeparation(poly1:b2PolygonShape, xf1:b2XForm, edge1:int, poly2:b2PolygonShape, xf2:b2XForm):Number
Find the separation between poly1 and poly2 for a give edge normal on poly1.
Parameterspoly1:b2PolygonShape |
|
xf1:b2XForm |
|
edge1:int |
|
poly2:b2PolygonShape |
|
xf2:b2XForm |
Number |
FindIncidentEdge | () | method |
public static function FindIncidentEdge(c:Array, poly1:b2PolygonShape, xf1:b2XForm, edge1:int, poly2:b2PolygonShape, xf2:b2XForm):void
Parameters
c:Array |
|
poly1:b2PolygonShape |
|
xf1:b2XForm |
|
edge1:int |
|
poly2:b2PolygonShape |
|
xf2:b2XForm |
FindMaxSeparation | () | method |
public static function FindMaxSeparation(edgeIndex:Array, poly1:b2PolygonShape, xf1:b2XForm, poly2:b2PolygonShape, xf2:b2XForm):Number
Find the max separation between poly1 and poly2 using edge normals from poly1.
ParametersedgeIndex:Array |
|
poly1:b2PolygonShape |
|
xf1:b2XForm |
|
poly2:b2PolygonShape |
|
xf2:b2XForm |
Number |
b2_nullFeature | constant |
public static const b2_nullFeature:uint = 0x000000ff
Null feature