Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::IntersectionPrecomputes2_double) -> &mut meshlib::IntersectionPrecomputes2_double |
| auto | inv_dir () const -> &meshlib::Vector2d |
| auto | inv_dir_mut () -> &mut meshlib::Vector2d |
| void | set_inv_dir (value:meshlib::Vector2d) |
| 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 -> &f64 |
| auto | sx_mut () -> &mut f64 |
| void | set_sx (value:f64) |
| auto | sy () const -> &f64 |
| auto | sy_mut () -> &mut f64 |
| void | set_sy (value:f64) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::IntersectionPrecomputes2_double > |
| static auto | construct_from_another (_other:&meshlib::IntersectionPrecomputes2_double) -> meshlib::Owned< meshlib::IntersectionPrecomputes2_double > |
| static auto | construct (dir:&meshlib::Vector2d) -> meshlib::Owned< meshlib::IntersectionPrecomputes2_double > |
| 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<double>.
Generated from class MR::IntersectionPrecomputes2<double>. Heap-allocated instances are held in Owned<IntersectionPrecomputes2_double>.
| auto meshlib::IntersectionPrecomputes2_double::assign_from_another | ( | _other:&meshlib::IntersectionPrecomputes2_double | ) | -> &mut meshlib::IntersectionPrecomputes2_double |
Generated from method MR::IntersectionPrecomputes2<double>::operator=.
Calls MR_IntersectionPrecomputes2_double_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<double>::IntersectionPrecomputes2.
Calls MR_IntersectionPrecomputes2_double_Construct(). The reference to the parameter dir might be preserved in the constructed object.
|
static |
Generated from constructor MR::IntersectionPrecomputes2<double>::IntersectionPrecomputes2.
Calls MR_IntersectionPrecomputes2_double_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::IntersectionPrecomputes2_double::idx_x | ( | ) | const -> &core::ffi::c_int |
Returns a pointer to a member variable of class MR::IntersectionPrecomputes2<double> named idxX.
Calls MR_IntersectionPrecomputes2_double_Get_idxX(). The reference to this object might be preserved as the return value.
| auto meshlib::IntersectionPrecomputes2_double::idx_x_mut | ( | ) | -> &mut core::ffi::c_int |
Returns a mutable pointer to a member variable of class MR::IntersectionPrecomputes2<double> named idxX.
Calls MR_IntersectionPrecomputes2_double_GetMutable_idxX(). The reference to this object might be preserved as the return value.
| auto meshlib::IntersectionPrecomputes2_double::inv_dir | ( | ) | const -> &meshlib::Vector2d |
{1 / dir} Returns a pointer to a member variable of class MR::IntersectionPrecomputes2<double> named invDir.
Calls MR_IntersectionPrecomputes2_double_Get_invDir(). The reference to this object might be preserved as the return value.
| auto meshlib::IntersectionPrecomputes2_double::inv_dir_mut | ( | ) | -> &mut meshlib::Vector2d |
{1 / dir} Returns a mutable pointer to a member variable of class MR::IntersectionPrecomputes2<double> named invDir.
Calls MR_IntersectionPrecomputes2_double_GetMutable_invDir(). The reference to this object might be preserved as the return value.
| auto meshlib::IntersectionPrecomputes2_double::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<double> named maxDimIdxY.
Calls MR_IntersectionPrecomputes2_double_Get_maxDimIdxY(). The reference to this object might be preserved as the return value.
| auto meshlib::IntersectionPrecomputes2_double::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<double> named maxDimIdxY.
Calls MR_IntersectionPrecomputes2_double_GetMutable_maxDimIdxY(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_IntersectionPrecomputes2_double_DefaultConstruct().
| void meshlib::IntersectionPrecomputes2_double::set_idx_x | ( | value:core::ffi::c_int | ) |
Modifies a member variable of class MR::IntersectionPrecomputes2<double> named idxX.
Calls MR_IntersectionPrecomputes2_double_Set_idxX().
| void meshlib::IntersectionPrecomputes2_double::set_inv_dir | ( | value:meshlib::Vector2d | ) |
{1 / dir} Modifies a member variable of class MR::IntersectionPrecomputes2<double> named invDir.
Calls MR_IntersectionPrecomputes2_double_Set_invDir(). The reference to the parameter value might be preserved in this object in element invDir.
| void meshlib::IntersectionPrecomputes2_double::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<double> named maxDimIdxY.
Calls MR_IntersectionPrecomputes2_double_Set_maxDimIdxY().
| void meshlib::IntersectionPrecomputes2_double::set_sign | ( | value:meshlib::Vector2i | ) |
stores signs of direction vector; Modifies a member variable of class MR::IntersectionPrecomputes2<double> named sign.
Calls MR_IntersectionPrecomputes2_double_Set_sign(). The reference to the parameter value might be preserved in this object in element sign.
| void meshlib::IntersectionPrecomputes2_double::set_sx | ( | value:f64 | ) |
precomputed factors Modifies a member variable of class MR::IntersectionPrecomputes2<double> named Sx.
Calls MR_IntersectionPrecomputes2_double_Set_Sx().
| void meshlib::IntersectionPrecomputes2_double::set_sy | ( | value:f64 | ) |
precomputed factors Modifies a member variable of class MR::IntersectionPrecomputes2<double> named Sy.
Calls MR_IntersectionPrecomputes2_double_Set_Sy().
| auto meshlib::IntersectionPrecomputes2_double::sign | ( | ) | const -> &meshlib::Vector2i |
stores signs of direction vector; Returns a pointer to a member variable of class MR::IntersectionPrecomputes2<double> named sign.
Calls MR_IntersectionPrecomputes2_double_Get_sign(). The reference to this object might be preserved as the return value.
| auto meshlib::IntersectionPrecomputes2_double::sign_mut | ( | ) | -> &mut meshlib::Vector2i |
stores signs of direction vector; Returns a mutable pointer to a member variable of class MR::IntersectionPrecomputes2<double> named sign.
Calls MR_IntersectionPrecomputes2_double_GetMutable_sign(). The reference to this object might be preserved as the return value.
| auto meshlib::IntersectionPrecomputes2_double::sx | ( | ) | const -> &f64 |
precomputed factors Returns a pointer to a member variable of class MR::IntersectionPrecomputes2<double> named Sx.
Calls MR_IntersectionPrecomputes2_double_Get_Sx(). The reference to this object might be preserved as the return value.
| auto meshlib::IntersectionPrecomputes2_double::sx_mut | ( | ) | -> &mut f64 |
precomputed factors Returns a mutable pointer to a member variable of class MR::IntersectionPrecomputes2<double> named Sx.
Calls MR_IntersectionPrecomputes2_double_GetMutable_Sx(). The reference to this object might be preserved as the return value.
| auto meshlib::IntersectionPrecomputes2_double::sy | ( | ) | const -> &f64 |
precomputed factors Returns a pointer to a member variable of class MR::IntersectionPrecomputes2<double> named Sy.
Calls MR_IntersectionPrecomputes2_double_Get_Sy(). The reference to this object might be preserved as the return value.
| auto meshlib::IntersectionPrecomputes2_double::sy_mut | ( | ) | -> &mut f64 |
precomputed factors Returns a mutable pointer to a member variable of class MR::IntersectionPrecomputes2<double> named Sy.
Calls MR_IntersectionPrecomputes2_double_GetMutable_Sy(). The reference to this object might be preserved as the return value.