Perfect circle shape. More...
#include <circleshape.hpp>
Public Member Functions | |
CircleShape (std::shared_ptr< Body >, Float radius, Vect offset=Vect(0, 0)) | |
Public Member Functions inherited from cp::Shape | |
operator cpShape * () const | |
bool | pointQuery (Vect) const |
bool | segmentQuery (Vect a, Vect b, SegmentQueryInfo *=nullptr) |
void | setFriction (Float) |
void | setElasticity (Float) |
void | setGroup (Group) |
void | setCollisionType (CollisionType) |
CollisionType | getCollisionType () const |
void | setLayers (Layers) |
void | setOwning (bool) |
void | setUserData (DataPointer) |
void | setBody (std::shared_ptr< Body > body) |
DataPointer | getUserData () const |
Additional Inherited Members | |
Protected Member Functions inherited from cp::Shape | |
Shape (cpShape *, std::shared_ptr< Body >) | |
Protected Attributes inherited from cp::Shape | |
cpShape * | shape |
Perfect circle shape.