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

Public Member Functions

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

Static Protected Attributes

typing _offsetof_Sx = 32
typing _offsetof_Sy = 40
typing _offsetof_idxX = 20
typing _offsetof_invDir = 0
typing _offsetof_maxDimIdxY = 16
typing _offsetof_sign = 24

Detailed Description

Generated from:  MR::IntersectionPrecomputes2<double>

stores useful precomputed values for presented direction vector
\\details allows to avoid repeatable computations during intersection finding

Constructor & Destructor Documentation

◆ __init__()

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

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

2. __init__(self: meshlib.mrmeshpy.ConstIntersectionPrecomputes2_double, dir: meshlib.mrmeshpy.ConstVector2d) -> None

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

Implicit copy constructor.

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

Member Function Documentation

◆ idxX()

int mrmeshpy.ConstIntersectionPrecomputes2_double.idxX ( self)

◆ invDir()

ConstVector2d mrmeshpy.ConstIntersectionPrecomputes2_double.invDir ( self)

◆ maxDimIdxY()

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

Reimplemented in mrmeshpy.IntersectionPrecomputes2_double, and mrmeshpy.IntersectionPrecomputes2_double.

◆ sign()

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

Reimplemented in mrmeshpy.IntersectionPrecomputes2_double, and mrmeshpy.IntersectionPrecomputes2_double.

◆ Sx()

float mrmeshpy.ConstIntersectionPrecomputes2_double.Sx ( self)

◆ Sy()

float mrmeshpy.ConstIntersectionPrecomputes2_double.Sy ( self)

Member Data Documentation

◆ _offsetof_idxX

typing mrmeshpy.ConstIntersectionPrecomputes2_double._offsetof_idxX = 20
staticprotected

◆ _offsetof_invDir

typing mrmeshpy.ConstIntersectionPrecomputes2_double._offsetof_invDir = 0
staticprotected

◆ _offsetof_maxDimIdxY

typing mrmeshpy.ConstIntersectionPrecomputes2_double._offsetof_maxDimIdxY = 16
staticprotected

◆ _offsetof_sign

typing mrmeshpy.ConstIntersectionPrecomputes2_double._offsetof_sign = 24
staticprotected

◆ _offsetof_Sx

typing mrmeshpy.ConstIntersectionPrecomputes2_double._offsetof_Sx = 32
staticprotected

◆ _offsetof_Sy

typing mrmeshpy.ConstIntersectionPrecomputes2_double._offsetof_Sy = 40
staticprotected

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