MeshLib Python Docs
Loading...
Searching...
No Matches
Inheritance diagram for mrmeshpy.FillHoleParams:

Classes

class  MultipleEdgesResolveMode

Public Member Functions

None __init__ (self)
None __init__ (self, ConstFillHoleParams arg0)
None __init__ (self, ConstFillHoleMetric metric, bool smoothBd, FaceBitSet outNewFaces, FillHoleParams.MultipleEdgesResolveMode multipleEdgesResolveMode, bool makeDegenerateBand, int maxPolygonSubdivisions, bool_output stopBeforeBadTriangulation)
FillHoleParams assign (self, ConstFillHoleParams other)
bool makeDegenerateBand (self)
None makeDegenerateBand (self, bool arg1)
int maxPolygonSubdivisions (self)
None maxPolygonSubdivisions (self, int arg1)
FillHoleMetric metric (self)
None metric (self, ConstFillHoleMetric 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)
Public Member Functions inherited from mrmeshpy.ConstFillHoleParams
 __init__ (self, *args, **kwargs)
FillHoleParams.MultipleEdgesResolveMode multipleEdgesResolveMode (self)

Static Public Member Functions

None __init__ (*args, **kwargs)

Additional Inherited Members

Static Protected Attributes inherited from mrmeshpy.ConstFillHoleParams
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__() [1/4]

None mrmeshpy.FillHoleParams.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/4]

None mrmeshpy.FillHoleParams.__init__ ( self)

◆ __init__() [3/4]

None mrmeshpy.FillHoleParams.__init__ ( self,
ConstFillHoleParams arg0 )
Implicit copy constructor.

◆ __init__() [4/4]

None mrmeshpy.FillHoleParams.__init__ ( self,
ConstFillHoleMetric metric,
bool smoothBd,
FaceBitSet outNewFaces,
FillHoleParams.MultipleEdgesResolveMode multipleEdgesResolveMode,
bool makeDegenerateBand,
int maxPolygonSubdivisions,
bool_output stopBeforeBadTriangulation )
Implicit aggregate constructor.

Member Function Documentation

◆ assign()

FillHoleParams mrmeshpy.FillHoleParams.assign ( self,
ConstFillHoleParams other )

◆ makeDegenerateBand() [1/2]

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

Reimplemented from mrmeshpy.ConstFillHoleParams.

◆ makeDegenerateBand() [2/2]

None mrmeshpy.FillHoleParams.makeDegenerateBand ( self,
bool arg1 )
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 from mrmeshpy.ConstFillHoleParams.

◆ maxPolygonSubdivisions() [1/2]

int mrmeshpy.FillHoleParams.maxPolygonSubdivisions ( self)
The maximum number of polygon subdivisions on a triangle and two smaller polygons,
must be 2 or larger

Reimplemented from mrmeshpy.ConstFillHoleParams.

◆ maxPolygonSubdivisions() [2/2]

None mrmeshpy.FillHoleParams.maxPolygonSubdivisions ( self,
int arg1 )
The maximum number of polygon subdivisions on a triangle and two smaller polygons,
must be 2 or larger

Reimplemented from mrmeshpy.ConstFillHoleParams.

◆ metric() [1/2]

FillHoleMetric mrmeshpy.FillHoleParams.metric ( self)
Specifies triangulation metric\\n
default for MR::fillHole: getCircumscribedFillMetric\\n
\\sa \\ref FillHoleMetric

Reimplemented from mrmeshpy.ConstFillHoleParams.

◆ metric() [2/2]

None mrmeshpy.FillHoleParams.metric ( self,
ConstFillHoleMetric arg1 )
Specifies triangulation metric\\n
default for MR::fillHole: getCircumscribedFillMetric\\n
\\sa \\ref FillHoleMetric

Reimplemented from mrmeshpy.ConstFillHoleParams.

◆ outNewFaces() [1/2]

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

Reimplemented from mrmeshpy.ConstFillHoleParams.

◆ outNewFaces() [2/2]

None mrmeshpy.FillHoleParams.outNewFaces ( self,
FaceBitSet arg1 )
If not nullptr accumulate new faces

Reimplemented from mrmeshpy.ConstFillHoleParams.

◆ smoothBd() [1/2]

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.

Reimplemented from mrmeshpy.ConstFillHoleParams.

◆ smoothBd() [2/2]

None mrmeshpy.FillHoleParams.smoothBd ( self,
bool arg1 )
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 from mrmeshpy.ConstFillHoleParams.

◆ stopBeforeBadTriangulation() [1/2]

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)

Reimplemented from mrmeshpy.ConstFillHoleParams.

◆ stopBeforeBadTriangulation() [2/2]

None mrmeshpy.FillHoleParams.stopBeforeBadTriangulation ( self,
bool_output arg1 )
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 from mrmeshpy.ConstFillHoleParams.


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