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

Public Member Functions

auto assign_from_another (_other:&meshlib::ConvertToFloatVector) -> &mut meshlib::ConvertToFloatVector
auto convert (v:&meshlib::Vector3i) const -> meshlib::Vector3d
auto call (v:&meshlib::Vector3i) const -> meshlib::Vector3f
auto range () const -> &f64
auto range_mut () -> &mut f64
void set_range (value:f64)
auto center () const -> &meshlib::Vector3d
auto center_mut () -> &mut meshlib::Vector3d
void set_center (value:meshlib::Vector3d)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::ConvertToFloatVector >
static auto construct_from (range:f64, center:meshlib::Vector3d) -> meshlib::Owned< meshlib::ConvertToFloatVector >
static auto construct_from_another (_other:&meshlib::ConvertToFloatVector) -> meshlib::Owned< meshlib::ConvertToFloatVector >
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

scale then translate int-to-float coordinate converter Generated from class MR::ConvertToFloatVector.

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

Member Function Documentation

◆ assign_from_another()

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

Generated from method MR::ConvertToFloatVector::operator=.

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

◆ call()

auto meshlib::ConvertToFloatVector::call ( v:&meshlib::Vector3i ) const -> meshlib::Vector3f

int-to-float coordinates converter Generated from method MR::ConvertToFloatVector::operator().

Calls MR_ConvertToFloatVector_call().

◆ center()

auto meshlib::ConvertToFloatVector::center ( ) const -> &meshlib::Vector3d

Returns a pointer to a member variable of class MR::ConvertToFloatVector named center.

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

◆ center_mut()

auto meshlib::ConvertToFloatVector::center_mut ( ) -> &mut meshlib::Vector3d

Returns a mutable pointer to a member variable of class MR::ConvertToFloatVector named center.

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

◆ construct_from()

auto meshlib::ConvertToFloatVector::construct_from ( range:f64 ,
center:meshlib::Vector3d  ) -> meshlib::Owned< meshlib::ConvertToFloatVector >
static

Constructs MR::ConvertToFloatVector elementwise.

Calls MR_ConvertToFloatVector_ConstructFrom(). The reference to the parameter center might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::ConvertToFloatVector::ConvertToFloatVector.

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

◆ convert()

auto meshlib::ConvertToFloatVector::convert ( v:&meshlib::Vector3i ) const -> meshlib::Vector3d

int-to-double coordinates converter Generated from method MR::ConvertToFloatVector::convert.

Calls MR_ConvertToFloatVector_convert().

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_ConvertToFloatVector_DefaultConstruct().

◆ range()

auto meshlib::ConvertToFloatVector::range ( ) const -> &f64

Returns a pointer to a member variable of class MR::ConvertToFloatVector named range.

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

◆ range_mut()

auto meshlib::ConvertToFloatVector::range_mut ( ) -> &mut f64

Returns a mutable pointer to a member variable of class MR::ConvertToFloatVector named range.

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

◆ set_center()

void meshlib::ConvertToFloatVector::set_center ( value:meshlib::Vector3d )

Modifies a member variable of class MR::ConvertToFloatVector named center.

Calls MR_ConvertToFloatVector_Set_center(). The reference to the parameter value might be preserved in this object in element center.

◆ set_range()

void meshlib::ConvertToFloatVector::set_range ( value:f64 )

Modifies a member variable of class MR::ConvertToFloatVector named range.

Calls MR_ConvertToFloatVector_Set_range().


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