#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 | |