#define MRMESH_API
Definition MRMesh/MRMeshFwd.h:46
Definition MRCameraOrientationPlugin.h:8
MRMESH_API FaceBitSet fillHoleNicely(Mesh &mesh, EdgeId holeEdge, const FillHoleNicelySettings &settings)
EdgeWeights
determines the weight of each edge in applications like Laplacian
Definition MREnums.h:8
@ Cotan
edge weight depends on local geometry and uses cotangent values
Definition MRMesh/MRFillHoleNicely.h:11
EdgeWeights edgeWeights
edge weighting scheme for smoothCurvature mode
Definition MRMesh/MRFillHoleNicely.h:34
float maxAngleChangeAfterFlip
Improves local mesh triangulation by doing edge flips if it does not change dihedral angle more than ...
Definition MRMesh/MRFillHoleNicely.h:25
FillHoleParams triangulateParams
how to triangulate the hole, must be specified by the user
Definition MRMesh/MRFillHoleNicely.h:13
bool triangulateOnly
If false then additional vertices are created inside the patch for best mesh quality.
Definition MRMesh/MRFillHoleNicely.h:16
int maxEdgeSplits
Maximum number of edge splits allowed during subdivision.
Definition MRMesh/MRFillHoleNicely.h:22
VertUVCoords * uvCoords
optional uv-coordinates of vertices; if provided then elements corresponding to new vertices will be ...
Definition MRMesh/MRFillHoleNicely.h:37
bool smoothCurvature
Whether to make patch over the hole smooth both inside and on its boundary with existed surface.
Definition MRMesh/MRFillHoleNicely.h:28
bool naturalSmooth
Additionally smooth 3 layers of vertices near hole boundary both inside and outside of the hole.
Definition MRMesh/MRFillHoleNicely.h:31
float maxEdgeLen
Subdivision is stopped when all edges inside or on the boundary of the region are not longer than thi...
Definition MRMesh/MRFillHoleNicely.h:19
VertColors * colorMap
optional colors of vertices; if provided then elements corresponding to new vertices will be added th...
Definition MRMesh/MRFillHoleNicely.h:40
Parameters structure for MR::fillHole Structure has some options to control MR::fillHole.
Definition MRMesh/MRMesh.h:23