MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::ZCompensateParams Struct Reference

#include <MROffsetVerts.h>

Public Attributes

float maxShift = 0
 
bool reduceSelfIntersections = false
 if true, limits the movement of each vertex to reduce self-intersections in the mesh
 
float minThickness = 0
 only if (reduceSelfIntersections = true), avoids moving a vertex closer than this distance to another triangle
 
ProgressCallback progress
 to report progress and cancel processing
 

Member Data Documentation

◆ maxShift

float MR::ZCompensateParams::maxShift = 0

shift of mesh parts orthogonal to Z-axis with normal against Z-axis; for other mesh parts the shift will be less and will depend on the angle between point pseudo-normal and Z-axis

◆ minThickness

float MR::ZCompensateParams::minThickness = 0

only if (reduceSelfIntersections = true), avoids moving a vertex closer than this distance to another triangle

◆ progress

ProgressCallback MR::ZCompensateParams::progress

to report progress and cancel processing

◆ reduceSelfIntersections

bool MR::ZCompensateParams::reduceSelfIntersections = false

if true, limits the movement of each vertex to reduce self-intersections in the mesh


The documentation for this struct was generated from the following file: