opensurgsim
|
MassSpring frictionless contact implementation. More...
#include <MassSpringConstraintFrictionlessContact.h>
Public Member Functions | |
MassSpringConstraintFrictionlessContact () | |
Constructor. | |
virtual | ~MassSpringConstraintFrictionlessContact () |
Destructor. | |
SurgSim::Physics::ConstraintType | getConstraintType () const override |
Gets the constraint type for this ConstraintImplementation. More... | |
![]() | |
ConstraintImplementation () | |
Constructor. | |
virtual | ~ConstraintImplementation () |
Destructor. | |
size_t | getNumDof () const |
Gets the number of degree of freedom for this implementation. More... | |
void | build (double dt, const ConstraintData &data, const std::shared_ptr< Localization > &localization, MlcpPhysicsProblem *mlcp, size_t indexOfRepresentation, size_t indexOfConstraint, ConstraintSideSign sign) |
Builds the subset of an Mlcp physics problem associated to this implementation. More... | |
Additional Inherited Members | |
![]() | |
static ConstraintImplementationFactory & | getFactory () |
![]() | |
Eigen::SparseVector< double, Eigen::RowMajor, ptrdiff_t > | m_newH |
Preallocated variable for derived implementations of doBuild. | |
MassSpring frictionless contact implementation.
MassSpringConstraintFrictionlessContact implements the frictionless contact constraint for the MassSpringRepresentation, which prevents nodes from passing through a surface. See MassSpringConstraintFrictionlessContact::doBuild for more information.
|
overridevirtual |
Gets the constraint type for this ConstraintImplementation.
Implements SurgSim::Physics::ConstraintImplementation.