메소드 | 설명 | |
---|---|---|
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 ( |
메소드 | 설명 | |
---|---|---|
PolygonShape ( |
||
UpdateSweepRadius ( |
public ComputeAABB ( |
||
aabb | ||
xf | ||
리턴 | void |
public static ComputeCentroid ( |
||
vs | ||
count | int | |
리턴 |
public static ComputeOBB ( |
||
obb | ||
vs | ||
count | int | |
리턴 | void |
public ComputeSubmergedArea ( |
||
normal | ||
offset | float | |
xf | ||
c | ||
리턴 | float |
public ComputeSweptAABB ( |
||
aabb | ||
transform1 | ||
transform2 | ||
리턴 | void |
public GetFirstVertex ( |
||
xf | ||
리턴 |
public Support ( |
||
xf | ||
d | ||
리턴 |
public TestPoint ( |
||
xf | ||
p | ||
리턴 | bool |
public TestSegment ( |
||
xf | ||
lambda | float | |
normal | ||
segment | ||
maxLambda | float | |
리턴 | SegmentCollide |