MeshLib Documentation
Loading...
Searching...
No Matches
MRSignDetectionMode.h File Reference
#include "MRMeshFwd.h"

Go to the source code of this file.

Typedefs

typedef MR_EXTERN_C_BEGIN enum MRSignDetectionMode MRSignDetectionMode
 how to determine the sign of distances from a mesh
 

Enumerations

enum  MRSignDetectionMode {
  MRSignDetectionModeUnsigned = 0 , MRSignDetectionModeOpenVDB , MRSignDetectionModeProjectionNormal , MRSignDetectionModeWindingRule ,
  MRSignDetectionModeHoleWindingRule
}
 how to determine the sign of distances from a mesh More...
 

Typedef Documentation

◆ MRSignDetectionMode

how to determine the sign of distances from a mesh

Enumeration Type Documentation

◆ MRSignDetectionMode

how to determine the sign of distances from a mesh

Enumerator
MRSignDetectionModeUnsigned 

unsigned distance, useful for bidirectional Shell offset

MRSignDetectionModeOpenVDB 

sign detection from OpenVDB library, which is good and fast if input geometry is closed

MRSignDetectionModeProjectionNormal 

the sign is determined based on pseudonormal in closest mesh point (unsafe in case of self-intersections)

MRSignDetectionModeWindingRule 

ray intersection counter, significantly slower than ProjectionNormal and does not support holes in mesh

MRSignDetectionModeHoleWindingRule 

computes winding number generalization with support of holes in mesh, slower than WindingRule