Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::Cylinder3f) -> &mut meshlib::Cylinder3f |
| auto | center_mut () -> &mut meshlib::Vector3f |
| auto | center () const -> &meshlib::Vector3f |
| auto | direction_mut () -> &mut meshlib::Vector3f |
| auto | direction () const -> &meshlib::Vector3f |
| auto | main_axis () const -> &meshlib::Line3f |
| auto | main_axis_mut () -> &mut meshlib::Line3f |
| void | set_main_axis (value:&meshlib::Line3f) |
| auto | radius () const -> &f32 |
| auto | radius_mut () -> &mut f32 |
| void | set_radius (value:f32) |
| auto | length () const -> &f32 |
| auto | length_mut () -> &mut f32 |
| void | set_length (value:f32) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::Cylinder3f > |
| static auto | construct_from_another (_other:&meshlib::Cylinder3f) -> meshlib::Owned< meshlib::Cylinder3f > |
| static auto | construct_4 (inCenter:&meshlib::Vector3f, inDirectoin:&meshlib::Vector3f, inRadius:f32, inLength:f32) -> meshlib::Owned< meshlib::Cylinder3f > |
| static auto | construct_3 (inAxis:&meshlib::Line3f, inRadius:f32, inLength:f32) -> meshlib::Owned< meshlib::Cylinder3f > |
| 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 |
A class describing a cylinder as a mathematical object. A cylinder is represented by a centerline, a radius, and a length. TODO: Cylinder3 could be infinite. For example for infinite Cylinder3 we could use negative length or length = -1 Generated from class MR::Cylinder3f.
Generated from class MR::Cylinder3f. Heap-allocated instances are held in Owned<Cylinder3f>.
| auto meshlib::Cylinder3f::assign_from_another | ( | _other:&meshlib::Cylinder3f | ) | -> &mut meshlib::Cylinder3f |
Generated from method MR::Cylinder3f::operator=.
Calls MR_Cylinder3f_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
| auto meshlib::Cylinder3f::center | ( | ) | const -> &meshlib::Vector3f |
Generated from method MR::Cylinder3f::center.
Calls MR_Cylinder3f_center().
| auto meshlib::Cylinder3f::center_mut | ( | ) | -> &mut meshlib::Vector3f |
Generated from method MR::Cylinder3f::center.
Calls MR_Cylinder3f_center_mut().
|
static |
Generated from constructor MR::Cylinder3f::Cylinder3f.
Calls MR_Cylinder3f_Construct_3(). The reference to the parameter inAxis might be preserved in the constructed object.
|
static |
Generated from constructor MR::Cylinder3f::Cylinder3f.
Calls MR_Cylinder3f_Construct_4(). The reference to the parameter inCenter might be preserved in the constructed object. The reference to the parameter inDirectoin might be preserved in the constructed object.
|
static |
Generated from constructor MR::Cylinder3f::Cylinder3f.
Calls MR_Cylinder3f_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::Cylinder3f::direction | ( | ) | const -> &meshlib::Vector3f |
Generated from method MR::Cylinder3f::direction.
Calls MR_Cylinder3f_direction().
| auto meshlib::Cylinder3f::direction_mut | ( | ) | -> &mut meshlib::Vector3f |
Generated from method MR::Cylinder3f::direction.
Calls MR_Cylinder3f_direction_mut().
| auto meshlib::Cylinder3f::length | ( | ) | const -> &f32 |
Returns a pointer to a member variable of class MR::Cylinder3f named length.
Calls MR_Cylinder3f_Get_length(). The reference to this object might be preserved as the return value.
| auto meshlib::Cylinder3f::length_mut | ( | ) | -> &mut f32 |
Returns a mutable pointer to a member variable of class MR::Cylinder3f named length.
Calls MR_Cylinder3f_GetMutable_length(). The reference to this object might be preserved as the return value.
| auto meshlib::Cylinder3f::main_axis | ( | ) | const -> &meshlib::Line3f |
Returns a pointer to a member variable of class MR::Cylinder3f named mainAxis.
Calls MR_Cylinder3f_Get_mainAxis(). The reference to this object might be preserved as the return value.
| auto meshlib::Cylinder3f::main_axis_mut | ( | ) | -> &mut meshlib::Line3f |
Returns a mutable pointer to a member variable of class MR::Cylinder3f named mainAxis.
Calls MR_Cylinder3f_GetMutable_mainAxis(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_Cylinder3f_DefaultConstruct().
| auto meshlib::Cylinder3f::radius | ( | ) | const -> &f32 |
Returns a pointer to a member variable of class MR::Cylinder3f named radius.
Calls MR_Cylinder3f_Get_radius(). The reference to this object might be preserved as the return value.
| auto meshlib::Cylinder3f::radius_mut | ( | ) | -> &mut f32 |
Returns a mutable pointer to a member variable of class MR::Cylinder3f named radius.
Calls MR_Cylinder3f_GetMutable_radius(). The reference to this object might be preserved as the return value.
| void meshlib::Cylinder3f::set_length | ( | value:f32 | ) |
Modifies a member variable of class MR::Cylinder3f named length.
Calls MR_Cylinder3f_Set_length().
| void meshlib::Cylinder3f::set_main_axis | ( | value:&meshlib::Line3f | ) |
Modifies a member variable of class MR::Cylinder3f named mainAxis.
Calls MR_Cylinder3f_Set_mainAxis(). The reference to the parameter value might be preserved in this object in element mainAxis.
| void meshlib::Cylinder3f::set_radius | ( | value:f32 | ) |
Modifies a member variable of class MR::Cylinder3f named radius.
Calls MR_Cylinder3f_Set_radius().