Chipmunk++
 All Classes Functions Variables Pages
Public Member Functions | Protected Member Functions | Protected Attributes | Friends
cp::Shape Class Reference

Opaque collision shape. More...

#include <shape.hpp>

Inheritance diagram for cp::Shape:
cp::CircleShape cp::PolyShape cp::SegmentShape

List of all members.

Public Member Functions

 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

Protected Member Functions

 Shape (cpShape *, std::shared_ptr< Body >)

Protected Attributes

cpShape * shape

Friends

class Space

Detailed Description

Opaque collision shape.


The documentation for this class was generated from the following files: