Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::IntersectionPrecomputes2_float) -> &mut meshlib::IntersectionPrecomputes2_float |
| auto | inv_dir () const -> &meshlib::Vector2f |
| auto | inv_dir_mut () -> &mut meshlib::Vector2f |
| void | set_inv_dir (value:meshlib::Vector2f) |
| auto | max_dim_idx_y () const -> &core::ffi::c_int |
| auto | max_dim_idx_y_mut () -> &mut core::ffi::c_int |
| void | set_max_dim_idx_y (value:core::ffi::c_int) |
| auto | idx_x () const -> &core::ffi::c_int |
| auto | idx_x_mut () -> &mut core::ffi::c_int |
| void | set_idx_x (value:core::ffi::c_int) |
| auto | sign () const -> &meshlib::Vector2i |
| auto | sign_mut () -> &mut meshlib::Vector2i |
| void | set_sign (value:meshlib::Vector2i) |
| auto | sx () const -> &f32 |
| auto | sx_mut () -> &mut f32 |
| void | set_sx (value:f32) |
| auto | sy () const -> &f32 |
| auto | sy_mut () -> &mut f32 |
| void | set_sy (value:f32) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::IntersectionPrecomputes2_float > |
| static auto | construct_from_another (_other:&meshlib::IntersectionPrecomputes2_float) -> meshlib::Owned< meshlib::IntersectionPrecomputes2_float > |
| static auto | construct (dir:&meshlib::Vector2f) -> meshlib::Owned< meshlib::IntersectionPrecomputes2_float > |
| Static Public Member Functions inherited from meshlib::CppClass | |
| static void | destroy (ptr:*mut Self) |
| Static Public Member Functions inherited from meshlib::CppCopy | |
| static auto | copy (ptr:*const Self) -> *mut Self |
stores useful precomputed values for presented direction vector
allows to avoid repeatable computations during intersection finding Generated from class MR::IntersectionPrecomputes2<float>.
Generated from class MR::IntersectionPrecomputes2<float>. Heap-allocated instances are held in Owned<IntersectionPrecomputes2_float>.
| auto meshlib::IntersectionPrecomputes2_float::assign_from_another | ( | _other:&meshlib::IntersectionPrecomputes2_float | ) | -> &mut meshlib::IntersectionPrecomputes2_float |
Generated from method MR::IntersectionPrecomputes2<float>::operator=.
Calls MR_IntersectionPrecomputes2_float_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Generated from constructor MR::IntersectionPrecomputes2<float>::IntersectionPrecomputes2.
Calls MR_IntersectionPrecomputes2_float_Construct(). The reference to the parameter dir might be preserved in the constructed object.
|
static |
Generated from constructor MR::IntersectionPrecomputes2<float>::IntersectionPrecomputes2.
Calls MR_IntersectionPrecomputes2_float_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::IntersectionPrecomputes2_float::idx_x | ( | ) | const -> &core::ffi::c_int |
Returns a pointer to a member variable of class MR::IntersectionPrecomputes2<float> named idxX.
Calls MR_IntersectionPrecomputes2_float_Get_idxX(). The reference to this object might be preserved as the return value.
| auto meshlib::IntersectionPrecomputes2_float::idx_x_mut | ( | ) | -> &mut core::ffi::c_int |
Returns a mutable pointer to a member variable of class MR::IntersectionPrecomputes2<float> named idxX.
Calls MR_IntersectionPrecomputes2_float_GetMutable_idxX(). The reference to this object might be preserved as the return value.
| auto meshlib::IntersectionPrecomputes2_float::inv_dir | ( | ) | const -> &meshlib::Vector2f |
{1 / dir} Returns a pointer to a member variable of class MR::IntersectionPrecomputes2<float> named invDir.
Calls MR_IntersectionPrecomputes2_float_Get_invDir(). The reference to this object might be preserved as the return value.
| auto meshlib::IntersectionPrecomputes2_float::inv_dir_mut | ( | ) | -> &mut meshlib::Vector2f |
{1 / dir} Returns a mutable pointer to a member variable of class MR::IntersectionPrecomputes2<float> named invDir.
Calls MR_IntersectionPrecomputes2_float_GetMutable_invDir(). The reference to this object might be preserved as the return value.
| auto meshlib::IntersectionPrecomputes2_float::max_dim_idx_y | ( | ) | const -> &core::ffi::c_int |
[0]max, [1]next, [2]next-next f.e. {1,2} => {1,0} Returns a pointer to a member variable of class MR::IntersectionPrecomputes2<float> named maxDimIdxY.
Calls MR_IntersectionPrecomputes2_float_Get_maxDimIdxY(). The reference to this object might be preserved as the return value.
| auto meshlib::IntersectionPrecomputes2_float::max_dim_idx_y_mut | ( | ) | -> &mut core::ffi::c_int |
[0]max, [1]next, [2]next-next f.e. {1,2} => {1,0} Returns a mutable pointer to a member variable of class MR::IntersectionPrecomputes2<float> named maxDimIdxY.
Calls MR_IntersectionPrecomputes2_float_GetMutable_maxDimIdxY(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_IntersectionPrecomputes2_float_DefaultConstruct().
| void meshlib::IntersectionPrecomputes2_float::set_idx_x | ( | value:core::ffi::c_int | ) |
Modifies a member variable of class MR::IntersectionPrecomputes2<float> named idxX.
Calls MR_IntersectionPrecomputes2_float_Set_idxX().
| void meshlib::IntersectionPrecomputes2_float::set_inv_dir | ( | value:meshlib::Vector2f | ) |
{1 / dir} Modifies a member variable of class MR::IntersectionPrecomputes2<float> named invDir.
Calls MR_IntersectionPrecomputes2_float_Set_invDir(). The reference to the parameter value might be preserved in this object in element invDir.
| void meshlib::IntersectionPrecomputes2_float::set_max_dim_idx_y | ( | value:core::ffi::c_int | ) |
[0]max, [1]next, [2]next-next f.e. {1,2} => {1,0} Modifies a member variable of class MR::IntersectionPrecomputes2<float> named maxDimIdxY.
Calls MR_IntersectionPrecomputes2_float_Set_maxDimIdxY().
| void meshlib::IntersectionPrecomputes2_float::set_sign | ( | value:meshlib::Vector2i | ) |
stores signs of direction vector; Modifies a member variable of class MR::IntersectionPrecomputes2<float> named sign.
Calls MR_IntersectionPrecomputes2_float_Set_sign(). The reference to the parameter value might be preserved in this object in element sign.
| void meshlib::IntersectionPrecomputes2_float::set_sx | ( | value:f32 | ) |
precomputed factors Modifies a member variable of class MR::IntersectionPrecomputes2<float> named Sx.
Calls MR_IntersectionPrecomputes2_float_Set_Sx().
| void meshlib::IntersectionPrecomputes2_float::set_sy | ( | value:f32 | ) |
precomputed factors Modifies a member variable of class MR::IntersectionPrecomputes2<float> named Sy.
Calls MR_IntersectionPrecomputes2_float_Set_Sy().
| auto meshlib::IntersectionPrecomputes2_float::sign | ( | ) | const -> &meshlib::Vector2i |
stores signs of direction vector; Returns a pointer to a member variable of class MR::IntersectionPrecomputes2<float> named sign.
Calls MR_IntersectionPrecomputes2_float_Get_sign(). The reference to this object might be preserved as the return value.
| auto meshlib::IntersectionPrecomputes2_float::sign_mut | ( | ) | -> &mut meshlib::Vector2i |
stores signs of direction vector; Returns a mutable pointer to a member variable of class MR::IntersectionPrecomputes2<float> named sign.
Calls MR_IntersectionPrecomputes2_float_GetMutable_sign(). The reference to this object might be preserved as the return value.
| auto meshlib::IntersectionPrecomputes2_float::sx | ( | ) | const -> &f32 |
precomputed factors Returns a pointer to a member variable of class MR::IntersectionPrecomputes2<float> named Sx.
Calls MR_IntersectionPrecomputes2_float_Get_Sx(). The reference to this object might be preserved as the return value.
| auto meshlib::IntersectionPrecomputes2_float::sx_mut | ( | ) | -> &mut f32 |
precomputed factors Returns a mutable pointer to a member variable of class MR::IntersectionPrecomputes2<float> named Sx.
Calls MR_IntersectionPrecomputes2_float_GetMutable_Sx(). The reference to this object might be preserved as the return value.
| auto meshlib::IntersectionPrecomputes2_float::sy | ( | ) | const -> &f32 |
precomputed factors Returns a pointer to a member variable of class MR::IntersectionPrecomputes2<float> named Sy.
Calls MR_IntersectionPrecomputes2_float_Get_Sy(). The reference to this object might be preserved as the return value.
| auto meshlib::IntersectionPrecomputes2_float::sy_mut | ( | ) | -> &mut f32 |
precomputed factors Returns a mutable pointer to a member variable of class MR::IntersectionPrecomputes2<float> named Sy.
Calls MR_IntersectionPrecomputes2_float_GetMutable_Sy(). The reference to this object might be preserved as the return value.