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