DistanceJoint class. More...
#include <distance_joint.h>
Inheritance diagram for clan::DistanceJoint:Public Member Functions | |
Construction | |
| DistanceJoint () | |
| Constructs a null instance. More... | |
| DistanceJoint (PhysicsContext &pc, const DistanceJointDescription &description) | |
| Constructs a DistanceJoint object. More... | |
| virtual | ~DistanceJoint () |
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 | |
| DistanceJoint & | operator= (const DistanceJoint ©) |
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 Body * | get_body_a () |
| Return the first body attached to this joint. More... | |
| virtual Body * | get_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... | |
| Joint & | operator= (const Joint ©) |
Additional Inherited Members | |
Protected Attributes inherited from clan::Joint | |
| std::shared_ptr< Joint_Impl > | impl |
DistanceJoint class.