a class corresponding to a force constraint where a spring force is added on a vertex attached to a fixed point
![]() | apply () the apply fonction that adds an external force to the vertex |
![]() | getStiffness () const returns the stiffness of the spring force |
![]() | getFixedPosition () const returns the position where the vertex is fixed |
![]() | getVertex () const returns the vertex where the constraint is applied |
![]() | setStiffness (const double s) sets the stiffness of the spring force |
![]() | setFixedPosition (const Vec3 sets the maximum distance between two vertices |
![]() | Exception classes
| ||
![]() | constructor
| ||
![]() | destructor
|
![]() | position the position where the vertex is attached |
![]() | stiffness the stiffness of the spring |
![]() | vertex the ActiveVertex3D that is attached to a fixed point |
![]() | contour the ActiveContour3D where the constraint is applied |
a class corresponding to a force constraint where a spring force is added on a vertex attached to a fixed point
double stiffness
ActiveVertexContour3D* vertex
ActiveContour3D* contour
virtual void apply()
double getStiffness() const
Vec3
ActiveVertexContour3D* getVertex() const
void setStiffness(const double s)
void setFixedPosition(const Vec3
constructor
AttachmentContour3DConstraint(const Vec3
s - the stiffness parameter (between 0.0 and 1.0) used to
compute the attracting force
v - the vertex on which the constraint applies
destructor
alphabetic index hierarchy of classes
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de