
Public Member Functions | |
| bool | TestPoint (const b2XForm &transform, const b2Vec2 &p) const |
| |
| bool | TestSegment (const b2XForm &transform, float32 *lambda, b2Vec2 *normal, const b2Segment &segment, float32 maxLambda) const |
| |
| void | ComputeAABB (b2AABB *aabb, const b2XForm &transform) const |
| |
| void | ComputeSweptAABB (b2AABB *aabb, const b2XForm &transform1, const b2XForm &transform2) const |
| |
| void | ComputeMass (b2MassData *massData) const |
| |
| const b2OBB & | GetOBB () const |
| Get the oriented bounding box relative to the parent body. | |
| const b2Vec2 & | GetCentroid () const |
| Get local centroid relative to the parent body. | |
| int32 | GetVertexCount () const |
| Get the vertex count. | |
| const b2Vec2 * | GetVertices () const |
| Get the vertices in local coordinates. | |
| const b2Vec2 * | GetCoreVertices () const |
| Get the core vertices in local coordinates. | |
| const b2Vec2 * b2PolygonShape::GetCoreVertices | ( | ) | const [inline] |
Get the core vertices in local coordinates.
These vertices represent a smaller polygon that is used for time of impact computations.
1.5.4