MeshLib C++ Docs
Loading...
Searching...
No Matches
MRMeshC/MRFillHoleNicely.h
Go to the documentation of this file.
1#pragma once
2#include "MRMeshFillHole.h"
3
5
13
14typedef enum MREdgeWeights
15{
21 //MREdgeWeightsCotanWithAreaEqWeight => use MREdgeWeights::Cotan and MRVertexMass::NeiArea instead
23
45
47
53
MRVertexMass
Definition MRMeshC/MRFillHoleNicely.h:7
@ MRVertexMassUnit
all vertices have same mass=1
Definition MRMeshC/MRFillHoleNicely.h:9
@ MRVertexMassNeiArea
vertex mass depends on local geometry and proportional to the area of first-ring triangles
Definition MRMeshC/MRFillHoleNicely.h:11
MRMESHC_API MRFillHoleNicelyParams mrFillHoleNicelyParamsNew(void)
struct MRFillHoleNicelyParams MRFillHoleNicelyParams
MRMESHC_API MRFaceBitSet * mrFillHoleNicely(MRMesh *mesh, MREdgeId holeEdge_, const MRFillHoleNicelyParams *params)
MREdgeWeights
Definition MRMeshC/MRFillHoleNicely.h:15
@ MREdgeWeightsCotan
edge weight depends on local geometry and uses cotangent values
Definition MRMeshC/MRFillHoleNicely.h:19
@ MREdgeWeightsUnit
all edges have same weight=1
Definition MRMeshC/MRFillHoleNicely.h:17
#define MR_EXTERN_C_BEGIN
Definition MRMeshC/MRMeshFwd.h:26
#define MR_EXTERN_C_END
Definition MRMeshC/MRMeshFwd.h:27
struct MRMesh MRMesh
Definition MRMeshC/MRMeshFwd.h:47
struct MRFaceBitSet MRFaceBitSet
Definition MRMeshC/MRMeshFwd.h:37
#define MRMESHC_API
Definition MRMeshC/MRMeshFwd.h:19
edge index
Definition MRMeshC/MRId.h:8
Definition MRMeshC/MRFillHoleNicely.h:25
MRFillHoleParams triangulateParams
how to triangulate the hole, must be specified by the user
Definition MRMeshC/MRFillHoleNicely.h:27
bool naturalSmooth
Additionally smooth 3 layers of vertices near hole boundary both inside and outside of the hole.
Definition MRMeshC/MRFillHoleNicely.h:39
float maxAngleChangeAfterFlip
Improves local mesh triangulation by doing edge flips if it does not change dihedral angle more than ...
Definition MRMeshC/MRFillHoleNicely.h:35
int maxEdgeSplits
Maximum number of edge splits allowed during subdivision.
Definition MRMeshC/MRFillHoleNicely.h:33
MRVertexMass vmass
vertex mass scheme for smoothCurvature mode
Definition MRMeshC/MRFillHoleNicely.h:43
bool smoothCurvature
Whether to make patch over the hole smooth both inside and on its boundary with existed surface.
Definition MRMeshC/MRFillHoleNicely.h:37
float maxEdgeLen
Subdivision is stopped when all edges inside or on the boundary of the region are not longer than thi...
Definition MRMeshC/MRFillHoleNicely.h:31
bool triangulateOnly
If false then additional vertices are created inside the patch for best mesh quality.
Definition MRMeshC/MRFillHoleNicely.h:29
MREdgeWeights edgeWeights
edge weighting scheme for smoothCurvature mode
Definition MRMeshC/MRFillHoleNicely.h:41
Parameters structure for mrFillHole Structure has some options to control mrFillHole.
Definition MRMeshC/MRMeshFillHole.h:23