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
 

Functions

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