Parameters structure for MR.fillHole
Structure has some options to control MR.fillHole.
More...
|
| new unsafe MR.FillHoleMetric | metric [get, protected set] |
| | Specifies triangulation metric
default for MR.fillHole: getCircumscribedFillMetric
.
|
| new unsafe ref bool | smoothBd [get] |
| | If true, hole filling will minimize the sum of metrics including boundary edges, where one triangle was present before hole filling, and another is added during hole filling. This makes boundary edges same smooth as inner edges of the patch. If false, edge metric will not be applied to boundary edges, and the patch tends to make a sharper turn there.
|
| new unsafe MR.? FaceBitSet | outNewFaces [get, set] |
| | If not nullptr accumulate new faces.
|
| new unsafe ref MR.FillHoleParams.MultipleEdgesResolveMode | multipleEdgesResolveMode [get] |
| new unsafe ref bool | makeDegenerateBand [get] |
| | If true creates degenerate faces band around hole to have sharp angle visualization.
|
| new unsafe ref int | maxPolygonSubdivisions [get] |
| | The maximum number of polygon subdivisions on a triangle and two smaller polygons, must be 2 or larger.
|
| new unsafe MR.Misc.? Box< byte > | stopBeforeBadTriangulation [get, set] |
| | Input/output value, if it is present: returns true if triangulation was bad and do not actually fill hole, if triangulation is ok returns false; if it is not present fill hole trivially in case of bad triangulation, (or leaves bad triangulation, depending on metric)
|
Parameters structure for MR.fillHole
Structure has some options to control MR.fillHole.
- See also
- fillHole
-
FillHoleMetric Generated from class MR.FillHoleParams. This is the const half of the class.
-
fillHole
-
FillHoleMetric Generated from class MR.FillHoleParams. This is the non-const half of the class.
◆ FillHoleParams() [1/5]
| unsafe MR.FillHoleParams.FillHoleParams |
( |
| ) |
|
|
inline |
Constructs an empty (default-constructed) instance.
◆ FillHoleParams() [2/5]
| unsafe MR.FillHoleParams.FillHoleParams |
( |
MR._ByValue_FillHoleMetric | metric, |
|
|
bool | smoothBd, |
|
|
MR.FaceBitSet? | outNewFaces, |
|
|
MR.FillHoleParams.MultipleEdgesResolveMode | multipleEdgesResolveMode, |
|
|
bool | makeDegenerateBand, |
|
|
int | maxPolygonSubdivisions, |
|
|
MR.Misc.InOut< bool >? | stopBeforeBadTriangulation ) |
|
inline |
◆ FillHoleParams() [3/5]
| unsafe MR.FillHoleParams.FillHoleParams |
( |
MR._ByValue_FillHoleParams | _other | ) |
|
|
inline |
◆ FillHoleParams() [4/5]
| MR.FillHoleParams.FillHoleParams |
( |
Const_FillHoleParams | _other | ) |
|
|
inline |
◆ FillHoleParams() [5/5]
◆ assign()
| unsafe MR.FillHoleParams MR.FillHoleParams.assign |
( |
MR._ByValue_FillHoleParams | _other | ) |
|
|
inline |
Generated from method MR::FillHoleParams::operator=.
◆ makeDegenerateBand
| new unsafe ref bool MR.FillHoleParams.makeDegenerateBand |
|
get |
If true creates degenerate faces band around hole to have sharp angle visualization.
- Warning
- This flag bad for result topology, most likely you do not need it
◆ maxPolygonSubdivisions
| new unsafe ref int MR.FillHoleParams.maxPolygonSubdivisions |
|
get |
The maximum number of polygon subdivisions on a triangle and two smaller polygons, must be 2 or larger.
◆ metric
◆ multipleEdgesResolveMode
| new unsafe ref MR.FillHoleParams.MultipleEdgesResolveMode MR.FillHoleParams.multipleEdgesResolveMode |
|
get |
◆ outNewFaces
| new unsafe MR.? FaceBitSet MR.FillHoleParams.outNewFaces |
|
getset |
If not nullptr accumulate new faces.
◆ smoothBd
| new unsafe ref bool MR.FillHoleParams.smoothBd |
|
get |
If true, hole filling will minimize the sum of metrics including boundary edges, where one triangle was present before hole filling, and another is added during hole filling. This makes boundary edges same smooth as inner edges of the patch. If false, edge metric will not be applied to boundary edges, and the patch tends to make a sharper turn there.
◆ stopBeforeBadTriangulation
| new unsafe MR.Misc.? Box<byte> MR.FillHoleParams.stopBeforeBadTriangulation |
|
getset |
Input/output value, if it is present: returns true if triangulation was bad and do not actually fill hole, if triangulation is ok returns false; if it is not present fill hole trivially in case of bad triangulation, (or leaves bad triangulation, depending on metric)
The documentation for this struct was generated from the following file: