ug4
simplification.h File Reference

Go to the source code of this file.

Namespaces

 ug
 the ug namespace
 

Functions

bool ug::QuadDiagonalIsValid (const vector3 &c0, const vector3 &c1, const vector3 &c2, const vector3 &c3)
 returns true if the normals of the resulting triangles point into the same direction More...
 
template<class TVrtIter , class TAAPos >
void ug::ReplaceLowValenceVertices (Grid &g, TVrtIter vrtsBegin, TVrtIter vrtsEnd, number maxSquaredHeightToBaseAreaRatio, TAAPos aaPos)
 
template<class TVrtIter , class TAAPos >
void ug::ReplaceValence3Vertices (Grid &g, TVrtIter vrtsBegin, TVrtIter vrtsEnd, number maxSquaredHeightToBaseAreaRatio, TAAPos aaPos)
 
bool ug::Valence3VertexIsObsolete (const vector3 &p, const vector3 &c0, const vector3 &c1, const vector3 &c2, number maxSquaredHeightToBaseAreaRatio)
 
bool ug::Valence4VertexIsObsolete (const vector3 &p, const vector3 &c0, const vector3 &c1, const vector3 &c2, const vector3 &c3, number maxSquaredHeightToBaseAreaRatio)