33 #ifndef __H__UG_orientation_util
34 #define __H__UG_orientation_util
36 #include "../grid/grid.h"
43 template <
class iter_t>
82 template <
class TFaceIterator>
84 TFaceIterator facesEnd);
100 template<
class TAAPosVRT>
115 template<
class TVolIterator,
class TAAPosVRT>
117 FixOrientation(Grid& grid, TVolIterator volsBegin, TVolIterator volsEnd,
118 TAAPosVRT& aaPosVRT);
#define UG_API
Definition: ug_config.h:65
bool CheckOrientation(Volume *vol, TAAPosVRT &aaPosVRT)
returns true if the volume is oriented so that all sides point to this outside.
Definition: orientation_util_impl.hpp:155
int FixOrientation(Grid &grid, TVolIterator volsBegin, TVolIterator volsEnd, TAAPosVRT &aaPosVRT)
Changes orientation of badly oriented volumes.
Definition: orientation_util_impl.hpp:188
bool OrientationMatches(const EdgeVertices &e1, const EdgeVertices &e2)
Definition: orientation.cpp:60
void InvertOrientation(Grid &grid, iter_t elemsBegin, iter_t elemsEnd)
inverts the orientation of all elements between elemsBegin and elemsEnd
Definition: orientation_util_impl.hpp:50
bool EdgeOrientationMatches(EdgeVertices *ev, Face *f)
checks if the edge-orientation of the edge and the face matches.
Definition: orientation_util.cpp:37
void FixFaceOrientation(Grid &grid, TFaceIterator facesBegin, TFaceIterator facesEnd)
creates uniform orientation of neighboured and boundary faces.
Definition: orientation_util_impl.hpp:61