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

Public Member Functions

auto assign_from_another (_other:&meshlib::TwoLineSegmClosestPoints_double) -> &mut meshlib::TwoLineSegmClosestPoints_double
auto a () const -> &meshlib::Vector3d
auto a_mut () -> &mut meshlib::Vector3d
void set_a (value:meshlib::Vector3d)
auto b () const -> &meshlib::Vector3d
auto b_mut () -> &mut meshlib::Vector3d
void set_b (value:meshlib::Vector3d)
auto dir () const -> &meshlib::Vector3d
auto dir_mut () -> &mut meshlib::Vector3d
void set_dir (value:meshlib::Vector3d)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::TwoLineSegmClosestPoints_double >
static auto construct_from (a:meshlib::Vector3d, b:meshlib::Vector3d, dir:meshlib::Vector3d) -> meshlib::Owned< meshlib::TwoLineSegmClosestPoints_double >
static auto construct_from_another (_other:&meshlib::TwoLineSegmClosestPoints_double) -> meshlib::Owned< meshlib::TwoLineSegmClosestPoints_double >
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<double>.

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

Member Function Documentation

◆ a()

auto meshlib::TwoLineSegmClosestPoints_double::a ( ) const -> &meshlib::Vector3d

the closest points each from its respective segment Returns a pointer to a member variable of class MR::TwoLineSegmClosestPoints<double> named a.

Calls MR_TwoLineSegmClosestPoints_double_Get_a(). The reference to this object might be preserved as the return value.

◆ a_mut()

auto meshlib::TwoLineSegmClosestPoints_double::a_mut ( ) -> &mut meshlib::Vector3d

the closest points each from its respective segment Returns a mutable pointer to a member variable of class MR::TwoLineSegmClosestPoints<double> named a.

Calls MR_TwoLineSegmClosestPoints_double_GetMutable_a(). The reference to this object might be preserved as the return value.

◆ assign_from_another()

auto meshlib::TwoLineSegmClosestPoints_double::assign_from_another ( _other:&meshlib::TwoLineSegmClosestPoints_double ) -> &mut meshlib::TwoLineSegmClosestPoints_double

Generated from method MR::TwoLineSegmClosestPoints<double>::operator=.

Calls MR_TwoLineSegmClosestPoints_double_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.

◆ b()

auto meshlib::TwoLineSegmClosestPoints_double::b ( ) const -> &meshlib::Vector3d

the closest points each from its respective segment Returns a pointer to a member variable of class MR::TwoLineSegmClosestPoints<double> named b.

Calls MR_TwoLineSegmClosestPoints_double_Get_b(). The reference to this object might be preserved as the return value.

◆ b_mut()

auto meshlib::TwoLineSegmClosestPoints_double::b_mut ( ) -> &mut meshlib::Vector3d

the closest points each from its respective segment Returns a mutable pointer to a member variable of class MR::TwoLineSegmClosestPoints<double> named b.

Calls MR_TwoLineSegmClosestPoints_double_GetMutable_b(). The reference to this object might be preserved as the return value.

◆ construct_from()

auto meshlib::TwoLineSegmClosestPoints_double::construct_from ( a:meshlib::Vector3d ,
b:meshlib::Vector3d ,
dir:meshlib::Vector3d  ) -> meshlib::Owned< meshlib::TwoLineSegmClosestPoints_double >
static

Constructs MR::TwoLineSegmClosestPoints<double> elementwise.

Calls MR_TwoLineSegmClosestPoints_double_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_double::construct_from_another ( _other:&meshlib::TwoLineSegmClosestPoints_double ) -> meshlib::Owned< meshlib::TwoLineSegmClosestPoints_double >
static

Generated from constructor MR::TwoLineSegmClosestPoints<double>::TwoLineSegmClosestPoints.

Calls MR_TwoLineSegmClosestPoints_double_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

◆ dir()

auto meshlib::TwoLineSegmClosestPoints_double::dir ( ) const -> &meshlib::Vector3d

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<double> named dir.

Calls MR_TwoLineSegmClosestPoints_double_Get_dir(). The reference to this object might be preserved as the return value.

◆ dir_mut()

auto meshlib::TwoLineSegmClosestPoints_double::dir_mut ( ) -> &mut meshlib::Vector3d

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<double> named dir.

Calls MR_TwoLineSegmClosestPoints_double_GetMutable_dir(). The reference to this object might be preserved as the return value.

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_TwoLineSegmClosestPoints_double_DefaultConstruct().

◆ set_a()

void meshlib::TwoLineSegmClosestPoints_double::set_a ( value:meshlib::Vector3d )

the closest points each from its respective segment Modifies a member variable of class MR::TwoLineSegmClosestPoints<double> named a.

Calls MR_TwoLineSegmClosestPoints_double_Set_a(). The reference to the parameter value might be preserved in this object in element a.

◆ set_b()

void meshlib::TwoLineSegmClosestPoints_double::set_b ( value:meshlib::Vector3d )

the closest points each from its respective segment Modifies a member variable of class MR::TwoLineSegmClosestPoints<double> named b.

Calls MR_TwoLineSegmClosestPoints_double_Set_b(). The reference to the parameter value might be preserved in this object in element b.

◆ set_dir()

void meshlib::TwoLineSegmClosestPoints_double::set_dir ( value:meshlib::Vector3d )

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<double> named dir.

Calls MR_TwoLineSegmClosestPoints_double_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: