Debugging features. More...
Classes | |
struct | ExecutionParams |
Global parameters that control debugging output. Only has an effect when compiled with the MANIFOLD_DEBUG flag. More... | |
struct | userErr |
struct | topologyErr |
struct | geometryErr |
Macros | |
#define | DEBUG_ASSERT(condition, EX, msg) |
#define | ASSERT(condition, EX) |
Typedefs | |
using | logicErr = std::logic_error |
Functions | |
ExecutionParams & | ManifoldParams () |
std::string | ToString (const Manifold::Error &error) |
std::ostream & | operator<< (std::ostream &stream, const Manifold::Error &error) |
template<typename Ex > | |
void | AssertFail (const char *file, int line, const char *cond, const char *msg) |
template<typename Ex > | |
void | AssertFail (const char *file, int line, const std::string &cond, const std::string &msg) |
Debugging features.
The features require compiler flags to be enabled. Assertions are enabled with the MANIFOLD_DEBUG flag and then controlled with ExecutionParams.
struct manifold::ExecutionParams |
Global parameters that control debugging output. Only has an effect when compiled with the MANIFOLD_DEBUG flag.
#define DEBUG_ASSERT | ( | condition, | |
EX, | |||
msg ) |
#define ASSERT | ( | condition, | |
EX ) |
ExecutionParams & ManifoldParams | ( | ) |
Allows modification of the assertions checked in MANIFOLD_DEBUG mode.