Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::TwoLineSegmClosestPoints_float) -> &mut meshlib::TwoLineSegmClosestPoints_float |
| 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) |
| auto | dir () const -> &meshlib::Vector3f |
| auto | dir_mut () -> &mut meshlib::Vector3f |
| void | set_dir (value:meshlib::Vector3f) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::TwoLineSegmClosestPoints_float > |
| static auto | construct_from (a:meshlib::Vector3f, b:meshlib::Vector3f, dir:meshlib::Vector3f) -> meshlib::Owned< meshlib::TwoLineSegmClosestPoints_float > |
| static auto | construct_from_another (_other:&meshlib::TwoLineSegmClosestPoints_float) -> meshlib::Owned< meshlib::TwoLineSegmClosestPoints_float > |
| 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 |
Generated from class MR::TwoLineSegmClosestPoints<float>.
Generated from class MR::TwoLineSegmClosestPoints<float>. Heap-allocated instances are held in Owned<TwoLineSegmClosestPoints_float>.
| auto meshlib::TwoLineSegmClosestPoints_float::a | ( | ) | const -> &meshlib::Vector3f |
the closest points each from its respective segment Returns a pointer to a member variable of class MR::TwoLineSegmClosestPoints<float> named a.
Calls MR_TwoLineSegmClosestPoints_float_Get_a(). The reference to this object might be preserved as the return value.
| auto meshlib::TwoLineSegmClosestPoints_float::a_mut | ( | ) | -> &mut meshlib::Vector3f |
the closest points each from its respective segment Returns a mutable pointer to a member variable of class MR::TwoLineSegmClosestPoints<float> named a.
Calls MR_TwoLineSegmClosestPoints_float_GetMutable_a(). The reference to this object might be preserved as the return value.
| auto meshlib::TwoLineSegmClosestPoints_float::assign_from_another | ( | _other:&meshlib::TwoLineSegmClosestPoints_float | ) | -> &mut meshlib::TwoLineSegmClosestPoints_float |
Generated from method MR::TwoLineSegmClosestPoints<float>::operator=.
Calls MR_TwoLineSegmClosestPoints_float_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
| auto meshlib::TwoLineSegmClosestPoints_float::b | ( | ) | const -> &meshlib::Vector3f |
the closest points each from its respective segment Returns a pointer to a member variable of class MR::TwoLineSegmClosestPoints<float> named b.
Calls MR_TwoLineSegmClosestPoints_float_Get_b(). The reference to this object might be preserved as the return value.
| auto meshlib::TwoLineSegmClosestPoints_float::b_mut | ( | ) | -> &mut meshlib::Vector3f |
the closest points each from its respective segment Returns a mutable pointer to a member variable of class MR::TwoLineSegmClosestPoints<float> named b.
Calls MR_TwoLineSegmClosestPoints_float_GetMutable_b(). The reference to this object might be preserved as the return value.
|
static |
Constructs MR::TwoLineSegmClosestPoints<float> elementwise.
Calls MR_TwoLineSegmClosestPoints_float_ConstructFrom(). 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. The reference to the parameter dir might be preserved in the constructed object.
|
static |
Generated from constructor MR::TwoLineSegmClosestPoints<float>::TwoLineSegmClosestPoints.
Calls MR_TwoLineSegmClosestPoints_float_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::TwoLineSegmClosestPoints_float::dir | ( | ) | const -> &meshlib::Vector3f |
if both closest points are in segment endpoints, then directed from closest point a to closest point b, if both closest points are inner to the segments, then its orthogonal to both segments and directed from a to b, otherwise it is orthogonal to the segment with inner closest point and rotated toward/away the other closest point in endpoint Returns a pointer to a member variable of class MR::TwoLineSegmClosestPoints<float> named dir.
Calls MR_TwoLineSegmClosestPoints_float_Get_dir(). The reference to this object might be preserved as the return value.
| auto meshlib::TwoLineSegmClosestPoints_float::dir_mut | ( | ) | -> &mut meshlib::Vector3f |
if both closest points are in segment endpoints, then directed from closest point a to closest point b, if both closest points are inner to the segments, then its orthogonal to both segments and directed from a to b, otherwise it is orthogonal to the segment with inner closest point and rotated toward/away the other closest point in endpoint Returns a mutable pointer to a member variable of class MR::TwoLineSegmClosestPoints<float> named dir.
Calls MR_TwoLineSegmClosestPoints_float_GetMutable_dir(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_TwoLineSegmClosestPoints_float_DefaultConstruct().
| void meshlib::TwoLineSegmClosestPoints_float::set_a | ( | value:meshlib::Vector3f | ) |
the closest points each from its respective segment Modifies a member variable of class MR::TwoLineSegmClosestPoints<float> named a.
Calls MR_TwoLineSegmClosestPoints_float_Set_a(). The reference to the parameter value might be preserved in this object in element a.
| void meshlib::TwoLineSegmClosestPoints_float::set_b | ( | value:meshlib::Vector3f | ) |
the closest points each from its respective segment Modifies a member variable of class MR::TwoLineSegmClosestPoints<float> named b.
Calls MR_TwoLineSegmClosestPoints_float_Set_b(). The reference to the parameter value might be preserved in this object in element b.
| void meshlib::TwoLineSegmClosestPoints_float::set_dir | ( | value:meshlib::Vector3f | ) |
if both closest points are in segment endpoints, then directed from closest point a to closest point b, if both closest points are inner to the segments, then its orthogonal to both segments and directed from a to b, otherwise it is orthogonal to the segment with inner closest point and rotated toward/away the other closest point in endpoint Modifies a member variable of class MR::TwoLineSegmClosestPoints<float> named dir.
Calls MR_TwoLineSegmClosestPoints_float_Set_dir(). The reference to the parameter value might be preserved in this object in element dir.