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

#include <MROverlappingTris.h>

Public Attributes

float maxDistSq = 1e-10f
 maximal distance between closest points of one triangle and another overlapping triangle
 
float maxNormalDot = -0.99f
 suggestion: multiply it on mesh.getBoundingBox().size().lengthSq();
 
float minAreaFraction = 1e-5f
 consider triangle as overlapping only if the area of the oppositely oriented triangle is at least given fraction of the triangle's area
 
std::function< bool(FaceId l, FaceId r)> pred
 if predicate is present it should return true for pair of faces that should be considered as overlap
 
ProgressCallback cb
 for reporting current progress and allowing the user to cancel the algorithm
 

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