MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.IntersectionPrecomputes2_float Class Reference
Inheritance diagram for mrmeshpy.IntersectionPrecomputes2_float:

Public Member Functions

None __init__ (self)
None __init__ (self, ConstVector2f dir)
None __init__ (self, ConstIntersectionPrecomputes2_float arg0)
IntersectionPrecomputes2_float assign (self, ConstIntersectionPrecomputes2_float other)
float Sx (self)
None Sx (self, float arg1)
float Sy (self)
None Sy (self, float arg1)
Vector2f invDir (self)
None invDir (self, ConstVector2f arg1)
int maxDimIdxY (self)
None maxDimIdxY (self, int arg1)
Vector2i sign (self)
None sign (self, ConstVector2i arg1)
Public Member Functions inherited from mrmeshpy.ConstIntersectionPrecomputes2_float
 __init__ (self, *args, **kwargs)
int idxX (self)

Static Public Member Functions

None __init__ (*args, **kwargs)

Additional Inherited Members

Static Protected Attributes inherited from mrmeshpy.ConstIntersectionPrecomputes2_float
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/4]

None mrmeshpy.IntersectionPrecomputes2_float.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/4]

None mrmeshpy.IntersectionPrecomputes2_float.__init__ ( self)

◆ __init__() [3/4]

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

◆ __init__() [4/4]

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

Member Function Documentation

◆ assign()

IntersectionPrecomputes2_float mrmeshpy.IntersectionPrecomputes2_float.assign ( self,
ConstIntersectionPrecomputes2_float other )

◆ invDir() [1/2]

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

Reimplemented from mrmeshpy.ConstIntersectionPrecomputes2_float.

◆ invDir() [2/2]

None mrmeshpy.IntersectionPrecomputes2_float.invDir ( self,
ConstVector2f arg1 )
{1 / dir}

Reimplemented from mrmeshpy.ConstIntersectionPrecomputes2_float.

◆ maxDimIdxY() [1/2]

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

Reimplemented from mrmeshpy.ConstIntersectionPrecomputes2_float.

◆ maxDimIdxY() [2/2]

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

Reimplemented from mrmeshpy.ConstIntersectionPrecomputes2_float.

◆ sign() [1/2]

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

Reimplemented from mrmeshpy.ConstIntersectionPrecomputes2_float.

◆ sign() [2/2]

None mrmeshpy.IntersectionPrecomputes2_float.sign ( self,
ConstVector2i arg1 )
stores signs of direction vector;

Reimplemented from mrmeshpy.ConstIntersectionPrecomputes2_float.

◆ Sx() [1/2]

float mrmeshpy.IntersectionPrecomputes2_float.Sx ( self)
precomputed factors

Reimplemented from mrmeshpy.ConstIntersectionPrecomputes2_float.

◆ Sx() [2/2]

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

Reimplemented from mrmeshpy.ConstIntersectionPrecomputes2_float.

◆ Sy() [1/2]

float mrmeshpy.IntersectionPrecomputes2_float.Sy ( self)
precomputed factors

Reimplemented from mrmeshpy.ConstIntersectionPrecomputes2_float.

◆ Sy() [2/2]

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

Reimplemented from mrmeshpy.ConstIntersectionPrecomputes2_float.


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