Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::Line3f) -> &mut meshlib::Line3f |
| auto | call (param:f32) const -> meshlib::Vector3f |
| auto | distance_sq (x:&meshlib::Vector3f) const -> f32 |
| auto | op_neg () const -> meshlib::Owned< meshlib::Line3f > |
| auto | op_pos () const -> &meshlib::Line3f |
| auto | normalized () const -> meshlib::Owned< meshlib::Line3f > |
| auto | projection_param (x:&meshlib::Vector3f) const -> f32 |
| auto | project (x:&meshlib::Vector3f) const -> meshlib::Vector3f |
| auto | p () const -> &meshlib::Vector3f |
| auto | p_mut () -> &mut meshlib::Vector3f |
| void | set_p (value:meshlib::Vector3f) |
| auto | d () const -> &meshlib::Vector3f |
| auto | d_mut () -> &mut meshlib::Vector3f |
| void | set_d (value:meshlib::Vector3f) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::Line3f > |
| static auto | construct_from_another (_other:&meshlib::Line3f) -> meshlib::Owned< meshlib::Line3f > |
| static auto | construct (p:&meshlib::Vector3f, d:&meshlib::Vector3f) -> meshlib::Owned< meshlib::Line3f > |
| static auto | construct_mr_vector3d (l:&meshlib::Line3d) -> meshlib::Owned< meshlib::Line3f > |
| 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 |
2- or 3-dimensional line: cross( x - p, d ) = 0 Generated from class MR::Line3f.
Generated from class MR::Line3f. Heap-allocated instances are held in Owned<Line3f>.
| auto meshlib::Line3f::assign_from_another | ( | _other:&meshlib::Line3f | ) | -> &mut meshlib::Line3f |
Generated from method MR::Line3f::operator=.
Calls MR_Line3f_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
| auto meshlib::Line3f::call | ( | param:f32 | ) | const -> meshlib::Vector3f |
returns point on the line, where param=0 returns p and param=1 returns p+d Generated from method MR::Line3f::operator().
Calls MR_Line3f_call().
|
static |
Generated from constructor MR::Line3f::Line3f.
Calls MR_Line3f_Construct(). The reference to the parameter p might be preserved in the constructed object. The reference to the parameter d might be preserved in the constructed object.
|
static |
Generated from constructor MR::Line3f::Line3f.
Calls MR_Line3f_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
|
static |
Generated from constructor MR::Line3f::Line3f.
Calls MR_Line3f_Construct_MR_Vector3d(). The reference to the parameter l might be preserved in the constructed object.
| auto meshlib::Line3f::d | ( | ) | const -> &meshlib::Vector3f |
Returns a pointer to a member variable of class MR::Line3f named d.
Calls MR_Line3f_Get_d(). The reference to this object might be preserved as the return value.
| auto meshlib::Line3f::d_mut | ( | ) | -> &mut meshlib::Vector3f |
Returns a mutable pointer to a member variable of class MR::Line3f named d.
Calls MR_Line3f_GetMutable_d(). The reference to this object might be preserved as the return value.
| auto meshlib::Line3f::distance_sq | ( | x:&meshlib::Vector3f | ) | const -> f32 |
returns squared distance from given point to this line Generated from method MR::Line3f::distanceSq.
Calls MR_Line3f_distanceSq().
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_Line3f_DefaultConstruct().
| auto meshlib::Line3f::normalized | ( | ) | const -> meshlib::Owned< meshlib::Line3f > |
returns same line represented with unit d-vector Generated from method MR::Line3f::normalized.
Calls MR_Line3f_normalized().
| auto meshlib::Line3f::op_neg | ( | ) | const -> meshlib::Owned< meshlib::Line3f > |
returns same line represented with flipped direction of d-vector Generated from method MR::Line3f::operator-.
Calls MR_neg_MR_Line3f().
| auto meshlib::Line3f::op_pos | ( | ) | const -> &meshlib::Line3f |
returns same representation Generated from method MR::Line3f::operator+.
Calls MR_pos_MR_Line3f().
| auto meshlib::Line3f::p | ( | ) | const -> &meshlib::Vector3f |
Returns a pointer to a member variable of class MR::Line3f named p.
Calls MR_Line3f_Get_p(). The reference to this object might be preserved as the return value.
| auto meshlib::Line3f::p_mut | ( | ) | -> &mut meshlib::Vector3f |
Returns a mutable pointer to a member variable of class MR::Line3f named p.
Calls MR_Line3f_GetMutable_p(). The reference to this object might be preserved as the return value.
| auto meshlib::Line3f::project | ( | x:&meshlib::Vector3f | ) | const -> meshlib::Vector3f |
finds the closest point to the given one on this line Generated from method MR::Line3f::project.
Calls MR_Line3f_project().
| auto meshlib::Line3f::projection_param | ( | x:&meshlib::Vector3f | ) | const -> f32 |
finds the parameter of the closest point to the given one on this line Generated from method MR::Line3f::projectionParam.
Calls MR_Line3f_projectionParam().
| void meshlib::Line3f::set_d | ( | value:meshlib::Vector3f | ) |
Modifies a member variable of class MR::Line3f named d.
Calls MR_Line3f_Set_d(). The reference to the parameter value might be preserved in this object in element d.
| void meshlib::Line3f::set_p | ( | value:meshlib::Vector3f | ) |
Modifies a member variable of class MR::Line3f named p.
Calls MR_Line3f_Set_p(). The reference to the parameter value might be preserved in this object in element p.