Classes | |
class | MultipleEdgesResolveMode |
Public Member Functions | |
None | __init__ (self) |
None | __init__ (self, FillHoleMetric metric, bool smoothBd, FaceBitSet outNewFaces, FillHoleParams.MultipleEdgesResolveMode multipleEdgesResolveMode, bool makeDegenerateBand, int maxPolygonSubdivisions, bool_output stopBeforeBadTriangulation) |
bool | makeDegenerateBand (self) |
None | makeDegenerateBand (self, bool arg1) |
int | maxPolygonSubdivisions (self) |
None | maxPolygonSubdivisions (self, int arg1) |
FillHoleMetric | metric (self) |
None | metric (self, FillHoleMetric arg1) |
FaceBitSet | outNewFaces (self) |
None | outNewFaces (self, FaceBitSet arg1) |
bool | smoothBd (self) |
None | smoothBd (self, bool arg1) |
bool | stopBeforeBadTriangulation (self) |
None | stopBeforeBadTriangulation (self, bool_output arg1) |
Static Public Member Functions | |
None | __init__ (*args, **kwargs) |
FillHoleParams | operator (*args, **kwargs) |
FillHoleParams | operator (*args, **kwargs) |
Static Public Attributes | |
FillHoleParams | multipleEdgesResolveMode .MultipleEdgesResolveMode |
Static Protected Attributes | |
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
|
static |
None mrmeshpy.FillHoleParams.__init__ | ( | self | ) |
None mrmeshpy.FillHoleParams.__init__ | ( | self, | |
FillHoleMetric | metric, | ||
bool | smoothBd, | ||
FaceBitSet | outNewFaces, | ||
FillHoleParams.MultipleEdgesResolveMode | multipleEdgesResolveMode, | ||
bool | makeDegenerateBand, | ||
int | maxPolygonSubdivisions, | ||
bool_output | stopBeforeBadTriangulation ) |
Implicit aggregate constructor.
bool mrmeshpy.FillHoleParams.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
None mrmeshpy.FillHoleParams.makeDegenerateBand | ( | self, | |
bool | arg1 ) |
int mrmeshpy.FillHoleParams.maxPolygonSubdivisions | ( | self | ) |
The maximum number of polygon subdivisions on a triangle and two smaller polygons, must be 2 or larger
None mrmeshpy.FillHoleParams.maxPolygonSubdivisions | ( | self, | |
int | arg1 ) |
FillHoleMetric mrmeshpy.FillHoleParams.metric | ( | self | ) |
Specifies triangulation metric\\n default for MR::fillHole: getCircumscribedFillMetric\\n \\sa \\ref FillHoleMetric
None mrmeshpy.FillHoleParams.metric | ( | self, | |
FillHoleMetric | arg1 ) |
|
static |
|
static |
FaceBitSet mrmeshpy.FillHoleParams.outNewFaces | ( | self | ) |
If not nullptr accumulate new faces
None mrmeshpy.FillHoleParams.outNewFaces | ( | self, | |
FaceBitSet | arg1 ) |
bool mrmeshpy.FillHoleParams.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.
None mrmeshpy.FillHoleParams.smoothBd | ( | self, | |
bool | arg1 ) |
bool mrmeshpy.FillHoleParams.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)
None mrmeshpy.FillHoleParams.stopBeforeBadTriangulation | ( | self, | |
bool_output | arg1 ) |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
static |