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

Public Member Functions

auto assign_from_another (_other:&meshlib::IntersectionPrecomputes_double) -> &mut meshlib::IntersectionPrecomputes_double
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 -> &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)
auto sz () const -> &f64
auto sz_mut () -> &mut f64
void set_sz (value:f64)

Static Public Member Functions

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

Detailed Description

stores useful precomputed values for presented direction vector

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

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ construct()

auto meshlib::IntersectionPrecomputes_double::construct ( dir:&meshlib::Vector3d ) -> meshlib::Owned< meshlib::IntersectionPrecomputes_double >
static

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

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

◆ construct_from_another()

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

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

Calls MR_IntersectionPrecomputes_double_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_double::idx_x ( ) const -> &core::ffi::c_int

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

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

◆ idx_x_mut()

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

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

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

◆ idx_y()

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

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

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

◆ idx_y_mut()

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

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

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

◆ max_dim_idx_z()

auto meshlib::IntersectionPrecomputes_double::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<double> named maxDimIdxZ.

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

◆ max_dim_idx_z_mut()

auto meshlib::IntersectionPrecomputes_double::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<double> named maxDimIdxZ.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_IntersectionPrecomputes_double_DefaultConstruct().

◆ set_idx_x()

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

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

Calls MR_IntersectionPrecomputes_double_Set_idxX().

◆ set_idx_y()

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

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

Calls MR_IntersectionPrecomputes_double_Set_idxY().

◆ set_max_dim_idx_z()

void meshlib::IntersectionPrecomputes_double::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<double> named maxDimIdxZ.

Calls MR_IntersectionPrecomputes_double_Set_maxDimIdxZ().

◆ set_sx()

void meshlib::IntersectionPrecomputes_double::set_sx ( value:f64 )

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

Calls MR_IntersectionPrecomputes_double_Set_Sx().

◆ set_sy()

void meshlib::IntersectionPrecomputes_double::set_sy ( value:f64 )

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

Calls MR_IntersectionPrecomputes_double_Set_Sy().

◆ set_sz()

void meshlib::IntersectionPrecomputes_double::set_sz ( value:f64 )

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

Calls MR_IntersectionPrecomputes_double_Set_Sz().

◆ sx()

auto meshlib::IntersectionPrecomputes_double::sx ( ) const -> &f64

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

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

◆ sx_mut()

auto meshlib::IntersectionPrecomputes_double::sx_mut ( ) -> &mut f64

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

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

◆ sy()

auto meshlib::IntersectionPrecomputes_double::sy ( ) const -> &f64

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

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

◆ sy_mut()

auto meshlib::IntersectionPrecomputes_double::sy_mut ( ) -> &mut f64

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

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

◆ sz()

auto meshlib::IntersectionPrecomputes_double::sz ( ) const -> &f64

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

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

◆ sz_mut()

auto meshlib::IntersectionPrecomputes_double::sz_mut ( ) -> &mut f64

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

Calls MR_IntersectionPrecomputes_double_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: