ug4
orientation_util_impl.hpp File Reference
#include "common/math/ugmath.h"
#include "geom_obj_util/face_util.h"
#include "geom_obj_util/volume_util.h"
#include <stack>
#include <vector>

Go to the source code of this file.

Namespaces

 ug
 the ug namespace
 

Functions

template<class TAAPosVRT >
bool ug::CheckOrientation (Volume *vol, TAAPosVRT &aaPosVRT)
 returns true if the volume is oriented so that all sides point to this outside. More...
 
template<class TFaceIterator >
void ug::FixFaceOrientation (Grid &grid, TFaceIterator facesBegin, TFaceIterator facesEnd)
 creates uniform orientation of neighboured and boundary faces. More...
 
template<class TVolIterator , class TAAPosVRT >
int ug::FixOrientation (Grid &grid, TVolIterator volsBegin, TVolIterator volsEnd, TAAPosVRT &aaPosVRT)
 Changes orientation of badly oriented volumes. More...
 
template<class iter_t >
void ug::InvertOrientation (Grid &grid, iter_t elemsBegin, iter_t elemsEnd)
 inverts the orientation of all elements between elemsBegin and elemsEnd More...