MeshLib Rust Docs
Loading...
Searching...
No Matches
meshlib::TwoLineSegmClosestPoints_float Struct Reference
Inheritance diagram for meshlib::TwoLineSegmClosestPoints_float:

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

Detailed Description

Generated from class MR::TwoLineSegmClosestPoints<float>.

Generated from class MR::TwoLineSegmClosestPoints<float>. Heap-allocated instances are held in Owned<TwoLineSegmClosestPoints_float>.

Member Function Documentation

◆ a()

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.

◆ a_mut()

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.

◆ assign_from_another()

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.

◆ b()

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.

◆ b_mut()

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.

◆ construct_from()

auto meshlib::TwoLineSegmClosestPoints_float::construct_from ( a:meshlib::Vector3f ,
b:meshlib::Vector3f ,
dir:meshlib::Vector3f  ) -> meshlib::Owned< meshlib::TwoLineSegmClosestPoints_float >
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.

◆ construct_from_another()

auto meshlib::TwoLineSegmClosestPoints_float::construct_from_another ( _other:&meshlib::TwoLineSegmClosestPoints_float ) -> meshlib::Owned< meshlib::TwoLineSegmClosestPoints_float >
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.

◆ dir()

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.

◆ dir_mut()

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.

◆ new()

auto meshlib::TwoLineSegmClosestPoints_float::new ( ) -> meshlib::Owned< meshlib::TwoLineSegmClosestPoints_float >
static

Constructs an empty (default-constructed) instance.

Calls MR_TwoLineSegmClosestPoints_float_DefaultConstruct().

◆ set_a()

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.

◆ set_b()

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.

◆ set_dir()

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.


The documentation for this struct was generated from the following file: