MeshLib C++ Docs
Loading...
Searching...
No Matches
MROffsetVerts.h File Reference
#include "MRMeshFwd.h"
#include "MRProgressCallback.h"
#include <cfloat>
#include <optional>

Go to the source code of this file.

Classes

struct  MR::ThickenParams
struct  MR::ZCompensateParams

Namespaces

namespace  MR
 only for bindings generation

Functions

bool MR::offsetVerts (Mesh &mesh, const VertMetric &offset, const ProgressCallback &cb={})
Mesh MR::makeThickMesh (const Mesh &m, const ThickenParams &params)
bool MR::zCompensate (Mesh &mesh, const ZCompensateParams &params)
std::optional< VertScalars > MR::findZcompensationShifts (const Mesh &mesh, const ZCompensateParams &params)
 finds the shift along z-axis for each vertex without modifying the mesh
std::optional< VertCoords > MR::findZcompensatedPositions (const Mesh &mesh, const ZCompensateParams &params)
 finds vertices positions of the mesh after z-compensation without modifying the mesh