33 #ifndef __H__UG_problem_detection_util
34 #define __H__UG_problem_detection_util
53 template <
class TIter,
class TAAPos>
54 size_t FindSlivers(std::vector<typename TIter::value_type>& sliversOut,
55 TIter elemsBegin, TIter elemsEnd,
number thresholdRatio,
56 TAAPos aaPos,
bool clearContainer =
true);
#define UG_API
Definition: ug_config.h:65
double number
Definition: types.h:124
MathVector< 3, number > vector3
a 3d vector
Definition: ugmath_types.h:72
bool CheckForUnconnectedSides(Grid &grid)
Logs all unconnected sides to UG_ERR_LOG and returns true if an unconnected side was found.
Definition: problem_detection_util.cpp:91
int IsSliver(const vector3 &v0, const vector3 &v1, const vector3 &v2, const vector3 &v3, number thresholdRatio)
Definition: problem_detection_util.cpp:42
size_t FindSlivers(std::vector< typename TIter::value_type > &sliversOut, TIter elemsBegin, TIter elemsEnd, number thresholdRatio, TAAPos aaPos, bool clearContainer=true)
Searchs for slivers in the given list of elements.
Definition: problem_detection_util_impl.h:42