Public Member Functions | |
| __init__ (self, *args, **kwargs) | |
| Const_func_bool_from_float | cb (self) |
| float | maxDistSq (self) |
| float | maxNormalDot (self) |
| float | minAreaFraction (self) |
| float | minNormalDot (self) |
| Const_func_bool_from_Id_FaceTag_Id_FaceTag | pred (self) |
Static Protected Attributes | |
| typing | _offsetof_cb = 48 |
| typing | _offsetof_maxDistSq = 0 |
| typing | _offsetof_maxNormalDot = 4 |
| typing | _offsetof_minAreaFraction = 12 |
| typing | _offsetof_minNormalDot = 8 |
| typing | _offsetof_pred = 16 |
Generated from: MR::FindOverlappingSettings
| mrmeshpy.ConstFindOverlappingSettings.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
__init__(*args, **kwargs) Overloaded function. 1. __init__(self: meshlib.mrmeshpy.ConstFindOverlappingSettings) -> None 2. __init__(self: meshlib.mrmeshpy.ConstFindOverlappingSettings, arg0: meshlib.mrmeshpy.ConstFindOverlappingSettings) -> None Implicit copy constructor. 3. __init__(self: meshlib.mrmeshpy.ConstFindOverlappingSettings, maxDistSq: float, maxNormalDot: float, minNormalDot: float, minAreaFraction: float, pred: meshlib.mrmeshpy.Const_func_bool_from_Id_FaceTag_Id_FaceTag, cb: meshlib.mrmeshpy.Const_func_bool_from_float) -> None Implicit aggregate constructor. 4. __init__(self: meshlib.mrmeshpy.ConstFindOverlappingSettings, : meshlib.mrmeshpy.ConstFindOverlappingSettings) -> None
| Const_func_bool_from_float mrmeshpy.ConstFindOverlappingSettings.cb | ( | self | ) |
for reporting current progress and allowing the user to cancel the algorithm
Reimplemented in mrmeshpy.FindOverlappingSettings, and mrmeshpy.FindOverlappingSettings.
| float mrmeshpy.ConstFindOverlappingSettings.maxDistSq | ( | self | ) |
suggestion: multiply it on mesh.getBoundingBox().size().lengthSq();
Reimplemented in mrmeshpy.FindOverlappingSettings, and mrmeshpy.FindOverlappingSettings.
| float mrmeshpy.ConstFindOverlappingSettings.maxNormalDot | ( | self | ) |
maximal dot product of one triangle and another overlapping triangle normals
Reimplemented in mrmeshpy.FindOverlappingSettings, and mrmeshpy.FindOverlappingSettings.
| float mrmeshpy.ConstFindOverlappingSettings.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 in mrmeshpy.FindOverlappingSettings, and mrmeshpy.FindOverlappingSettings.
| float mrmeshpy.ConstFindOverlappingSettings.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 in mrmeshpy.FindOverlappingSettings, and mrmeshpy.FindOverlappingSettings.
| Const_func_bool_from_Id_FaceTag_Id_FaceTag mrmeshpy.ConstFindOverlappingSettings.pred | ( | self | ) |
if predicate is present it should return true for pair of faces that should be considered as overlap
Reimplemented in mrmeshpy.FindOverlappingSettings, and mrmeshpy.FindOverlappingSettings.
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |