16 #ifndef SURGSIM_MATH_MLCPCONSTRAINTTYPENAME_H 17 #define SURGSIM_MATH_MLCPCONSTRAINTTYPENAME_H 31 switch (constraintType)
34 return "MLCP_BILATERAL_1D_CONSTRAINT";
36 return "MLCP_BILATERAL_2D_CONSTRAINT";
38 return "MLCP_BILATERAL_3D_CONSTRAINT";
42 return "MLCP_UNILATERAL_3D_FRICTIONLESS_CONSTRAINT";
44 return "MLCP_UNILATERAL_3D_FRICTIONAL_CONSTRAINT";
46 return "MLCP_BILATERAL_FRICTIONLESS_SLIDING_CONSTRAINT";
48 return "MLCP_BILATERAL_FRICTIONAL_SLIDING_CONSTRAINT";
58 if (typeName ==
"MLCP_BILATERAL_1D_CONSTRAINT")
62 else if (typeName ==
"MLCP_BILATERAL_2D_CONSTRAINT")
66 else if (typeName ==
"MLCP_BILATERAL_3D_CONSTRAINT")
74 else if (typeName ==
"MLCP_UNILATERAL_3D_FRICTIONLESS_CONSTRAINT")
78 else if (typeName ==
"MLCP_UNILATERAL_3D_FRICTIONAL_CONSTRAINT")
82 else if (typeName ==
"MLCP_BILATERAL_FRICTIONLESS_SLIDING_CONSTRAINT")
86 else if (typeName ==
"MLCP_BILATERAL_FRICTIONAL_SLIDING_CONSTRAINT")
100 #endif // SURGSIM_MATH_MLCPCONSTRAINTTYPENAME_H Definition: CompoundShapeToGraphics.cpp:29
Definition: MlcpConstraintType.h:31
#define SURGSIM_ASSERT_LOGGER
Logger used to log asserts.
Definition: Assert.h:45
#define SURGSIM_LOG_WARNING(logger)
Logs a message to the specified logger at the WARNING level.
Definition: LogMacros.h:96
Definition: MlcpConstraintType.h:43
MlcpConstraintType getMlcpConstraintTypeValue(const std::string &typeName)
Definition: MlcpConstraintTypeName.h:55
The convenience header that provides the entirety of the logging API.
Definition: MlcpConstraintType.h:27
Definition: MlcpConstraintType.h:39
Definition: MlcpConstraintType.h:29
The header that provides the assertion API.
std::string getMlcpConstraintTypeName(MlcpConstraintType constraintType)
Definition: MlcpConstraintTypeName.h:29
Definition: MlcpConstraintType.h:37
Definition: MlcpConstraintType.h:41
MlcpConstraintType
Definition: MlcpConstraintType.h:24
Definition: MlcpConstraintType.h:33
#define SURGSIM_LOG_SEVERE(logger)
Logs a message to the specified logger at the SEVERE level.
Definition: LogMacros.h:106