#define MRMESH_API
Definition MRMesh/MRMeshFwd.h:46
std::function< bool(float)> ProgressCallback
Definition MRMesh/MRMeshFwd.h:576
Definition MRCameraOrientationPlugin.h:8
tl::expected< T, E > Expected
Definition MRExpected.h:58
MRMESH_API Expected< FaceBitSet > findOverlappingTris(const MeshPart &mp, const FindOverlappingSettings &settings)
finds all triangles that have oppositely oriented close triangle in the mesh
Definition MROverlappingTris.h:10
float minAreaFraction
consider triangle as overlapping only if the area of the oppositely oriented triangle is at least giv...
Definition MROverlappingTris.h:16
float maxNormalDot
maximal dot product of one triangle and another overlapping triangle normals
Definition MROverlappingTris.h:14
ProgressCallback cb
for reporting current progress and allowing the user to cancel the algorithm
Definition MROverlappingTris.h:18
float maxDistSq
maximal distance between closest points of one triangle and another overlapping triangle
Definition MROverlappingTris.h:12