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

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

Detailed Description

Generated from:  MR::DoubleOffsetSettings

Constructor & Destructor Documentation

◆ __init__()

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

Member Function Documentation

◆ adaptivity()

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.

◆ fwn()

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.

◆ offsetA()

float mrmeshpy.ConstDoubleOffsetSettings.offsetA ( self)
the amount of first offset

Reimplemented in mrmeshpy.DoubleOffsetSettings, and mrmeshpy.DoubleOffsetSettings.

◆ offsetB()

float mrmeshpy.ConstDoubleOffsetSettings.offsetB ( self)
the amount of second offset

Reimplemented in mrmeshpy.DoubleOffsetSettings, and mrmeshpy.DoubleOffsetSettings.

◆ progress()

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.

◆ voxelSize()

float mrmeshpy.ConstDoubleOffsetSettings.voxelSize ( self)
the size of voxel in intermediate voxel grid representation

Reimplemented in mrmeshpy.DoubleOffsetSettings, and mrmeshpy.DoubleOffsetSettings.

◆ windingNumberBeta()

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.

◆ windingNumberThreshold()

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.

Member Data Documentation

◆ _offsetof_adaptivity

typing mrmeshpy.ConstDoubleOffsetSettings._offsetof_adaptivity = 12
staticprotected

◆ _offsetof_fwn

typing mrmeshpy.ConstDoubleOffsetSettings._offsetof_fwn = 16
staticprotected

◆ _offsetof_offsetA

typing mrmeshpy.ConstDoubleOffsetSettings._offsetof_offsetA = 4
staticprotected

◆ _offsetof_offsetB

typing mrmeshpy.ConstDoubleOffsetSettings._offsetof_offsetB = 8
staticprotected

◆ _offsetof_progress

typing mrmeshpy.ConstDoubleOffsetSettings._offsetof_progress = 40
staticprotected

◆ _offsetof_voxelSize

typing mrmeshpy.ConstDoubleOffsetSettings._offsetof_voxelSize = 0
staticprotected

◆ _offsetof_windingNumberBeta

typing mrmeshpy.ConstDoubleOffsetSettings._offsetof_windingNumberBeta = 36
staticprotected

◆ _offsetof_windingNumberThreshold

typing mrmeshpy.ConstDoubleOffsetSettings._offsetof_windingNumberThreshold = 32
staticprotected

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