36 class ElementaryVelocityConstraint : public
agx::ElementaryConstraintN<1>
39 ElementaryVelocityConstraint();
46 agx::UInt row, agx::GWriteState::Enum writeState)
override;
59 void setTargetVelocity(
agx::Real targetVelocity);
63 virtual agx::Bool isImpacting()
const override;
71 virtual ~ElementaryVelocityConstraint() {}
75 void operator=(
const ElementaryVelocityConstraint&) {}
83 ElementaryVelocityConstraint* asElementaryVelocityConstraint(
agx::Constraint* constraint);
99 void setTargetVelocity(
agx::Real targetVelocity);
101 virtual bool updateValid()
override;
109 virtual ~VelocityConstraintImplementation() {}
110 VelocityConstraintImplementation();
114 ElementaryVelocityConstraint* m_elementaryConstraint;
139 void setTargetVelocity(
agx::Real targetVelocity);
144 VelocityConstraint();
145 virtual ~VelocityConstraint();
146 virtual int getNumDOF()
const override;
149 VelocityConstraintImplementation* m_velocityConstraint;
A rotational unit has one degree of freedom.
The base class for a constraint.
#define AGX_DECLARE_POINTER_TYPES(type)
Class for managing the rendering of geometries, shapes, rigid bodies, constraints etc...
The rotational has one rotational degree of freedom.
Namespace agx contains the dynamics/math part of the AGX Dynamics API.
Abstract base class for storing/restoring a line/drums with version control.
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
This class is an abstract base class for all classes that can be stored and retrieved from an Archive...
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()