ug4
edge_length_adjustment.cpp File Reference

Namespaces

 ug
 the ug namespace
 

Macros

#define GPLOTPOINT(dataName, x, y)
 only for debugging purposes!!! More...
 
#define GPLOTSAVE()
 only for debugging purposes!!! More...
 

Functions

bool ug::AdjustEdgeLength (Grid &grid, SubsetHandler &shMarks, number minEdgeLen, number maxEdgeLen, int numIterations, bool projectPoints, bool adaptive)
 
static void ug::AssignCreaseVertices (Grid &grid, SubsetHandler &shMarks)
 
static void ug::AssignFixedVertices (Grid &grid, SubsetHandler &shMarks)
 
template<class TAAPosVRT >
number ug::CalculateAverageCurvature (Grid &grid, SubsetHandler &shMarks, Edge *e, TAAPosVRT &aaPos)
 
template<class TAAPosVRT >
number ug::CalculateLengthFac (Grid &grid, SubsetHandler &shMarks, Edge *e, TAAPosVRT &aaPos)
 
template<class TAAPosVRT >
number ug::CalculateMinCurvature (Grid &grid, SubsetHandler &shMarks, Vertex *vrt, TAAPosVRT &aaPos)
 
template<class TVertexPositionAccessor >
number ug::CalculateNormalDot (TriangleDescriptor &td1, TriangleDescriptor &td2, TVertexPositionAccessor &aaPos)
 
template<class TGeomObj >
void ug::CopySelectionStatus (Selector &selOut, Grid &gridOut, Selector &selIn, Grid &gridIn)
 
template<class TAAPosVRT , class TAANormVRT , class TAAIntVRT >
bool ug::PerformCollapses (Grid &grid, SubsetHandler &shMarks, EdgeSelector &esel, number minEdgeLen, TAAPosVRT &aaPos, TAANormVRT &aaNorm, TAAIntVRT &aaInt, bool adaptive=true)
 
template<class TAAPosVRT , class TAANormVRT >
bool ug::PerformSplits (Grid &grid, SubsetHandler &shMarks, EdgeSelector &esel, number maxEdgeLen, TAAPosVRT &aaPos, TAANormVRT &aaNorm, bool adaptive=true)
 
template<class TAAPosVRT , class TAANormVRT , class TAAIntVRT >
bool ug::PerformSwaps (Grid &grid, SubsetHandler &shMarks, EdgeSelector &esel, TAAPosVRT &aaPos, TAANormVRT &aaNorm, TAAIntVRT &aaInt)
 
template<class TAAPosVRT , class TAANormVRT , class TAAIntVRT >
Vertex * ug::TryCollapse (Grid &grid, Edge *e, TAAPosVRT &aaPos, TAANormVRT &aaNorm, TAAIntVRT &aaInt, SubsetHandler *pshMarks=NULL, EdgeSelector *pCandidates=NULL)
 
template<class TAAPosVRT , class TAANormVRT >
bool ug::TrySplit (Grid &grid, Edge *e, TAAPosVRT &aaPos, TAANormVRT &aaNorm, EdgeSelector *pCandidates=NULL, SubsetHandler *pshMarks=NULL)
 
template<class TAAPosVRT , class TAANormVRT , class TAAIntVRT >
bool ug::TrySwap (Grid &grid, Edge *e, TAAPosVRT &aaPos, TAANormVRT &aaNorm, TAAIntVRT &aaInt, SubsetHandler *pshMarks=NULL, EdgeSelector *pCandidates=NULL)
 

Macro Definition Documentation

◆ GPLOTPOINT

#define GPLOTPOINT (   dataName,
  x,
 
)

only for debugging purposes!!!

Output value pairs to gnuplot...

◆ GPLOTSAVE

#define GPLOTSAVE ( )

only for debugging purposes!!!

Output value pairs to gnuplot...