19 #ifndef B2_CIRCLE_SHAPE_H    20 #define B2_CIRCLE_SHAPE_H    22 #include <Box2D/Collision/Shapes/b2Shape.h>    41                 const b2Transform& transform, int32 childIndex) 
const;
    65 inline b2CircleShape::b2CircleShape()
 
A circle shape. 
Definition: b2CircleShape.h:25
void ComputeAABB(b2AABB *aabb, const b2Transform &transform, int32 childIndex) const 
Definition: b2CircleShape.cpp:83
bool TestPoint(const b2Transform &transform, const b2Vec2 &p) const 
Implement b2Shape. 
Definition: b2CircleShape.cpp:35
bool RayCast(b2RayCastOutput *output, const b2RayCastInput &input, const b2Transform &transform, int32 childIndex) const 
Implement b2Shape. 
Definition: b2CircleShape.cpp:46
Definition: b2BlockAllocator.h:35
This holds the mass data computed for a shape. 
Definition: b2Shape.h:27
Definition: b2Collision.h:155
void SetZero()
Set this vector to all zeros. 
Definition: b2Math.h:62
void ComputeMass(b2MassData *massData, float32 density) const 
Definition: b2CircleShape.cpp:92
An axis aligned bounding box. 
Definition: b2Collision.h:162
int32 GetChildCount() const 
Definition: b2CircleShape.cpp:30
const b2Vec2 & GetSupportVertex(const b2Vec2 &d) const 
Get the supporting vertex in the given direction. 
Definition: b2CircleShape.h:78
const b2Vec2 & GetVertex(int32 index) const 
Get a vertex by index. Used by b2Distance. 
Definition: b2CircleShape.h:84
b2Vec2 m_p
Position. 
Definition: b2CircleShape.h:62
b2Shape * Clone(b2BlockAllocator *allocator) const 
Implement b2Shape. 
Definition: b2CircleShape.cpp:22
A 2D column vector. 
Definition: b2Math.h:53
int32 GetSupport(const b2Vec2 &d) const 
Get the supporting vertex index in the given direction. 
Definition: b2CircleShape.h:72
int32 GetVertexCount() const 
Get the vertex count. 
Definition: b2CircleShape.h:56