Classes | |
| class | MultipleEdgesResolveMode |
Public Member Functions | |
| __init__ (self, *args, **kwargs) | |
| bool | makeDegenerateBand (self) |
| int | maxPolygonSubdivisions (self) |
| ConstFillHoleMetric | metric (self) |
| FillHoleParams.MultipleEdgesResolveMode | multipleEdgesResolveMode (self) |
| FaceBitSet | outNewFaces (self) |
| bool | smoothBd (self) |
| bool | stopBeforeBadTriangulation (self) |
Static Protected Attributes | |
| typing | _offsetof_makeDegenerateBand = 116 |
| typing | _offsetof_maxPolygonSubdivisions = 120 |
| typing | _offsetof_metric = 0 |
| typing | _offsetof_multipleEdgesResolveMode = 112 |
| typing | _offsetof_outNewFaces = 104 |
| typing | _offsetof_smoothBd = 96 |
| typing | _offsetof_stopBeforeBadTriangulation = 128 |
Generated from: MR::FillHoleParams \\struct MR::FillHoleParams \\brief Parameters structure for MR::fillHole\\n Structure has some options to control MR::fillHole \\sa \\ref fillHole \\sa \\ref FillHoleMetric
| mrmeshpy.ConstFillHoleParams.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
__init__(*args, **kwargs) Overloaded function. 1. __init__(self: meshlib.mrmeshpy.ConstFillHoleParams) -> None 2. __init__(self: meshlib.mrmeshpy.ConstFillHoleParams, arg0: meshlib.mrmeshpy.ConstFillHoleParams) -> None Implicit copy constructor. 3. __init__(self: meshlib.mrmeshpy.ConstFillHoleParams, metric: meshlib.mrmeshpy.ConstFillHoleMetric, smoothBd: bool, outNewFaces: meshlib.mrmeshpy.FaceBitSet, multipleEdgesResolveMode: meshlib.mrmeshpy.FillHoleParams.MultipleEdgesResolveMode, makeDegenerateBand: bool, maxPolygonSubdivisions: int, stopBeforeBadTriangulation: bool_output) -> None Implicit aggregate constructor. 4. __init__(self: meshlib.mrmeshpy.ConstFillHoleParams, : meshlib.mrmeshpy.ConstFillHoleParams) -> None
| bool mrmeshpy.ConstFillHoleParams.makeDegenerateBand | ( | self | ) |
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
Reimplemented in mrmeshpy.FillHoleParams, and mrmeshpy.FillHoleParams.
| int mrmeshpy.ConstFillHoleParams.maxPolygonSubdivisions | ( | self | ) |
The maximum number of polygon subdivisions on a triangle and two smaller polygons, must be 2 or larger
Reimplemented in mrmeshpy.FillHoleParams, and mrmeshpy.FillHoleParams.
| ConstFillHoleMetric mrmeshpy.ConstFillHoleParams.metric | ( | self | ) |
Specifies triangulation metric\\n default for MR::fillHole: getCircumscribedFillMetric\\n \\sa \\ref FillHoleMetric
Reimplemented in mrmeshpy.FillHoleParams, and mrmeshpy.FillHoleParams.
| FillHoleParams.MultipleEdgesResolveMode mrmeshpy.ConstFillHoleParams.multipleEdgesResolveMode | ( | self | ) |
| FaceBitSet mrmeshpy.ConstFillHoleParams.outNewFaces | ( | self | ) |
If not nullptr accumulate new faces
Reimplemented in mrmeshpy.FillHoleParams, and mrmeshpy.FillHoleParams.
| bool mrmeshpy.ConstFillHoleParams.smoothBd | ( | self | ) |
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.
Reimplemented in mrmeshpy.FillHoleParams, and mrmeshpy.FillHoleParams.
| bool mrmeshpy.ConstFillHoleParams.stopBeforeBadTriangulation | ( | self | ) |
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)
Reimplemented in mrmeshpy.FillHoleParams, and mrmeshpy.FillHoleParams.
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |