MeshLib Rust Docs
Loading...
Searching...
No Matches
meshlib::IntersectionPrecomputes_float Struct Reference
Inheritance diagram for meshlib::IntersectionPrecomputes_float:

Public Member Functions

auto assign_from_another (_other:&meshlib::IntersectionPrecomputes_float) -> &mut meshlib::IntersectionPrecomputes_float
auto max_dim_idx_z () const -> &core::ffi::c_int
auto max_dim_idx_z_mut () -> &mut core::ffi::c_int
void set_max_dim_idx_z (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 idx_y () const -> &core::ffi::c_int
auto idx_y_mut () -> &mut core::ffi::c_int
void set_idx_y (value:core::ffi::c_int)
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)
auto sz () const -> &f32
auto sz_mut () -> &mut f32
void set_sz (value:f32)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::IntersectionPrecomputes_float >
static auto construct_from_another (_other:&meshlib::IntersectionPrecomputes_float) -> meshlib::Owned< meshlib::IntersectionPrecomputes_float >
static auto construct (dir:&meshlib::Vector3f) -> meshlib::Owned< meshlib::IntersectionPrecomputes_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

Detailed Description

stores useful precomputed values for presented direction vector

allows to avoid repeatable computations during intersection finding Generated from class MR::IntersectionPrecomputes<float>.

Generated from class MR::IntersectionPrecomputes<float>. Heap-allocated instances are held in Owned<IntersectionPrecomputes_float>.

Member Function Documentation

◆ assign_from_another()

auto meshlib::IntersectionPrecomputes_float::assign_from_another ( _other:&meshlib::IntersectionPrecomputes_float ) -> &mut meshlib::IntersectionPrecomputes_float

Generated from method MR::IntersectionPrecomputes<float>::operator=.

Calls MR_IntersectionPrecomputes_float_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.

◆ construct()

auto meshlib::IntersectionPrecomputes_float::construct ( dir:&meshlib::Vector3f ) -> meshlib::Owned< meshlib::IntersectionPrecomputes_float >
static

Generated from constructor MR::IntersectionPrecomputes<float>::IntersectionPrecomputes.

Calls MR_IntersectionPrecomputes_float_Construct(). The reference to the parameter dir might be preserved in the constructed object.

◆ construct_from_another()

auto meshlib::IntersectionPrecomputes_float::construct_from_another ( _other:&meshlib::IntersectionPrecomputes_float ) -> meshlib::Owned< meshlib::IntersectionPrecomputes_float >
static

Generated from constructor MR::IntersectionPrecomputes<float>::IntersectionPrecomputes.

Calls MR_IntersectionPrecomputes_float_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

◆ idx_x()

auto meshlib::IntersectionPrecomputes_float::idx_x ( ) const -> &core::ffi::c_int

Returns a pointer to a member variable of class MR::IntersectionPrecomputes<float> named idxX.

Calls MR_IntersectionPrecomputes_float_Get_idxX(). The reference to this object might be preserved as the return value.

◆ idx_x_mut()

auto meshlib::IntersectionPrecomputes_float::idx_x_mut ( ) -> &mut core::ffi::c_int

Returns a mutable pointer to a member variable of class MR::IntersectionPrecomputes<float> named idxX.

Calls MR_IntersectionPrecomputes_float_GetMutable_idxX(). The reference to this object might be preserved as the return value.

◆ idx_y()

auto meshlib::IntersectionPrecomputes_float::idx_y ( ) const -> &core::ffi::c_int

Returns a pointer to a member variable of class MR::IntersectionPrecomputes<float> named idxY.

Calls MR_IntersectionPrecomputes_float_Get_idxY(). The reference to this object might be preserved as the return value.

◆ idx_y_mut()

auto meshlib::IntersectionPrecomputes_float::idx_y_mut ( ) -> &mut core::ffi::c_int

Returns a mutable pointer to a member variable of class MR::IntersectionPrecomputes<float> named idxY.

Calls MR_IntersectionPrecomputes_float_GetMutable_idxY(). The reference to this object might be preserved as the return value.

◆ max_dim_idx_z()

auto meshlib::IntersectionPrecomputes_float::max_dim_idx_z ( ) const -> &core::ffi::c_int

[0]max, [1]next, [2]next-next f.e. {1,2,-3} => {2,1,0} Returns a pointer to a member variable of class MR::IntersectionPrecomputes<float> named maxDimIdxZ.

Calls MR_IntersectionPrecomputes_float_Get_maxDimIdxZ(). The reference to this object might be preserved as the return value.

◆ max_dim_idx_z_mut()

auto meshlib::IntersectionPrecomputes_float::max_dim_idx_z_mut ( ) -> &mut core::ffi::c_int

[0]max, [1]next, [2]next-next f.e. {1,2,-3} => {2,1,0} Returns a mutable pointer to a member variable of class MR::IntersectionPrecomputes<float> named maxDimIdxZ.

Calls MR_IntersectionPrecomputes_float_GetMutable_maxDimIdxZ(). The reference to this object might be preserved as the return value.

◆ new()

auto meshlib::IntersectionPrecomputes_float::new ( ) -> meshlib::Owned< meshlib::IntersectionPrecomputes_float >
static

Constructs an empty (default-constructed) instance.

Calls MR_IntersectionPrecomputes_float_DefaultConstruct().

◆ set_idx_x()

void meshlib::IntersectionPrecomputes_float::set_idx_x ( value:core::ffi::c_int )

Modifies a member variable of class MR::IntersectionPrecomputes<float> named idxX.

Calls MR_IntersectionPrecomputes_float_Set_idxX().

◆ set_idx_y()

void meshlib::IntersectionPrecomputes_float::set_idx_y ( value:core::ffi::c_int )

Modifies a member variable of class MR::IntersectionPrecomputes<float> named idxY.

Calls MR_IntersectionPrecomputes_float_Set_idxY().

◆ set_max_dim_idx_z()

void meshlib::IntersectionPrecomputes_float::set_max_dim_idx_z ( value:core::ffi::c_int )

[0]max, [1]next, [2]next-next f.e. {1,2,-3} => {2,1,0} Modifies a member variable of class MR::IntersectionPrecomputes<float> named maxDimIdxZ.

Calls MR_IntersectionPrecomputes_float_Set_maxDimIdxZ().

◆ set_sx()

void meshlib::IntersectionPrecomputes_float::set_sx ( value:f32 )

precomputed factors Modifies a member variable of class MR::IntersectionPrecomputes<float> named Sx.

Calls MR_IntersectionPrecomputes_float_Set_Sx().

◆ set_sy()

void meshlib::IntersectionPrecomputes_float::set_sy ( value:f32 )

precomputed factors Modifies a member variable of class MR::IntersectionPrecomputes<float> named Sy.

Calls MR_IntersectionPrecomputes_float_Set_Sy().

◆ set_sz()

void meshlib::IntersectionPrecomputes_float::set_sz ( value:f32 )

precomputed factors Modifies a member variable of class MR::IntersectionPrecomputes<float> named Sz.

Calls MR_IntersectionPrecomputes_float_Set_Sz().

◆ sx()

auto meshlib::IntersectionPrecomputes_float::sx ( ) const -> &f32

precomputed factors Returns a pointer to a member variable of class MR::IntersectionPrecomputes<float> named Sx.

Calls MR_IntersectionPrecomputes_float_Get_Sx(). The reference to this object might be preserved as the return value.

◆ sx_mut()

auto meshlib::IntersectionPrecomputes_float::sx_mut ( ) -> &mut f32

precomputed factors Returns a mutable pointer to a member variable of class MR::IntersectionPrecomputes<float> named Sx.

Calls MR_IntersectionPrecomputes_float_GetMutable_Sx(). The reference to this object might be preserved as the return value.

◆ sy()

auto meshlib::IntersectionPrecomputes_float::sy ( ) const -> &f32

precomputed factors Returns a pointer to a member variable of class MR::IntersectionPrecomputes<float> named Sy.

Calls MR_IntersectionPrecomputes_float_Get_Sy(). The reference to this object might be preserved as the return value.

◆ sy_mut()

auto meshlib::IntersectionPrecomputes_float::sy_mut ( ) -> &mut f32

precomputed factors Returns a mutable pointer to a member variable of class MR::IntersectionPrecomputes<float> named Sy.

Calls MR_IntersectionPrecomputes_float_GetMutable_Sy(). The reference to this object might be preserved as the return value.

◆ sz()

auto meshlib::IntersectionPrecomputes_float::sz ( ) const -> &f32

precomputed factors Returns a pointer to a member variable of class MR::IntersectionPrecomputes<float> named Sz.

Calls MR_IntersectionPrecomputes_float_Get_Sz(). The reference to this object might be preserved as the return value.

◆ sz_mut()

auto meshlib::IntersectionPrecomputes_float::sz_mut ( ) -> &mut f32

precomputed factors Returns a mutable pointer to a member variable of class MR::IntersectionPrecomputes<float> named Sz.

Calls MR_IntersectionPrecomputes_float_GetMutable_Sz(). The reference to this object might be preserved as the return value.


The documentation for this struct was generated from the following file: