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

Public Member Functions

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

Detailed Description

Generated from:  MR::IntersectionPrecomputes2<float>

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_float.__init__ ( self)

◆ __init__() [2/3]

None meshlib.mrmeshpy.IntersectionPrecomputes2_float.__init__ ( self,
Vector2f dir )

◆ __init__() [3/3]

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

Member Function Documentation

◆ invDir() [1/2]

Vector2f meshlib.mrmeshpy.IntersectionPrecomputes2_float.invDir ( self)
{1 / dir}

◆ invDir() [2/2]

None meshlib.mrmeshpy.IntersectionPrecomputes2_float.invDir ( self,
Vector2f arg1 )

◆ maxDimIdxY() [1/2]

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

◆ maxDimIdxY() [2/2]

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

◆ sign() [1/2]

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

◆ sign() [2/2]

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

◆ Sx() [1/2]

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

◆ Sx() [2/2]

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

◆ Sy() [1/2]

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

◆ Sy() [2/2]

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

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