Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::LineSegm3f) -> &mut meshlib::LineSegm3f |
| auto | dir () const -> meshlib::Vector3f |
| auto | length_sq () const -> f32 |
| auto | length () const -> f32 |
| auto | call (param:f32) const -> meshlib::Vector3f |
| auto | a () const -> &meshlib::Vector3f |
| auto | a_mut () -> &mut meshlib::Vector3f |
| void | set_a (value:meshlib::Vector3f) |
| auto | b () const -> &meshlib::Vector3f |
| auto | b_mut () -> &mut meshlib::Vector3f |
| void | set_b (value:meshlib::Vector3f) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::LineSegm3f > |
| static auto | construct_from_another (_other:&meshlib::LineSegm3f) -> meshlib::Owned< meshlib::LineSegm3f > |
| static auto | construct (a:&meshlib::Vector3f, b:&meshlib::Vector3f) -> meshlib::Owned< meshlib::LineSegm3f > |
| 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 segment of straight dimensional line Generated from class MR::LineSegm3f.
Generated from class MR::LineSegm3f. Heap-allocated instances are held in Owned<LineSegm3f>.
| auto meshlib::LineSegm3f::a | ( | ) | const -> &meshlib::Vector3f |
Returns a pointer to a member variable of class MR::LineSegm3f named a.
Calls MR_LineSegm3f_Get_a(). The reference to this object might be preserved as the return value.
| auto meshlib::LineSegm3f::a_mut | ( | ) | -> &mut meshlib::Vector3f |
Returns a mutable pointer to a member variable of class MR::LineSegm3f named a.
Calls MR_LineSegm3f_GetMutable_a(). The reference to this object might be preserved as the return value.
| auto meshlib::LineSegm3f::assign_from_another | ( | _other:&meshlib::LineSegm3f | ) | -> &mut meshlib::LineSegm3f |
Generated from method MR::LineSegm3f::operator=.
Calls MR_LineSegm3f_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
| auto meshlib::LineSegm3f::b | ( | ) | const -> &meshlib::Vector3f |
Returns a pointer to a member variable of class MR::LineSegm3f named b.
Calls MR_LineSegm3f_Get_b(). The reference to this object might be preserved as the return value.
| auto meshlib::LineSegm3f::b_mut | ( | ) | -> &mut meshlib::Vector3f |
Returns a mutable pointer to a member variable of class MR::LineSegm3f named b.
Calls MR_LineSegm3f_GetMutable_b(). The reference to this object might be preserved as the return value.
| auto meshlib::LineSegm3f::call | ( | param:f32 | ) | const -> meshlib::Vector3f |
returns point on the line, where param=0 returns a and param=1 returns b Generated from method MR::LineSegm3f::operator().
Calls MR_LineSegm3f_call().
|
static |
Generated from constructor MR::LineSegm3f::LineSegm3f.
Calls MR_LineSegm3f_Construct(). The reference to the parameter a might be preserved in the constructed object. The reference to the parameter b might be preserved in the constructed object.
|
static |
Generated from constructor MR::LineSegm3f::LineSegm3f.
Calls MR_LineSegm3f_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::LineSegm3f::dir | ( | ) | const -> meshlib::Vector3f |
returns directional vector of the line Generated from method MR::LineSegm3f::dir.
Calls MR_LineSegm3f_dir().
| auto meshlib::LineSegm3f::length | ( | ) | const -> f32 |
returns the length of this line segment Generated from method MR::LineSegm3f::length.
Calls MR_LineSegm3f_length().
| auto meshlib::LineSegm3f::length_sq | ( | ) | const -> f32 |
returns squared length of this line segment Generated from method MR::LineSegm3f::lengthSq.
Calls MR_LineSegm3f_lengthSq().
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_LineSegm3f_DefaultConstruct().
| void meshlib::LineSegm3f::set_a | ( | value:meshlib::Vector3f | ) |
Modifies a member variable of class MR::LineSegm3f named a.
Calls MR_LineSegm3f_Set_a(). The reference to the parameter value might be preserved in this object in element a.
| void meshlib::LineSegm3f::set_b | ( | value:meshlib::Vector3f | ) |
Modifies a member variable of class MR::LineSegm3f named b.
Calls MR_LineSegm3f_Set_b(). The reference to the parameter value might be preserved in this object in element b.