clan::CircleShape Class Reference

Circle Shape class. More...

#include <circle_shape.h>

+ Inheritance diagram for clan::CircleShape:

Public Member Functions

Construction
 CircleShape ()
 Constructs a null instance. More...
 
 CircleShape (const PhysicsWorld &pw)
 Constructs a Circle Shape. More...
 
 CircleShape (const PhysicsContext &pc)
 Constructs a Circle Shape. More...
 
 ~CircleShape ()
 
Attributes
bool is_null () const
 Returns true if this object is invalid. More...
 
void throw_if_null () const
 Throw an exception if this object is invalid. More...
 
Operations
CircleShapeoperator= (const CircleShape &copy)
 Copy assignment operator. More...
 
void set_radius (float radius)
 
Attributes
ShapeType get_shape_type () const
 

Protected Attributes

Implementation
std::shared_ptr< Shape_Impl > shape_impl
 

Friends

class FixtureDescription
 

Detailed Description

Circle Shape class.

A circle shape.


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