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

Public Member Functions

None __init__ (self)
 
None __init__ (self, Vector3d dir)
 
None __init__ (self, IntersectionPrecomputes_double arg0)
 
float Sx (self)
 
None Sx (self, float arg1)
 
float Sy (self)
 
None Sy (self, float arg1)
 
float Sz (self)
 
None Sz (self, float arg1)
 
Vector3d invDir (self)
 
None invDir (self, Vector3d arg1)
 
int maxDimIdxZ (self)
 
None maxDimIdxZ (self, int arg1)
 
Vector3i sign (self)
 
None sign (self, Vector3i arg1)
 

Detailed Description

Generated from:  MR::IntersectionPrecomputes<double>

stores useful precomputed values for presented direction vector
\\details allows to avoid repeatable computations during intersection finding

Constructor & Destructor Documentation

◆ __init__() [1/3]

None meshlib.mrmeshpy.IntersectionPrecomputes_double.__init__ ( self)

◆ __init__() [2/3]

None meshlib.mrmeshpy.IntersectionPrecomputes_double.__init__ ( self,
Vector3d dir )

◆ __init__() [3/3]

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

Member Function Documentation

◆ invDir() [1/2]

Vector3d meshlib.mrmeshpy.IntersectionPrecomputes_double.invDir ( self)
{1 / dir}

◆ invDir() [2/2]

None meshlib.mrmeshpy.IntersectionPrecomputes_double.invDir ( self,
Vector3d arg1 )

◆ maxDimIdxZ() [1/2]

int meshlib.mrmeshpy.IntersectionPrecomputes_double.maxDimIdxZ ( self)
[0]max, [1]next, [2]next-next
f.e. {1,2,-3} => {2,1,0}

◆ maxDimIdxZ() [2/2]

None meshlib.mrmeshpy.IntersectionPrecomputes_double.maxDimIdxZ ( self,
int arg1 )

◆ sign() [1/2]

Vector3i meshlib.mrmeshpy.IntersectionPrecomputes_double.sign ( self)
stores signs of direction vector;

◆ sign() [2/2]

None meshlib.mrmeshpy.IntersectionPrecomputes_double.sign ( self,
Vector3i arg1 )

◆ Sx() [1/2]

float meshlib.mrmeshpy.IntersectionPrecomputes_double.Sx ( self)
precomputed factors

◆ Sx() [2/2]

None meshlib.mrmeshpy.IntersectionPrecomputes_double.Sx ( self,
float arg1 )

◆ Sy() [1/2]

float meshlib.mrmeshpy.IntersectionPrecomputes_double.Sy ( self)
precomputed factors

◆ Sy() [2/2]

None meshlib.mrmeshpy.IntersectionPrecomputes_double.Sy ( self,
float arg1 )

◆ Sz() [1/2]

float meshlib.mrmeshpy.IntersectionPrecomputes_double.Sz ( self)
precomputed factors

◆ Sz() [2/2]

None meshlib.mrmeshpy.IntersectionPrecomputes_double.Sz ( self,
float arg1 )

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