/usr/include/psurface/PSurfaceSmoother.h is in libpsurface-dev 2.0.0-2+b1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | #ifndef PSURFACE_SMOOTHER_H
#define PSURFACE_SMOOTHER_H
#include "HxParamToolBox.h"
#include "DomainPolygon.h"
#include "psurfaceAPI.h"
namespace psurface {
template <int dim, class ctype> class PSurface;
template <class ctype>
class PSURFACE_API PSurfaceSmoother
{
public:
/** \brief Smooth the parametrization graph across a specific base grid edge
*
* \param psurface The psurface object to be smoothed
* \param edge The edge to smooth
* \param keepPatch If this is true, then smoothing on patch boundaries will only be tangential
* \param nodeStack Source of temporary memory. Needs to be given from the outside, to be
* persistent across calls
*/
static void applyEdgeRelaxation(PSurface<2,ctype>* psurface, int edge,
bool keepPatches, std::vector<unsigned int>& nodeStack);
///
void applyVertexRelaxation();
///
static void applyHorizontalRelaxation(DomainPolygon& quadri, PSurface<2,ctype>* psurface);
private:
static void moveSubGraph(int startingNode, DomainPolygon& from, int centerNode);
};
}
#endif
|