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

Public Member Functions

None __init__ (self)
 
None __init__ (self, Vector2d dir)
 
None __init__ (self, IntersectionPrecomputes2_double arg0)
 
float Sx (self)
 
None Sx (self, float arg1)
 
float Sy (self)
 
None Sy (self, float arg1)
 
Vector2d invDir (self)
 
None invDir (self, Vector2d arg1)
 
int maxDimIdxY (self)
 
None maxDimIdxY (self, int arg1)
 
Vector2i sign (self)
 
None sign (self, Vector2i arg1)
 

Detailed Description

Generated from:  MR::IntersectionPrecomputes2<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.IntersectionPrecomputes2_double.__init__ ( self)

◆ __init__() [2/3]

None meshlib.mrmeshpy.IntersectionPrecomputes2_double.__init__ ( self,
Vector2d dir )

◆ __init__() [3/3]

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

Member Function Documentation

◆ invDir() [1/2]

Vector2d meshlib.mrmeshpy.IntersectionPrecomputes2_double.invDir ( self)
{1 / dir}

◆ invDir() [2/2]

None meshlib.mrmeshpy.IntersectionPrecomputes2_double.invDir ( self,
Vector2d arg1 )

◆ maxDimIdxY() [1/2]

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

◆ maxDimIdxY() [2/2]

None meshlib.mrmeshpy.IntersectionPrecomputes2_double.maxDimIdxY ( self,
int arg1 )

◆ sign() [1/2]

Vector2i meshlib.mrmeshpy.IntersectionPrecomputes2_double.sign ( self)
stores signs of direction vector;

◆ sign() [2/2]

None meshlib.mrmeshpy.IntersectionPrecomputes2_double.sign ( self,
Vector2i arg1 )

◆ Sx() [1/2]

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

◆ Sx() [2/2]

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

◆ Sy() [1/2]

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

◆ Sy() [2/2]

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

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