15#ifndef MOMENTUM_HINGEJOINT_H
16#define MOMENTUM_HINGEJOINT_H
18#include "momentum_export.h"
19#include "momentum_namespace.h"
22#include "AngularMotor.h"
23#include "AngularRange.h"
24#include "AngularSpring.h"
25#include "FrictionController.h"
61 std::shared_ptr<AngularMotor>
getMotor()
const;
69 std::shared_ptr<AngularRange>
getRange()
const;
90 std::string __str__()
const;
101 agx::Hinge* getHinge()
const;
The hinge joint class, a joint where a rotational z-axis is unconstrained.
Definition: HingeJoint.h:42
std::shared_ptr< AngularMotor > getMotor() const
Get the motor of the rotational z-axis.
virtual int getAgxTranslationalDOF(Joint::DegreeOfFreedom dof) const
std::shared_ptr< FrictionController > getFrictionController()
double getAngle() const
Get the current rotation around the z-axis, in radians.
std::shared_ptr< AngularSpring > getSpring() const
Get the spring of the rotational z-axis.
virtual int getAgxRotationalDOF(Joint::DegreeOfFreedom dof) const
double getCurrentSpeed() const
Get the current rotational speed around the z-axis in radians per second.
std::shared_ptr< AngularRange > getRange() const
Get the range of the rotational z-axis.
Base class for all joints.
Definition: Joint.h:51
DegreeOfFreedom
Definition: Joint.h:54
Namespace for Momentum Scripting API.
Definition: AffineMatrix4x4.h:29