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
 
Vector2i distanceMapResolution = Vector2i( 150, 150 )
 resolution of distance map that is used for compensation
 
FaceBitSet * region { nullptr }
 
float remeshTargetEdgeLength { -1.0f }
 
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.

◆ distanceMapResolution

Vector2i MR::CompensateRadiusParams::distanceMapResolution = Vector2i( 150, 150 )

resolution of distance map that is used for compensation

◆ 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

◆ remeshTargetEdgeLength

float MR::CompensateRadiusParams::remeshTargetEdgeLength { -1.0f }

this value will be used for post-process re-meshing value less or equal to zero will use average mesh edge length

◆ toolRadius

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

radius of spherical tool


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