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

Public Member Functions

 __init__ (self, *args, **kwargs)
Const_func_double_from_double_double combineMetric (self)
Const_func_double_from_Id_VertTag_Id_VertTag_Id_VertTag_Id_VertTag edgeMetric (self)
Const_func_double_from_Id_VertTag_Id_VertTag_Id_VertTag triangleMetric (self)

Static Protected Attributes

typing _offsetof_combineMetric = 64
typing _offsetof_edgeMetric = 32
typing _offsetof_triangleMetric = 0

Detailed Description

Generated from:  MR::FillHoleMetric

\\struct MR::FillHoleMetric
\\brief Holds metrics for fillHole and stitchHoles triangulation\\n
This is struct used as optimization metric of fillHole and stitchHoles functions\\n
\\sa \\ref getCircumscribedMetric
\\sa \\ref getPlaneFillMetric
\\sa \\ref getEdgeLengthFillMetric
\\sa \\ref getEdgeLengthStitchMetric
\\sa \\ref getComplexStitchMetric
\\sa \\ref fillHole
\\sa \\ref stitchHoles

Constructor & Destructor Documentation

◆ __init__()

mrmeshpy.ConstFillHoleMetric.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

1. __init__(self: meshlib.mrmeshpy.ConstFillHoleMetric) -> None

2. __init__(self: meshlib.mrmeshpy.ConstFillHoleMetric, arg0: meshlib.mrmeshpy.ConstFillHoleMetric) -> None

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.ConstFillHoleMetric, triangleMetric: meshlib.mrmeshpy.Const_func_double_from_Id_VertTag_Id_VertTag_Id_VertTag, edgeMetric: meshlib.mrmeshpy.Const_func_double_from_Id_VertTag_Id_VertTag_Id_VertTag_Id_VertTag, combineMetric: meshlib.mrmeshpy.Const_func_double_from_double_double) -> None

Implicit aggregate constructor.

4. __init__(self: meshlib.mrmeshpy.ConstFillHoleMetric, : meshlib.mrmeshpy.ConstFillHoleMetric) -> None

Member Function Documentation

◆ combineMetric()

Const_func_double_from_double_double mrmeshpy.ConstFillHoleMetric.combineMetric ( self)
is called to combine metrics from different candidates, if it is not set it just summarizes input

Reimplemented in mrmeshpy.FillHoleMetric, and mrmeshpy.FillHoleMetric.

◆ edgeMetric()

Const_func_double_from_Id_VertTag_Id_VertTag_Id_VertTag_Id_VertTag mrmeshpy.ConstFillHoleMetric.edgeMetric ( self)
is called for each edge, if it is set

Reimplemented in mrmeshpy.FillHoleMetric, and mrmeshpy.FillHoleMetric.

◆ triangleMetric()

Const_func_double_from_Id_VertTag_Id_VertTag_Id_VertTag mrmeshpy.ConstFillHoleMetric.triangleMetric ( self)
is called for each triangle, if it is set

Reimplemented in mrmeshpy.FillHoleMetric, and mrmeshpy.FillHoleMetric.

Member Data Documentation

◆ _offsetof_combineMetric

typing mrmeshpy.ConstFillHoleMetric._offsetof_combineMetric = 64
staticprotected

◆ _offsetof_edgeMetric

typing mrmeshpy.ConstFillHoleMetric._offsetof_edgeMetric = 32
staticprotected

◆ _offsetof_triangleMetric

typing mrmeshpy.ConstFillHoleMetric._offsetof_triangleMetric = 0
staticprotected

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