Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::Cylinder3d) -> &mut meshlib::Cylinder3d |
| auto | center_mut () -> &mut meshlib::Vector3d |
| auto | center () const -> &meshlib::Vector3d |
| auto | direction_mut () -> &mut meshlib::Vector3d |
| auto | direction () const -> &meshlib::Vector3d |
| auto | main_axis () const -> &meshlib::Line3d |
| auto | main_axis_mut () -> &mut meshlib::Line3d |
| void | set_main_axis (value:&meshlib::Line3d) |
| auto | radius () const -> &f64 |
| auto | radius_mut () -> &mut f64 |
| void | set_radius (value:f64) |
| auto | length () const -> &f64 |
| auto | length_mut () -> &mut f64 |
| void | set_length (value:f64) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::Cylinder3d > |
| static auto | construct_from_another (_other:&meshlib::Cylinder3d) -> meshlib::Owned< meshlib::Cylinder3d > |
| static auto | construct_4 (inCenter:&meshlib::Vector3d, inDirectoin:&meshlib::Vector3d, inRadius:f64, inLength:f64) -> meshlib::Owned< meshlib::Cylinder3d > |
| static auto | construct_3 (inAxis:&meshlib::Line3d, inRadius:f64, inLength:f64) -> meshlib::Owned< meshlib::Cylinder3d > |
| 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::Cylinder3d.
Generated from class MR::Cylinder3d. Heap-allocated instances are held in Owned<Cylinder3d>.
| auto meshlib::Cylinder3d::assign_from_another | ( | _other:&meshlib::Cylinder3d | ) | -> &mut meshlib::Cylinder3d |
Generated from method MR::Cylinder3d::operator=.
Calls MR_Cylinder3d_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
| auto meshlib::Cylinder3d::center | ( | ) | const -> &meshlib::Vector3d |
Generated from method MR::Cylinder3d::center.
Calls MR_Cylinder3d_center().
| auto meshlib::Cylinder3d::center_mut | ( | ) | -> &mut meshlib::Vector3d |
Generated from method MR::Cylinder3d::center.
Calls MR_Cylinder3d_center_mut().
|
static |
Generated from constructor MR::Cylinder3d::Cylinder3d.
Calls MR_Cylinder3d_Construct_3(). The reference to the parameter inAxis might be preserved in the constructed object.
|
static |
Generated from constructor MR::Cylinder3d::Cylinder3d.
Calls MR_Cylinder3d_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::Cylinder3d::Cylinder3d.
Calls MR_Cylinder3d_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::Cylinder3d::direction | ( | ) | const -> &meshlib::Vector3d |
Generated from method MR::Cylinder3d::direction.
Calls MR_Cylinder3d_direction().
| auto meshlib::Cylinder3d::direction_mut | ( | ) | -> &mut meshlib::Vector3d |
Generated from method MR::Cylinder3d::direction.
Calls MR_Cylinder3d_direction_mut().
| auto meshlib::Cylinder3d::length | ( | ) | const -> &f64 |
Returns a pointer to a member variable of class MR::Cylinder3d named length.
Calls MR_Cylinder3d_Get_length(). The reference to this object might be preserved as the return value.
| auto meshlib::Cylinder3d::length_mut | ( | ) | -> &mut f64 |
Returns a mutable pointer to a member variable of class MR::Cylinder3d named length.
Calls MR_Cylinder3d_GetMutable_length(). The reference to this object might be preserved as the return value.
| auto meshlib::Cylinder3d::main_axis | ( | ) | const -> &meshlib::Line3d |
Returns a pointer to a member variable of class MR::Cylinder3d named mainAxis.
Calls MR_Cylinder3d_Get_mainAxis(). The reference to this object might be preserved as the return value.
| auto meshlib::Cylinder3d::main_axis_mut | ( | ) | -> &mut meshlib::Line3d |
Returns a mutable pointer to a member variable of class MR::Cylinder3d named mainAxis.
Calls MR_Cylinder3d_GetMutable_mainAxis(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_Cylinder3d_DefaultConstruct().
| auto meshlib::Cylinder3d::radius | ( | ) | const -> &f64 |
Returns a pointer to a member variable of class MR::Cylinder3d named radius.
Calls MR_Cylinder3d_Get_radius(). The reference to this object might be preserved as the return value.
| auto meshlib::Cylinder3d::radius_mut | ( | ) | -> &mut f64 |
Returns a mutable pointer to a member variable of class MR::Cylinder3d named radius.
Calls MR_Cylinder3d_GetMutable_radius(). The reference to this object might be preserved as the return value.
| void meshlib::Cylinder3d::set_length | ( | value:f64 | ) |
Modifies a member variable of class MR::Cylinder3d named length.
Calls MR_Cylinder3d_Set_length().
| void meshlib::Cylinder3d::set_main_axis | ( | value:&meshlib::Line3d | ) |
Modifies a member variable of class MR::Cylinder3d named mainAxis.
Calls MR_Cylinder3d_Set_mainAxis(). The reference to the parameter value might be preserved in this object in element mainAxis.
| void meshlib::Cylinder3d::set_radius | ( | value:f64 | ) |
Modifies a member variable of class MR::Cylinder3d named radius.
Calls MR_Cylinder3d_Set_radius().