MeshLib
 
Loading...
Searching...
No Matches
MR::RefineParameters Struct Reference

Optional parameters for refineFeatureObject. More...

#include <MRFeatureRefine.h>

Public Attributes

float distanceLimit { 0.1f }
 Maximum distance from the source model to the feature.
 
float normalTolerance { 30.f }
 Maximum angle between the source model's normal and the feature's normal.
 
const FaceBitSetfaceRegion
 (for meshes only) Reference faces used for filtering intermediate results that are too far from it
 
const VertBitSetvertRegion
 (for meshes only) Reference vertices used for filtering intermediate results that are too far from it
 
int maxIterations { 10 }
 Maximum amount of iterations performed until a stable set of points is found.
 
ProgressCallback callback
 Progress callback.
 

Detailed Description

Optional parameters for refineFeatureObject.

Member Data Documentation

◆ callback

ProgressCallback MR::RefineParameters::callback

Progress callback.

◆ distanceLimit

float MR::RefineParameters::distanceLimit { 0.1f }

Maximum distance from the source model to the feature.

◆ faceRegion

const FaceBitSet* MR::RefineParameters::faceRegion

(for meshes only) Reference faces used for filtering intermediate results that are too far from it

◆ maxIterations

int MR::RefineParameters::maxIterations { 10 }

Maximum amount of iterations performed until a stable set of points is found.

◆ normalTolerance

float MR::RefineParameters::normalTolerance { 30.f }

Maximum angle between the source model's normal and the feature's normal.

◆ vertRegion

const VertBitSet* MR::RefineParameters::vertRegion

(for meshes only) Reference vertices used for filtering intermediate results that are too far from it


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