Method | Description | |
---|---|---|
Centroid ( |
Get the centroid and apply the supplied transform.
|
|
ComputeAABB ( |
||
ComputeCentroid ( |
||
ComputeMass ( |
||
ComputeOBB ( |
||
ComputeSubmergedArea ( |
||
ComputeSweptAABB ( |
||
GetCentroid ( ) : |
Get local centroid relative to the parent body.
|
|
GetCoreVertices ( ) : Box2DX.Common.Vec2[] |
Get the core vertices in local coordinates. These vertices represent a smaller polygon that is used for time of impact computations.
|
|
GetFirstVertex ( |
Get the first vertex and apply the supplied transform.
|
|
GetOBB ( ) : |
Get the oriented bounding box relative to the parent body.
|
|
GetVertices ( ) : Box2DX.Common.Vec2[] |
Get the vertices in local coordinates.
|
|
Support ( |
Get the support point in the given world direction. Use the supplied transform.
|
|
TestPoint ( |
||
TestSegment ( |
Method | Description | |
---|---|---|
PolygonShape ( |
||
UpdateSweepRadius ( |
public Centroid ( |
||
xf | ||
return |
public ComputeAABB ( |
||
aabb | ||
xf | ||
return | void |
public static ComputeCentroid ( |
||
vs | ||
count | int | |
return |
public ComputeMass ( |
||
massData | ||
return | void |
public static ComputeOBB ( |
||
obb | ||
vs | ||
count | int | |
return | void |
public ComputeSubmergedArea ( |
||
normal | ||
offset | float | |
xf | ||
c | ||
return | float |
public ComputeSweptAABB ( |
||
aabb | ||
transform1 | ||
transform2 | ||
return | void |
public GetCoreVertices ( ) : Box2DX.Common.Vec2[] | ||
return | Box2DX.Common.Vec2[] |
public GetFirstVertex ( |
||
xf | ||
return |
public GetVertices ( ) : Box2DX.Common.Vec2[] | ||
return | Box2DX.Common.Vec2[] |
public Support ( |
||
xf | ||
d | ||
return |
public TestPoint ( |
||
xf | ||
p | ||
return | bool |
public TestSegment ( |
||
xf | ||
lambda | float | |
normal | ||
segment | ||
maxLambda | float | |
return | SegmentCollide |