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

structure with parameters for compensateRadius function More...

#include <MRRadiusCompensation.h>

Public Attributes

Vector3f direction
 Z direction of milling tool.
 
float toolRadius { 0.0f }
 radius of spherical tool
 
FaceBitSet * region { nullptr }
 
int maxIterations { 100 }
 maximum iteration of applying algorithm (each iteration improves result a little bit)
 
int relaxExpansion = 3
 how many hops to expand around each moved vertex for relaxation
 
int relaxIterations = 5
 how many iterations of relax is applied on each compensation iteration
 
float relaxForce = 0.3f
 force of relaxations on each compensation iteration
 
ProgressCallback callback
 

Detailed Description

structure with parameters for compensateRadius function

Member Data Documentation

◆ callback

ProgressCallback MR::CompensateRadiusParams::callback

◆ direction

Vector3f MR::CompensateRadiusParams::direction

Z direction of milling tool.

◆ maxIterations

int MR::CompensateRadiusParams::maxIterations { 100 }

maximum iteration of applying algorithm (each iteration improves result a little bit)

◆ region

FaceBitSet* MR::CompensateRadiusParams::region { nullptr }

region of the mesh that will be compensated it should not contain closed components it is updated during algorithm also please note that boundaries of the region are fixed

◆ relaxExpansion

int MR::CompensateRadiusParams::relaxExpansion = 3

how many hops to expand around each moved vertex for relaxation

◆ relaxForce

float MR::CompensateRadiusParams::relaxForce = 0.3f

force of relaxations on each compensation iteration

◆ relaxIterations

int MR::CompensateRadiusParams::relaxIterations = 5

how many iterations of relax is applied on each compensation iteration

◆ toolRadius

float MR::CompensateRadiusParams::toolRadius { 0.0f }

radius of spherical tool


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