MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.ConstFillHoleParams Class Reference
Inheritance diagram for mrmeshpy.ConstFillHoleParams:

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

Detailed Description

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

Constructor & Destructor Documentation

◆ __init__()

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

Member Function Documentation

◆ makeDegenerateBand()

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.

◆ maxPolygonSubdivisions()

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.

◆ metric()

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.

◆ multipleEdgesResolveMode()

FillHoleParams.MultipleEdgesResolveMode mrmeshpy.ConstFillHoleParams.multipleEdgesResolveMode ( self)

◆ outNewFaces()

FaceBitSet mrmeshpy.ConstFillHoleParams.outNewFaces ( self)
If not nullptr accumulate new faces

Reimplemented in mrmeshpy.FillHoleParams, and mrmeshpy.FillHoleParams.

◆ smoothBd()

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.

◆ stopBeforeBadTriangulation()

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.

Member Data Documentation

◆ _offsetof_makeDegenerateBand

typing mrmeshpy.ConstFillHoleParams._offsetof_makeDegenerateBand = 116
staticprotected

◆ _offsetof_maxPolygonSubdivisions

typing mrmeshpy.ConstFillHoleParams._offsetof_maxPolygonSubdivisions = 120
staticprotected

◆ _offsetof_metric

typing mrmeshpy.ConstFillHoleParams._offsetof_metric = 0
staticprotected

◆ _offsetof_multipleEdgesResolveMode

typing mrmeshpy.ConstFillHoleParams._offsetof_multipleEdgesResolveMode = 112
staticprotected

◆ _offsetof_outNewFaces

typing mrmeshpy.ConstFillHoleParams._offsetof_outNewFaces = 104
staticprotected

◆ _offsetof_smoothBd

typing mrmeshpy.ConstFillHoleParams._offsetof_smoothBd = 96
staticprotected

◆ _offsetof_stopBeforeBadTriangulation

typing mrmeshpy.ConstFillHoleParams._offsetof_stopBeforeBadTriangulation = 128
staticprotected

The documentation for this class was generated from the following file: