clan::RevoluteJoint Class Reference

RevoluteJoint class. More...

#include <revolute_joint.h>

+ Inheritance diagram for clan::RevoluteJoint:

Public Member Functions

Construction
 RevoluteJoint ()
 Constructs a null instance. More...
 
 RevoluteJoint (PhysicsContext &pc, const RevoluteJointDescription &description)
 Constructs a RevoluteJoint object. More...
 
virtual ~RevoluteJoint ()
 
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...
 
bool is_active () const
 Short-cut function to determine if either body is inactive. More...
 
Operations
RevoluteJointoperator= (const RevoluteJoint &copy)
 
- Public Member Functions inherited from clan::Joint
 Joint ()
 Constructs a null instance. More...
 
virtual ~Joint ()
 
JointType get_Joint_type () const
 
virtual Vec2f get_reaction_force (float dt)
 Get the reaction force on bodyB at the joint anchor in Newtons. More...
 
virtual float get_reaction_torque (float dt)
 Get the reaction torque on bodyB in N*m. More...
 
virtual Bodyget_body_a ()
 Return the first body attached to this joint. More...
 
virtual Bodyget_body_b ()
 Return the second body attached to this joint. More...
 
virtual Vec2f get_anchor_a ()
 Return the anchor point on first body in world coordinates. More...
 
virtual Vec2f get_anchor_b ()
 Return the second body attached to this joint. More...
 
virtual int get_id () const
 Return the world's id of the joint. More...
 
bool is_dummy () const
 Returns true if this joint is a dummy joint. More...
 
Jointoperator= (const Joint &copy)
 

Additional Inherited Members

- Protected Attributes inherited from clan::Joint
std::shared_ptr< Joint_Impl > impl
 

Detailed Description


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