Public Member Functions | |
None | __init__ (self) |
None | __init__ (self, Vector2f dir) |
float | Sx (self) |
None | Sx (self, float arg1) |
float | Sy (self) |
None | Sy (self, float arg1) |
Vector2f | invDir (self) |
None | invDir (self, Vector2f arg1) |
int | maxDimIdxY (self) |
None | maxDimIdxY (self, int arg1) |
Vector2i | sign (self) |
None | sign (self, Vector2i arg1) |
Static Public Member Functions | |
None | __init__ (*args, **kwargs) |
IntersectionPrecomputes2_float | operator (*args, **kwargs) |
IntersectionPrecomputes2_float | operator (*args, **kwargs) |
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
|
static |
None mrmeshpy.IntersectionPrecomputes2_float.__init__ | ( | self | ) |
None mrmeshpy.IntersectionPrecomputes2_float.__init__ | ( | self, | |
Vector2f | dir ) |
Vector2f mrmeshpy.IntersectionPrecomputes2_float.invDir | ( | self | ) |
{1 / dir}
None mrmeshpy.IntersectionPrecomputes2_float.invDir | ( | self, | |
Vector2f | arg1 ) |
int mrmeshpy.IntersectionPrecomputes2_float.maxDimIdxY | ( | self | ) |
[0]max, [1]next, [2]next-next f.e. {1,2} => {1,0}
None mrmeshpy.IntersectionPrecomputes2_float.maxDimIdxY | ( | self, | |
int | arg1 ) |
|
static |
|
static |
Vector2i mrmeshpy.IntersectionPrecomputes2_float.sign | ( | self | ) |
stores signs of direction vector;
None mrmeshpy.IntersectionPrecomputes2_float.sign | ( | self, | |
Vector2i | arg1 ) |
float mrmeshpy.IntersectionPrecomputes2_float.Sx | ( | self | ) |
precomputed factors
None mrmeshpy.IntersectionPrecomputes2_float.Sx | ( | self, | |
float | arg1 ) |
float mrmeshpy.IntersectionPrecomputes2_float.Sy | ( | self | ) |
precomputed factors
None mrmeshpy.IntersectionPrecomputes2_float.Sy | ( | self, | |
float | arg1 ) |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |