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

#include <MRInnerShell.h>

Public Attributes

Side side = Side::Negative
 specifies which side of shell is of interest: negative or positive relative to mesh normals
 
float maxDistSq = FLT_MAX
 specifies maximum squared distance from shell parts of interest to source mesh
 
bool useWindingNumber = false
 if true, a slower algorithm is activated that is more robust in the presence of self-intersections on mesh
 
float windingNumberThreshold = 0.25f
 
int minVertsInComp = 10
 

Member Data Documentation

◆ maxDistSq

float MR::FindInnerShellSettings::maxDistSq = FLT_MAX

specifies maximum squared distance from shell parts of interest to source mesh

◆ minVertsInComp

int MR::FindInnerShellSettings::minVertsInComp = 10

components of proper side with smaller number of vertices than this value will be removed from the result; components of wrong side with smaller number of vertices than this value will be added to the result

◆ side

Side MR::FindInnerShellSettings::side = Side::Negative

specifies which side of shell is of interest: negative or positive relative to mesh normals

◆ useWindingNumber

bool MR::FindInnerShellSettings::useWindingNumber = false

if true, a slower algorithm is activated that is more robust in the presence of self-intersections on mesh

◆ windingNumberThreshold

float MR::FindInnerShellSettings::windingNumberThreshold = 0.25f

positive side if winding number below or equal this threshold; ideal threshold: 0.5 for closed meshes; 0.0 for planar meshes


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