ug4
Loading...
Searching...
No Matches
orientation_util.h File Reference

Go to the source code of this file.

Namespaces

namespace  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.
 
template<class TFaceIterator >
void ug::FixFaceOrientation (Grid &grid, TFaceIterator facesBegin, TFaceIterator facesEnd)
 creates uniform orientation of neighboured and boundary faces.
 
template<class TVolIterator , class TAAPosVRT >
int ug::FixOrientation (Grid &grid, TVolIterator volsBegin, TVolIterator volsEnd, TAAPosVRT &aaPosVRT)
 Changes orientation of badly oriented volumes.
 
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
 
UG_API bool ug::OrientationMatches (FaceVertices *fv, Volume *v)
 
bool ug::EdgeOrientationMatches (EdgeVertices *ev, Face *f)
 checks if the edge-orientation of the edge and the face matches.
 
bool ug::OrientationMatches (EdgeVertices *ev, Face *f)
 checks if the edge-orientation of the edge and the face matches.