45#ifndef OPENSWMMVIS_MESH_TRIREFINEHOOK_H
46#define OPENSWMMVIS_MESH_TRIREFINEHOOK_H
Installs hook as the active refinement hook for the current thread.
Definition trirefinehook.h:105
RefineHookGuard(const RefineHookGuard &)=delete
~RefineHookGuard()
Definition trirefinehook.cpp:43
RefineHookGuard & operator=(const RefineHookGuard &)=delete
Definition meshcommands.h:302
qint64 refineHookTestCount() noexcept
Number of triunsuitable() invocations since the active guard was constructed. Useful for logging refi...
Definition trirefinehook.cpp:49
bool refineHookWasCancelled() noexcept
True if the hook active on this thread observed cancellation.
Definition trirefinehook.cpp:48
Callbacks consulted by Triangle's -u user test.
Definition trirefinehook.h:61
std::function< void(qint64 testCount)> onProgress
Definition trirefinehook.h:94
std::function< bool()> isCancelled
Definition trirefinehook.h:65
std::function< double(double x, double y)> targetAreaAt
Definition trirefinehook.h:89
double
Definition swmmpollutantpropertyadapter.cpp:50