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

Public Member Functions

 __init__ (self, *args, **kwargs)
float maxDistSq (self)
int minVertsInComp (self)
Side side (self)
bool useWindingNumber (self)
float windingNumberThreshold (self)

Static Protected Attributes

typing _offsetof_maxDistSq = 4
typing _offsetof_minVertsInComp = 16
typing _offsetof_side = 0
typing _offsetof_useWindingNumber = 8
typing _offsetof_windingNumberThreshold = 12

Detailed Description

Generated from:  MR::FindInnerShellSettings

Constructor & Destructor Documentation

◆ __init__()

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

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

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

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.ConstFindInnerShellSettings, side: meshlib.mrmeshpy.Side, maxDistSq: float, useWindingNumber: bool, windingNumberThreshold: float, minVertsInComp: int) -> None

Implicit aggregate constructor.

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

Member Function Documentation

◆ maxDistSq()

float mrmeshpy.ConstFindInnerShellSettings.maxDistSq ( self)
specifies maximum squared distance from shell parts of interest to source mesh

Reimplemented in mrmeshpy.FindInnerShellSettings, and mrmeshpy.FindInnerShellSettings.

◆ minVertsInComp()

int mrmeshpy.ConstFindInnerShellSettings.minVertsInComp ( self)
components of proper side with smaller number of vertices than this value will be removed from the result;
components of wrong side with smaller number of vertices than this value will be added to the result

Reimplemented in mrmeshpy.FindInnerShellSettings, and mrmeshpy.FindInnerShellSettings.

◆ side()

Side mrmeshpy.ConstFindInnerShellSettings.side ( self)
specifies which side of shell is of interest: negative or positive relative to mesh normals

Reimplemented in mrmeshpy.FindInnerShellSettings, and mrmeshpy.FindInnerShellSettings.

◆ useWindingNumber()

bool mrmeshpy.ConstFindInnerShellSettings.useWindingNumber ( self)
if true, a slower algorithm is activated that is more robust in the presence of self-intersections on mesh

Reimplemented in mrmeshpy.FindInnerShellSettings, and mrmeshpy.FindInnerShellSettings.

◆ windingNumberThreshold()

float mrmeshpy.ConstFindInnerShellSettings.windingNumberThreshold ( self)
positive side if winding number below or equal this threshold;
ideal threshold: 0.5 for closed meshes; 0.0 for planar meshes

Reimplemented in mrmeshpy.FindInnerShellSettings, and mrmeshpy.FindInnerShellSettings.

Member Data Documentation

◆ _offsetof_maxDistSq

typing mrmeshpy.ConstFindInnerShellSettings._offsetof_maxDistSq = 4
staticprotected

◆ _offsetof_minVertsInComp

typing mrmeshpy.ConstFindInnerShellSettings._offsetof_minVertsInComp = 16
staticprotected

◆ _offsetof_side

typing mrmeshpy.ConstFindInnerShellSettings._offsetof_side = 0
staticprotected

◆ _offsetof_useWindingNumber

typing mrmeshpy.ConstFindInnerShellSettings._offsetof_useWindingNumber = 8
staticprotected

◆ _offsetof_windingNumberThreshold

typing mrmeshpy.ConstFindInnerShellSettings._offsetof_windingNumberThreshold = 12
staticprotected

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