43 float * deviationSqAfterFlip = nullptr );
#define MRMESH_API
Definition MRMeshFwd.h:39
std::function< bool(float)> ProgressCallback
Definition MRMeshFwd.h:517
MRMESH_API int makeDeloneEdgeFlips(Mesh &mesh, const DeloneSettings &settings={}, int numIters=1, ProgressCallback progressCallback={})
MRMESH_API bool checkDeloneQuadrangleInMesh(const Mesh &mesh, EdgeId edge, const DeloneSettings &settings={}, float *deviationSqAfterFlip=nullptr)
squared surface deviation after flip is written here (at least when the function returns false)
MRMESH_API bool checkDeloneQuadrangle(const Vector3d &a, const Vector3d &b, const Vector3d &c, const Vector3d &d, double maxAngleChange=DBL_MAX)
MRMESH_API bool bestQuadrangleDiagonal(const Vector3f &a, const Vector3f &b, const Vector3f &c, const Vector3f &d)
MRMESH_API void makeDeloneOriginRing(Mesh &mesh, EdgeId e, const DeloneSettings &settings={})
improves mesh triangulation in a ring of vertices with common origin and represented by edge e
Definition MRCameraOrientationPlugin.h:7
Definition MRMeshDelone.h:11
const FaceBitSet * region
Region on mesh to be processed, it is constant and not updated.
Definition MRMeshDelone.h:20
float maxAngleChange
Maximal allowed dihedral angle change (in radians) over the flipped edge.
Definition MRMeshDelone.h:15
const UndirectedEdgeBitSet * notFlippable
Edges specified by this bit-set will never be flipped.
Definition MRMeshDelone.h:22
float criticalTriAspectRatio
Definition MRMeshDelone.h:18
float maxDeviationAfterFlip
Maximal allowed surface deviation during every individual flip.
Definition MRMeshDelone.h:13