Public Member Functions | |
| __init__ (self, *args, **kwargs) | |
| float | adaptivity (self) |
| IFastWindingNumber | fwn (self) |
| float | offsetA (self) |
| float | offsetB (self) |
| Const_func_bool_from_float | progress (self) |
| float | voxelSize (self) |
| float | windingNumberBeta (self) |
| float | windingNumberThreshold (self) |
Static Protected Attributes | |
| typing | _offsetof_adaptivity = 12 |
| typing | _offsetof_fwn = 16 |
| typing | _offsetof_offsetA = 4 |
| typing | _offsetof_offsetB = 8 |
| typing | _offsetof_progress = 40 |
| typing | _offsetof_voxelSize = 0 |
| typing | _offsetof_windingNumberBeta = 36 |
| typing | _offsetof_windingNumberThreshold = 32 |
Generated from: MR::DoubleOffsetSettings
| mrmeshpy.ConstDoubleOffsetSettings.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
__init__(*args, **kwargs) Overloaded function. 1. __init__(self: meshlib.mrmeshpy.ConstDoubleOffsetSettings) -> None 2. __init__(self: meshlib.mrmeshpy.ConstDoubleOffsetSettings, arg0: meshlib.mrmeshpy.ConstDoubleOffsetSettings) -> None Implicit copy constructor. 3. __init__(self: meshlib.mrmeshpy.ConstDoubleOffsetSettings, voxelSize: float, offsetA: float, offsetB: float, adaptivity: float, fwn: meshlib.mrmeshpy.IFastWindingNumber, windingNumberThreshold: float, windingNumberBeta: float, progress: meshlib.mrmeshpy.Const_func_bool_from_float) -> None Implicit aggregate constructor. 4. __init__(self: meshlib.mrmeshpy.ConstDoubleOffsetSettings, : meshlib.mrmeshpy.ConstDoubleOffsetSettings) -> None
| float mrmeshpy.ConstDoubleOffsetSettings.adaptivity | ( | self | ) |
in [0; 1] - ratio of combining small triangles into bigger ones (curvature can be lost on high values)
Reimplemented in mrmeshpy.DoubleOffsetSettings, and mrmeshpy.DoubleOffsetSettings.
| IFastWindingNumber mrmeshpy.ConstDoubleOffsetSettings.fwn | ( | self | ) |
defines particular implementation of IFastWindingNumber interface that will compute windings. If it is not specified, default FastWindingNumber is used
Reimplemented in mrmeshpy.DoubleOffsetSettings, and mrmeshpy.DoubleOffsetSettings.
| float mrmeshpy.ConstDoubleOffsetSettings.offsetA | ( | self | ) |
the amount of first offset
Reimplemented in mrmeshpy.DoubleOffsetSettings, and mrmeshpy.DoubleOffsetSettings.
| float mrmeshpy.ConstDoubleOffsetSettings.offsetB | ( | self | ) |
the amount of second offset
Reimplemented in mrmeshpy.DoubleOffsetSettings, and mrmeshpy.DoubleOffsetSettings.
| Const_func_bool_from_float mrmeshpy.ConstDoubleOffsetSettings.progress | ( | self | ) |
to report algorithm's progress and to cancel it
Reimplemented in mrmeshpy.DoubleOffsetSettings, and mrmeshpy.DoubleOffsetSettings.
| float mrmeshpy.ConstDoubleOffsetSettings.voxelSize | ( | self | ) |
the size of voxel in intermediate voxel grid representation
Reimplemented in mrmeshpy.DoubleOffsetSettings, and mrmeshpy.DoubleOffsetSettings.
| float mrmeshpy.ConstDoubleOffsetSettings.windingNumberBeta | ( | self | ) |
determines the precision of fast approximation: the more the better, minimum value is 1
Reimplemented in mrmeshpy.DoubleOffsetSettings, and mrmeshpy.DoubleOffsetSettings.
| float mrmeshpy.ConstDoubleOffsetSettings.windingNumberThreshold | ( | self | ) |
positive distance if winding number below or equal this threshold; ideal threshold: 0.5 for closed meshes; 0.0 for planar meshes
Reimplemented in mrmeshpy.DoubleOffsetSettings, and mrmeshpy.DoubleOffsetSettings.
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |