This class defines a constant force for a unique vertex. More...
#include <Force.h>
Public Member Functions | |
VertexForce (const Vector3 &f=Vector3::Zero(), int id=-1) | |
Constructor taking the force and the vertex id as parameters. | |
virtual Vector3 | get (const Matrix3X &, int id) const overridefinal |
Get back the force vector. | |
void | setId (int id) |
Set a new vertex id. | |
void | setForce (const Vector3 &f) |
Set a new force. | |
This class defines a constant force for a unique vertex.