15#ifndef MOMENTUM_SecondaryJoint_H
16#define MOMENTUM_SecondaryJoint_H
18#include "momentum_export.h"
19#include "momentum_namespace.h"
27 class BasicControllerConstraint;
61#ifndef AGX_MOMENTUM_ANALYSIS_API
79#ifndef AGX_MOMENTUM_ANALYSIS_API
99#ifndef AGX_MOMENTUM_ANALYSIS_API
112 virtual std::string __str__()
const;
118 std::pair<double, double> getForceRange()
const;
119 bool setForceRange(std::pair<double, double> range);
124 static bool checkRange(std::pair<double, double> range);
129 static bool checkRange(
double lower,
double upper);
134 agx::BasicControllerConstraint* m_constraint;
A Base class for a joint which operates on the free DOF specifies by ordinary joints such as HingeJoi...
Definition: SecondaryJoint.h:39
void setEnabled(bool enabled)
Set if the secondary constraint is enabled on its parent joint.
void setElasticity(double elasticity)
Set the elasticity of the secondary constraint, depending if it is linear or rotational it is in diff...
double getElasticity() const
Get the elasticity of the secondary constraint, depending if it is linear or rotational it is in diff...
void setDamping(double damping)
Set the damping of the secondary constraint, depending if it is linear or rotational it is in differe...
double getDamping() const
Get the damping of the secondary constraint, depending if it is linear or rotational it is in differe...
bool getEnabled() const
Get if the secondary constraint is enabled on its parent joint.
Namespace for Momentum Scripting API.
Definition: AffineMatrix4x4.h:29