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

Public Member Functions

 __init__ (self, *args, **kwargs)
float Sx (self)
float Sy (self)
int idxX (self)
ConstVector2f invDir (self)
int maxDimIdxY (self)
ConstVector2i sign (self)

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__()

mrmeshpy.ConstIntersectionPrecomputes2_float.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

1. __init__(self: meshlib.mrmeshpy.ConstIntersectionPrecomputes2_float) -> None

2. __init__(self: meshlib.mrmeshpy.ConstIntersectionPrecomputes2_float, dir: meshlib.mrmeshpy.ConstVector2f) -> None

3. __init__(self: meshlib.mrmeshpy.ConstIntersectionPrecomputes2_float, arg0: meshlib.mrmeshpy.ConstIntersectionPrecomputes2_float) -> None

Implicit copy constructor.

4. __init__(self: meshlib.mrmeshpy.ConstIntersectionPrecomputes2_float, : meshlib.mrmeshpy.ConstIntersectionPrecomputes2_float) -> None

Member Function Documentation

◆ idxX()

int mrmeshpy.ConstIntersectionPrecomputes2_float.idxX ( self)

◆ invDir()

ConstVector2f mrmeshpy.ConstIntersectionPrecomputes2_float.invDir ( self)

◆ maxDimIdxY()

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

Reimplemented in mrmeshpy.IntersectionPrecomputes2_float, and mrmeshpy.IntersectionPrecomputes2_float.

◆ sign()

ConstVector2i mrmeshpy.ConstIntersectionPrecomputes2_float.sign ( self)
stores signs of direction vector;

Reimplemented in mrmeshpy.IntersectionPrecomputes2_float, and mrmeshpy.IntersectionPrecomputes2_float.

◆ Sx()

float mrmeshpy.ConstIntersectionPrecomputes2_float.Sx ( self)

◆ Sy()

float mrmeshpy.ConstIntersectionPrecomputes2_float.Sy ( self)

Member Data Documentation

◆ _offsetof_idxX

typing mrmeshpy.ConstIntersectionPrecomputes2_float._offsetof_idxX = 12
staticprotected

◆ _offsetof_invDir

typing mrmeshpy.ConstIntersectionPrecomputes2_float._offsetof_invDir = 0
staticprotected

◆ _offsetof_maxDimIdxY

typing mrmeshpy.ConstIntersectionPrecomputes2_float._offsetof_maxDimIdxY = 8
staticprotected

◆ _offsetof_sign

typing mrmeshpy.ConstIntersectionPrecomputes2_float._offsetof_sign = 16
staticprotected

◆ _offsetof_Sx

typing mrmeshpy.ConstIntersectionPrecomputes2_float._offsetof_Sx = 24
staticprotected

◆ _offsetof_Sy

typing mrmeshpy.ConstIntersectionPrecomputes2_float._offsetof_Sy = 28
staticprotected

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