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

Public Member Functions

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

Static Public Member Functions

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

Static Protected Attributes

typing _offsetof_Sx = 48
 
typing _offsetof_Sy = 56
 
typing _offsetof_Sz = 64
 
typing _offsetof_idxX = 28
 
typing _offsetof_idxY = 32
 
typing _offsetof_invDir = 0
 
typing _offsetof_maxDimIdxZ = 24
 
typing _offsetof_sign = 36
 

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

◆ __init__() [2/3]

None mrmeshpy.IntersectionPrecomputes_double.__init__ ( self)

◆ __init__() [3/3]

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

Member Function Documentation

◆ invDir() [1/2]

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

◆ invDir() [2/2]

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

◆ maxDimIdxZ() [1/2]

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

◆ maxDimIdxZ() [2/2]

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

◆ operator() [1/2]

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

◆ operator() [2/2]

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

◆ sign() [1/2]

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

◆ sign() [2/2]

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

◆ Sx() [1/2]

float mrmeshpy.IntersectionPrecomputes_double.Sx ( self)
precomputed factors

◆ Sx() [2/2]

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

◆ Sy() [1/2]

float mrmeshpy.IntersectionPrecomputes_double.Sy ( self)
precomputed factors

◆ Sy() [2/2]

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

◆ Sz() [1/2]

float mrmeshpy.IntersectionPrecomputes_double.Sz ( self)
precomputed factors

◆ Sz() [2/2]

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

Member Data Documentation

◆ _offsetof_idxX

typing mrmeshpy.IntersectionPrecomputes_double._offsetof_idxX = 28
staticprotected

◆ _offsetof_idxY

typing mrmeshpy.IntersectionPrecomputes_double._offsetof_idxY = 32
staticprotected

◆ _offsetof_invDir

typing mrmeshpy.IntersectionPrecomputes_double._offsetof_invDir = 0
staticprotected

◆ _offsetof_maxDimIdxZ

typing mrmeshpy.IntersectionPrecomputes_double._offsetof_maxDimIdxZ = 24
staticprotected

◆ _offsetof_sign

typing mrmeshpy.IntersectionPrecomputes_double._offsetof_sign = 36
staticprotected

◆ _offsetof_Sx

typing mrmeshpy.IntersectionPrecomputes_double._offsetof_Sx = 48
staticprotected

◆ _offsetof_Sy

typing mrmeshpy.IntersectionPrecomputes_double._offsetof_Sy = 56
staticprotected

◆ _offsetof_Sz

typing mrmeshpy.IntersectionPrecomputes_double._offsetof_Sz = 64
staticprotected

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