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

Public Member Functions

None __init__ (self)
 
None __init__ (self, DistanceToMeshOptions arg0)
 
None __init__ (self, float minDistSq, float maxDistSq, SignDetectionMode signMode, float windingNumberThreshold, float windingNumberBeta)
 
float maxDistSq (self)
 
None maxDistSq (self, float arg1)
 
float minDistSq (self)
 
None minDistSq (self, float arg1)
 
SignDetectionMode signMode (self)
 
None signMode (self, SignDetectionMode arg1)
 
float windingNumberBeta (self)
 
None windingNumberBeta (self, float arg1)
 
float windingNumberThreshold (self)
 
None windingNumberThreshold (self, float arg1)
 

Detailed Description

Generated from:  MR::DistanceToMeshOptions

Constructor & Destructor Documentation

◆ __init__() [1/3]

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

◆ __init__() [2/3]

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

◆ __init__() [3/3]

None meshlib.mrmeshpy.DistanceToMeshOptions.__init__ ( self,
float minDistSq,
float maxDistSq,
SignDetectionMode signMode,
float windingNumberThreshold,
float windingNumberBeta )
Implicit aggregate constructor.

Member Function Documentation

◆ maxDistSq() [1/2]

float meshlib.mrmeshpy.DistanceToMeshOptions.maxDistSq ( self)
maximum squared distance from a point to mesh

◆ maxDistSq() [2/2]

None meshlib.mrmeshpy.DistanceToMeshOptions.maxDistSq ( self,
float arg1 )

◆ minDistSq() [1/2]

float meshlib.mrmeshpy.DistanceToMeshOptions.minDistSq ( self)
minimum squared distance from a point to mesh

◆ minDistSq() [2/2]

None meshlib.mrmeshpy.DistanceToMeshOptions.minDistSq ( self,
float arg1 )

◆ signMode() [1/2]

SignDetectionMode meshlib.mrmeshpy.DistanceToMeshOptions.signMode ( self)
the method to compute distance sign

◆ signMode() [2/2]

None meshlib.mrmeshpy.DistanceToMeshOptions.signMode ( self,
SignDetectionMode arg1 )

◆ windingNumberBeta() [1/2]

float meshlib.mrmeshpy.DistanceToMeshOptions.windingNumberBeta ( self)
only for SignDetectionMode::HoleWindingRule:
determines the precision of fast approximation: the more the better, minimum value is 1

◆ windingNumberBeta() [2/2]

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

◆ windingNumberThreshold() [1/2]

float meshlib.mrmeshpy.DistanceToMeshOptions.windingNumberThreshold ( self)
only for SignDetectionMode::HoleWindingRule:
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.DistanceToMeshOptions.windingNumberThreshold ( self,
float arg1 )

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