MeshLib Python Docs
Loading...
Searching...
No Matches
meshlib.mrmeshpy.DoubleOffsetSettings Class Reference

Public Member Functions

None __init__ (self)
 
None __init__ (self, DoubleOffsetSettings arg0)
 
None __init__ (self, float voxelSize, float offsetA, float offsetB, float adaptivity, IFastWindingNumber fwn, float windingNumberThreshold, float windingNumberBeta, func_bool_from_float progress)
 
float adaptivity (self)
 
None adaptivity (self, float arg1)
 
IFastWindingNumber fwn (self)
 
None fwn (self, IFastWindingNumber arg1)
 
float offsetA (self)
 
None offsetA (self, float arg1)
 
float offsetB (self)
 
None offsetB (self, float arg1)
 
func_bool_from_float progress (self)
 
None progress (self, func_bool_from_float arg1)
 
float voxelSize (self)
 
None voxelSize (self, float arg1)
 
float windingNumberBeta (self)
 
None windingNumberBeta (self, float arg1)
 
float windingNumberThreshold (self)
 
None windingNumberThreshold (self, float arg1)
 

Detailed Description

Generated from:  MR::DoubleOffsetSettings

Constructor & Destructor Documentation

◆ __init__() [1/3]

None meshlib.mrmeshpy.DoubleOffsetSettings.__init__ ( self)
Implicit default constructor.

◆ __init__() [2/3]

None meshlib.mrmeshpy.DoubleOffsetSettings.__init__ ( self,
DoubleOffsetSettings arg0 )
Implicit copy constructor.

◆ __init__() [3/3]

None meshlib.mrmeshpy.DoubleOffsetSettings.__init__ ( self,
float voxelSize,
float offsetA,
float offsetB,
float adaptivity,
IFastWindingNumber fwn,
float windingNumberThreshold,
float windingNumberBeta,
func_bool_from_float progress )
Implicit aggregate constructor.

Member Function Documentation

◆ adaptivity() [1/2]

float meshlib.mrmeshpy.DoubleOffsetSettings.adaptivity ( self)
in [0; 1] - ratio of combining small triangles into bigger ones (curvature can be lost on high values)

◆ adaptivity() [2/2]

None meshlib.mrmeshpy.DoubleOffsetSettings.adaptivity ( self,
float arg1 )

◆ fwn() [1/2]

IFastWindingNumber meshlib.mrmeshpy.DoubleOffsetSettings.fwn ( self)
defines particular implementation of IFastWindingNumber interface that will compute windings. If it is not specified, default FastWindingNumber is used

◆ fwn() [2/2]

None meshlib.mrmeshpy.DoubleOffsetSettings.fwn ( self,
IFastWindingNumber arg1 )

◆ offsetA() [1/2]

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

◆ offsetA() [2/2]

None meshlib.mrmeshpy.DoubleOffsetSettings.offsetA ( self,
float arg1 )

◆ offsetB() [1/2]

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

◆ offsetB() [2/2]

None meshlib.mrmeshpy.DoubleOffsetSettings.offsetB ( self,
float arg1 )

◆ progress() [1/2]

func_bool_from_float meshlib.mrmeshpy.DoubleOffsetSettings.progress ( self)
to report algorithm's progress and to cancel it

◆ progress() [2/2]

None meshlib.mrmeshpy.DoubleOffsetSettings.progress ( self,
func_bool_from_float arg1 )

◆ voxelSize() [1/2]

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

◆ voxelSize() [2/2]

None meshlib.mrmeshpy.DoubleOffsetSettings.voxelSize ( self,
float arg1 )

◆ windingNumberBeta() [1/2]

float meshlib.mrmeshpy.DoubleOffsetSettings.windingNumberBeta ( self)
determines the precision of fast approximation: the more the better, minimum value is 1

◆ windingNumberBeta() [2/2]

None meshlib.mrmeshpy.DoubleOffsetSettings.windingNumberBeta ( self,
float arg1 )

◆ windingNumberThreshold() [1/2]

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

◆ windingNumberThreshold() [2/2]

None meshlib.mrmeshpy.DoubleOffsetSettings.windingNumberThreshold ( self,
float arg1 )

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