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

Parameters for findDisorientedFaces function. More...

#include <MRMeshFixer.h>

Public Types

enum class  RayMode { Positive , Shallowest , Both }
 Mode of detecting disoriented face. More...
 

Public Attributes

enum MR::FindDisorientationParams::RayMode Shallowest
 
bool virtualFillHoles { false }
 if set - copy mesh, and fills holes for better quality in case of ray going out through hole
 
ProgressCallback cb
 

Detailed Description

Parameters for findDisorientedFaces function.

Member Enumeration Documentation

◆ RayMode

Mode of detecting disoriented face.

Enumerator
Positive 

positive (normal) direction of face should have even number of intersections

Shallowest 

positive or negative (normal or -normal) direction (the one with lowest number of intersections) should have even/odd number of intersections

Both 

both direction should have correct number of intersections (positive - even; negative - odd)

Member Data Documentation

◆ cb

ProgressCallback MR::FindDisorientationParams::cb

◆ Shallowest

enum MR::FindDisorientationParams::RayMode MR::FindDisorientationParams::Shallowest

◆ virtualFillHoles

bool MR::FindDisorientationParams::virtualFillHoles { false }

if set - copy mesh, and fills holes for better quality in case of ray going out through hole


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