Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::ConvertToIntVector) -> &mut meshlib::ConvertToIntVector |
| auto | scale_only (v:f64) const -> core::ffi::c_int |
| auto | call_mr_vector3d (p:&meshlib::Vector3d) const -> meshlib::Vector3i |
| auto | call_mr_vector3f (p:&meshlib::Vector3f) const -> meshlib::Vector3i |
| auto | center () const -> &meshlib::Vector3d |
| auto | center_mut () -> &mut meshlib::Vector3d |
| void | set_center (value:meshlib::Vector3d) |
| auto | inv_range () const -> &f64 |
| auto | inv_range_mut () -> &mut f64 |
| void | set_inv_range (value:f64) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::ConvertToIntVector > |
| static auto | construct_from (center:meshlib::Vector3d, invRange:f64) -> meshlib::Owned< meshlib::ConvertToIntVector > |
| static auto | construct_from_another (_other:&meshlib::ConvertToIntVector) -> meshlib::Owned< meshlib::ConvertToIntVector > |
| 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 |
translate then scale float-to-int coordinate converter Generated from class MR::ConvertToIntVector.
Generated from class MR::ConvertToIntVector. Heap-allocated instances are held in Owned<ConvertToIntVector>.
| auto meshlib::ConvertToIntVector::assign_from_another | ( | _other:&meshlib::ConvertToIntVector | ) | -> &mut meshlib::ConvertToIntVector |
Generated from method MR::ConvertToIntVector::operator=.
Calls MR_ConvertToIntVector_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
| auto meshlib::ConvertToIntVector::call_mr_vector3d | ( | p:&meshlib::Vector3d | ) | const -> meshlib::Vector3i |
double-to-int coordinates converter Generated from method MR::ConvertToIntVector::operator().
Calls MR_ConvertToIntVector_call_MR_Vector3d().
| auto meshlib::ConvertToIntVector::call_mr_vector3f | ( | p:&meshlib::Vector3f | ) | const -> meshlib::Vector3i |
float-to-int coordinates converter Generated from method MR::ConvertToIntVector::operator().
Calls MR_ConvertToIntVector_call_MR_Vector3f().
| auto meshlib::ConvertToIntVector::center | ( | ) | const -> &meshlib::Vector3d |
Returns a pointer to a member variable of class MR::ConvertToIntVector named center.
Calls MR_ConvertToIntVector_Get_center(). The reference to this object might be preserved as the return value.
| auto meshlib::ConvertToIntVector::center_mut | ( | ) | -> &mut meshlib::Vector3d |
Returns a mutable pointer to a member variable of class MR::ConvertToIntVector named center.
Calls MR_ConvertToIntVector_GetMutable_center(). The reference to this object might be preserved as the return value.
|
static |
Constructs MR::ConvertToIntVector elementwise.
Calls MR_ConvertToIntVector_ConstructFrom(). The reference to the parameter center might be preserved in the constructed object.
|
static |
Generated from constructor MR::ConvertToIntVector::ConvertToIntVector.
Calls MR_ConvertToIntVector_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::ConvertToIntVector::inv_range | ( | ) | const -> &f64 |
Returns a pointer to a member variable of class MR::ConvertToIntVector named invRange.
Calls MR_ConvertToIntVector_Get_invRange(). The reference to this object might be preserved as the return value.
| auto meshlib::ConvertToIntVector::inv_range_mut | ( | ) | -> &mut f64 |
Returns a mutable pointer to a member variable of class MR::ConvertToIntVector named invRange.
Calls MR_ConvertToIntVector_GetMutable_invRange(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_ConvertToIntVector_DefaultConstruct().
| auto meshlib::ConvertToIntVector::scale_only | ( | v:f64 | ) | const -> core::ffi::c_int |
applies scaling only (without translation) with the following rounding to the nearest int Generated from method MR::ConvertToIntVector::scaleOnly.
Calls MR_ConvertToIntVector_scaleOnly().
| void meshlib::ConvertToIntVector::set_center | ( | value:meshlib::Vector3d | ) |
Modifies a member variable of class MR::ConvertToIntVector named center.
Calls MR_ConvertToIntVector_Set_center(). The reference to the parameter value might be preserved in this object in element center.
| void meshlib::ConvertToIntVector::set_inv_range | ( | value:f64 | ) |
Modifies a member variable of class MR::ConvertToIntVector named invRange.
Calls MR_ConvertToIntVector_Set_invRange().