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

Public Member Functions

None __init__ (self)
 
None __init__ (self, Vector2f dir)
 
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)
 

Static Public Member Functions

None __init__ (*args, **kwargs)
 
IntersectionPrecomputes2_float operator (*args, **kwargs)
 
IntersectionPrecomputes2_float operator (*args, **kwargs)
 

Static Protected Attributes

typing _offsetof_Sx = 24
 
typing _offsetof_Sy = 28
 
typing _offsetof_idxX = 12
 
typing _offsetof_invDir = 0
 
typing _offsetof_maxDimIdxY = 8
 
typing _offsetof_sign = 16
 

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 mrmeshpy.IntersectionPrecomputes2_float.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/3]

None mrmeshpy.IntersectionPrecomputes2_float.__init__ ( self)

◆ __init__() [3/3]

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

Member Function Documentation

◆ invDir() [1/2]

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

◆ invDir() [2/2]

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

◆ maxDimIdxY() [1/2]

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

◆ maxDimIdxY() [2/2]

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

◆ operator() [1/2]

IntersectionPrecomputes2_float mrmeshpy.IntersectionPrecomputes2_float.operator ( * args,
** kwargs )
static

◆ operator() [2/2]

IntersectionPrecomputes2_float mrmeshpy.IntersectionPrecomputes2_float.operator ( * args,
** kwargs )
static

◆ sign() [1/2]

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

◆ sign() [2/2]

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

◆ Sx() [1/2]

float mrmeshpy.IntersectionPrecomputes2_float.Sx ( self)
precomputed factors

◆ Sx() [2/2]

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

◆ Sy() [1/2]

float mrmeshpy.IntersectionPrecomputes2_float.Sy ( self)
precomputed factors

◆ Sy() [2/2]

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

Member Data Documentation

◆ _offsetof_idxX

typing mrmeshpy.IntersectionPrecomputes2_float._offsetof_idxX = 12
staticprotected

◆ _offsetof_invDir

typing mrmeshpy.IntersectionPrecomputes2_float._offsetof_invDir = 0
staticprotected

◆ _offsetof_maxDimIdxY

typing mrmeshpy.IntersectionPrecomputes2_float._offsetof_maxDimIdxY = 8
staticprotected

◆ _offsetof_sign

typing mrmeshpy.IntersectionPrecomputes2_float._offsetof_sign = 16
staticprotected

◆ _offsetof_Sx

typing mrmeshpy.IntersectionPrecomputes2_float._offsetof_Sx = 24
staticprotected

◆ _offsetof_Sy

typing mrmeshpy.IntersectionPrecomputes2_float._offsetof_Sy = 28
staticprotected

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