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

Public Member Functions

None __init__ (self)
None __init__ (self, ConstFindOverlappingSettings arg0)
None __init__ (self, float maxDistSq, float maxNormalDot, float minNormalDot, float minAreaFraction, Const_func_bool_from_Id_FaceTag_Id_FaceTag pred, Const_func_bool_from_float cb)
FindOverlappingSettings assign (self, ConstFindOverlappingSettings other)
func_bool_from_float cb (self)
None cb (self, Const_func_bool_from_float arg1)
float maxDistSq (self)
None maxDistSq (self, float arg1)
float maxNormalDot (self)
None maxNormalDot (self, float arg1)
float minAreaFraction (self)
None minAreaFraction (self, float arg1)
float minNormalDot (self)
None minNormalDot (self, float arg1)
func_bool_from_Id_FaceTag_Id_FaceTag pred (self)
None pred (self, Const_func_bool_from_Id_FaceTag_Id_FaceTag arg1)
Public Member Functions inherited from mrmeshpy.ConstFindOverlappingSettings
 __init__ (self, *args, **kwargs)

Static Public Member Functions

None __init__ (*args, **kwargs)

Additional Inherited Members

Static Protected Attributes inherited from mrmeshpy.ConstFindOverlappingSettings
typing _offsetof_cb = 48
typing _offsetof_maxDistSq = 0
typing _offsetof_maxNormalDot = 4
typing _offsetof_minAreaFraction = 12
typing _offsetof_minNormalDot = 8
typing _offsetof_pred = 16

Detailed Description

Generated from:  MR::FindOverlappingSettings

Constructor & Destructor Documentation

◆ __init__() [1/4]

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

◆ __init__() [2/4]

None mrmeshpy.FindOverlappingSettings.__init__ ( self)

◆ __init__() [3/4]

None mrmeshpy.FindOverlappingSettings.__init__ ( self,
ConstFindOverlappingSettings arg0 )
Implicit copy constructor.

◆ __init__() [4/4]

None mrmeshpy.FindOverlappingSettings.__init__ ( self,
float maxDistSq,
float maxNormalDot,
float minNormalDot,
float minAreaFraction,
Const_func_bool_from_Id_FaceTag_Id_FaceTag pred,
Const_func_bool_from_float cb )
Implicit aggregate constructor.

Member Function Documentation

◆ assign()

FindOverlappingSettings mrmeshpy.FindOverlappingSettings.assign ( self,
ConstFindOverlappingSettings other )

◆ cb() [1/2]

func_bool_from_float mrmeshpy.FindOverlappingSettings.cb ( self)
for reporting current progress and allowing the user to cancel the algorithm

Reimplemented from mrmeshpy.ConstFindOverlappingSettings.

◆ cb() [2/2]

None mrmeshpy.FindOverlappingSettings.cb ( self,
Const_func_bool_from_float arg1 )
for reporting current progress and allowing the user to cancel the algorithm

Reimplemented from mrmeshpy.ConstFindOverlappingSettings.

◆ maxDistSq() [1/2]

float mrmeshpy.FindOverlappingSettings.maxDistSq ( self)
suggestion: multiply it on mesh.getBoundingBox().size().lengthSq();

Reimplemented from mrmeshpy.ConstFindOverlappingSettings.

◆ maxDistSq() [2/2]

None mrmeshpy.FindOverlappingSettings.maxDistSq ( self,
float arg1 )
suggestion: multiply it on mesh.getBoundingBox().size().lengthSq();

Reimplemented from mrmeshpy.ConstFindOverlappingSettings.

◆ maxNormalDot() [1/2]

float mrmeshpy.FindOverlappingSettings.maxNormalDot ( self)
maximal dot product of one triangle and another overlapping triangle normals

Reimplemented from mrmeshpy.ConstFindOverlappingSettings.

◆ maxNormalDot() [2/2]

None mrmeshpy.FindOverlappingSettings.maxNormalDot ( self,
float arg1 )
maximal dot product of one triangle and another overlapping triangle normals

Reimplemented from mrmeshpy.ConstFindOverlappingSettings.

◆ minAreaFraction() [1/2]

float mrmeshpy.FindOverlappingSettings.minAreaFraction ( self)
consider triangle as overlapping only if the area of the oppositely oriented triangle is at least given fraction of the triangle's area

Reimplemented from mrmeshpy.ConstFindOverlappingSettings.

◆ minAreaFraction() [2/2]

None mrmeshpy.FindOverlappingSettings.minAreaFraction ( self,
float arg1 )
consider triangle as overlapping only if the area of the oppositely oriented triangle is at least given fraction of the triangle's area

Reimplemented from mrmeshpy.ConstFindOverlappingSettings.

◆ minNormalDot() [1/2]

float mrmeshpy.FindOverlappingSettings.minNormalDot ( self)
if the dot product of the normals is at least this value, then similarly oriented close triangles are also considered overlapping,
provided that their projections on the average plane overlap with positive area (it finds thin folds of the surface);
the default value disables this check

Reimplemented from mrmeshpy.ConstFindOverlappingSettings.

◆ minNormalDot() [2/2]

None mrmeshpy.FindOverlappingSettings.minNormalDot ( self,
float arg1 )
if the dot product of the normals is at least this value, then similarly oriented close triangles are also considered overlapping,
provided that their projections on the average plane overlap with positive area (it finds thin folds of the surface);
the default value disables this check

Reimplemented from mrmeshpy.ConstFindOverlappingSettings.

◆ pred() [1/2]

func_bool_from_Id_FaceTag_Id_FaceTag mrmeshpy.FindOverlappingSettings.pred ( self)
if predicate is present it should return true for pair of faces that should be considered as overlap

Reimplemented from mrmeshpy.ConstFindOverlappingSettings.

◆ pred() [2/2]

None mrmeshpy.FindOverlappingSettings.pred ( self,
Const_func_bool_from_Id_FaceTag_Id_FaceTag arg1 )
if predicate is present it should return true for pair of faces that should be considered as overlap

Reimplemented from mrmeshpy.ConstFindOverlappingSettings.


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