MeshLib
 
Loading...
Searching...
No Matches
MR::SelfIntersections::Settings Struct Reference

Setting set for mesh self-intersections fix. More...

#include <MRFixSelfIntersections.h>

Public Types

enum class  Method { Relax , CutAndFill }
 Fix method. More...
 

Public Attributes

Method method = Method::Relax
 
int relaxIterations = 5
 Maximum relax iterations.
 
int maxExpand = 3
 Maximum expand count (edge steps from self-intersecting faces), should be > 0.
 
float subdivideEdgeLen = 0.0f
 
ProgressCallback callback = {}
 Callback function.
 

Detailed Description

Setting set for mesh self-intersections fix.

Member Enumeration Documentation

◆ Method

Fix method.

Enumerator
Relax 

Relax mesh around self-intersections.

CutAndFill 

Cut and re-fill regions around self-intersections (may fall back to Relax)

Member Data Documentation

◆ callback

ProgressCallback MR::SelfIntersections::Settings::callback = {}

Callback function.

◆ maxExpand

int MR::SelfIntersections::Settings::maxExpand = 3

Maximum expand count (edge steps from self-intersecting faces), should be > 0.

◆ method

Method MR::SelfIntersections::Settings::method = Method::Relax

◆ relaxIterations

int MR::SelfIntersections::Settings::relaxIterations = 5

Maximum relax iterations.

◆ subdivideEdgeLen

float MR::SelfIntersections::Settings::subdivideEdgeLen = 0.0f

Edge length for subdivision of holes covers (0.0f means auto) FLT_MAX to disable subdivision


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