Go to the source code of this file.
|
struct | MRFillHoleParams |
| Parameters structure for mrFillHole
Structure has some options to control mrFillHole. More...
|
|
struct | MRStitchHolesParams |
| Parameters structure for mrBuildCylinderBetweenTwoHoles
Structure has some options to control mrBuildCylinderBetweenTwoHoles. More...
|
|
◆ MRFillHoleParams
typedef struct MRFillHoleParams MRFillHoleParams |
◆ MRFillHoleParamsMultipleEdgesResolveMode
◆ MRStitchHolesParams
typedef struct MRStitchHolesParams MRStitchHolesParams |
◆ MRFillHoleMetricMultipleEdgesResolveMode
Enumerator |
---|
MRFillHoleMetricMultipleEdgesResolveModeNone | |
MRFillHoleMetricMultipleEdgesResolveModeSimple | |
MRFillHoleMetricMultipleEdgesResolveModeStrong | |
◆ mrBuildCylinderBetweenTwoHoles()
Stitches two holes in Mesh
.
Build cylindrical patch to fill space between two holes represented by one of their edges each,
default metric: ComplexStitchMetric
- Parameters
-
mesh | mesh with hole |
a | EdgeId which represents 1st hole (should not have valid left FaceId) |
b | EdgeId which represents 2nd hole (should not have valid left FaceId) |
params | parameters of holes stitching |
- See also
- mrFillHole
-
MRStitchHolesParams
◆ mrFillHole()
Fills hole in mesh
.
Fills given hole represented by one of its edges (having no valid left face),
uses fillHoleTrivially if cannot fill hole without multiple edges,
default metric: CircumscribedFillMetric
Before
After
Next picture show, how newly generated faces can be smoothed MR::positionVertsSmoothly MR::subdivideMesh
Fill with smooth
- Parameters
-
mesh | mesh with hole |
a | EdgeId which represents hole (should not have valid left FaceId) |
params | parameters of hole filling |
- See also
- buildCylinderBetweenTwoHoles
-
fillHoleTrivially
-
FillHoleParams
◆ mrFillHoleParamsNew()
◆ mrFillHoles()
fill all holes given by their representative edges in
- Parameters
-