15#ifndef MOMENTUM_SecondaryJoint_H
16#define MOMENTUM_SecondaryJoint_H
18#include "momentum_export.h"
19#include "momentum_namespace.h"
27 class BasicControllerConstraint;
60#ifndef AGX_MOMENTUM_ANALYSIS_API
78#ifndef AGX_MOMENTUM_ANALYSIS_API
98#ifndef AGX_MOMENTUM_ANALYSIS_API
111 virtual std::string __str__()
const;
117 std::pair<double, double> getForceRange()
const;
118 bool setForceRange(std::pair<double, double> range);
123 static bool checkRange(std::pair<double, double> range);
128 static bool checkRange(
double lower,
double upper);
133 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:38
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