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 |
Generated from: MR::IntersectionPrecomputes2<float> stores useful precomputed values for presented direction vector \\details allows to avoid repeatable computations during intersection finding
| 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
| int mrmeshpy.ConstIntersectionPrecomputes2_float.idxX | ( | self | ) |
| ConstVector2f mrmeshpy.ConstIntersectionPrecomputes2_float.invDir | ( | self | ) |
{1 / dir}
Reimplemented in mrmeshpy.IntersectionPrecomputes2_float, and mrmeshpy.IntersectionPrecomputes2_float.
| 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.
| ConstVector2i mrmeshpy.ConstIntersectionPrecomputes2_float.sign | ( | self | ) |
stores signs of direction vector;
Reimplemented in mrmeshpy.IntersectionPrecomputes2_float, and mrmeshpy.IntersectionPrecomputes2_float.
| float mrmeshpy.ConstIntersectionPrecomputes2_float.Sx | ( | self | ) |
precomputed factors
Reimplemented in mrmeshpy.IntersectionPrecomputes2_float, and mrmeshpy.IntersectionPrecomputes2_float.
| float mrmeshpy.ConstIntersectionPrecomputes2_float.Sy | ( | self | ) |
precomputed factors
Reimplemented in mrmeshpy.IntersectionPrecomputes2_float, and mrmeshpy.IntersectionPrecomputes2_float.
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |