73 if ( lock ==
nullptr )
76 constexpr
agx::Real minStiffness = 1.0E-5;
agx::Vec3 translationalDampingTime
Translational damping time where x and y are shear damping and z is stretch.
agx::Vec3 rotationalStiffness
Rotational stiffness where x and y are bend stiffness and z is torsion.
Stiffness and damping data for constraints related to beam models.
Vec3T< T > max(const Vec3T< T > &lhs, const Vec3T< T > &rhs)
virtual void setDamping(agx::Real damping, agx::Int dof)
Set the damping of this constraint for the i:th DOF.
virtual void setCompliance(agx::Real compliance, agx::Int dof)
Set the compliance of this constraint for the i:th DOF.
Contain classes for higher level modeling primitives, such as Tree, Terrain etc.
Constraint that removes all 6 DOF between two bodies, or one body and the world.
Select DOF for the first translational axis.
agx::Vec3 translationalStiffness
Translational stiffness where x and y are shear stiffness and z is stretch.
Select DOF corresponding to the first rotational axis.
agx::Vec3 rotationalDampingTime
Rotational damping time where x and y are bend damping and z is torsion.
Select DOF corresponding to the second rotational axis.
Select DOF for the third translational axis.
void apply(agx::LockJoint *lock, agx::Real scale=1.0) const
Apply stiffness as compliance to the given lock joint.
Select DOF for rotation around Z-axis.
Select DOF for the second translational axis.