MeshLib Rust Docs
Loading...
Searching...
No Matches
Inheritance diagram for meshlib::PointPairs:

Public Member Functions

auto assign_from_another (_other:&meshlib::PointPairs) -> &mut meshlib::PointPairs
auto index (idx:usize) const -> &meshlib::ICPPairData
auto index_mut (idx:usize) -> &mut meshlib::ICPPairData
auto size () const -> usize
auto vec () const -> &meshlib::std_vector_MR_PointPair
auto vec_mut () -> &mut meshlib::std_vector_MR_PointPair
void set_vec (value:&meshlib::std_vector_MR_PointPair)
auto active () const -> &meshlib::BitSet
auto active_mut () -> &mut meshlib::BitSet
void set_active (value:&meshlib::BitSet)
auto upcast_to_i_point_pairs () const -> &meshlib::IPointPairs
auto upcast_to_i_point_pairs_mut () -> &mut meshlib::IPointPairs

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::PointPairs >
static auto construct_from_another (_other:&meshlib::PointPairs) -> meshlib::Owned< meshlib::PointPairs >
static auto static_downcast_from_i_point_pairs (object:&meshlib::IPointPairs) -> &Self
static auto static_downcast_from_i_point_pairs_mut (object:&mut meshlib::IPointPairs) -> &mut Self
static auto dynamic_downcast_from_i_point_pairs (object:&meshlib::IPointPairs) -> Option<&Self >
static auto dynamic_downcast_from_i_point_pairs_mut (object:&mut meshlib::IPointPairs) -> Option<&mut Self >
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::PointPairs. Base classes: Direct: (non-virtual) MR::IPointPairs

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

Member Function Documentation

◆ active()

auto meshlib::PointPairs::active ( ) const -> &meshlib::BitSet

< whether corresponding pair from vec must be considered during minimization Returns a pointer to a member variable of class MR::PointPairs named active.

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

◆ active_mut()

auto meshlib::PointPairs::active_mut ( ) -> &mut meshlib::BitSet

< whether corresponding pair from vec must be considered during minimization Returns a mutable pointer to a member variable of class MR::PointPairs named active.

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

◆ assign_from_another()

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

Generated from method MR::PointPairs::operator=.

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

◆ construct_from_another()

auto meshlib::PointPairs::construct_from_another ( _other:&meshlib::PointPairs ) -> meshlib::Owned< meshlib::PointPairs >
static

Generated from constructor MR::PointPairs::PointPairs.

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

◆ dynamic_downcast_from_i_point_pairs()

auto meshlib::PointPairs::dynamic_downcast_from_i_point_pairs ( object:&meshlib::IPointPairs ) -> Option<&Self >
static

Dynamic downcast from the base class MR::IPointPairs. Returns None if the object isn't actually a PointPairs.

Calls MR_PointPairs_DynamicDowncastFrom_MR_IPointPairs().

◆ dynamic_downcast_from_i_point_pairs_mut()

auto meshlib::PointPairs::dynamic_downcast_from_i_point_pairs_mut ( object:&mut meshlib::IPointPairs ) -> Option<&mut Self >
static

Dynamic downcast from the base class MR::IPointPairs. Returns None if the object isn't actually a PointPairs.

Calls MR_PointPairs_MutableDynamicDowncastFrom_MR_IPointPairs().

◆ index()

auto meshlib::PointPairs::index ( idx:usize ) const -> &meshlib::ICPPairData

Generated from method MR::PointPairs::operator[].

Calls MR_PointPairs_index().

◆ index_mut()

auto meshlib::PointPairs::index_mut ( idx:usize ) -> &mut meshlib::ICPPairData

Generated from method MR::PointPairs::operator[].

Calls MR_PointPairs_index_mut().

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_PointPairs_DefaultConstruct().

◆ set_active()

void meshlib::PointPairs::set_active ( value:&meshlib::BitSet )

< whether corresponding pair from vec must be considered during minimization Modifies a member variable of class MR::PointPairs named active.

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

◆ set_vec()

void meshlib::PointPairs::set_vec ( value:&meshlib::std_vector_MR_PointPair )

< vector of all point pairs both active and not Modifies a member variable of class MR::PointPairs named vec.

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

◆ size()

auto meshlib::PointPairs::size ( ) const -> usize

Generated from method MR::PointPairs::size.

Calls MR_PointPairs_size().

◆ static_downcast_from_i_point_pairs()

auto meshlib::PointPairs::static_downcast_from_i_point_pairs ( object:&meshlib::IPointPairs ) -> &Self
static

Static downcast from the base class MR::IPointPairs.

Calls MR_PointPairs_StaticDowncastFrom_MR_IPointPairs(). Undefined behavior if the object isn't actually a PointPairs.

Note
This function is unsafe.

◆ static_downcast_from_i_point_pairs_mut()

auto meshlib::PointPairs::static_downcast_from_i_point_pairs_mut ( object:&mut meshlib::IPointPairs ) -> &mut Self
static

Static downcast from the base class MR::IPointPairs.

Calls MR_PointPairs_MutableStaticDowncastFrom_MR_IPointPairs(). Undefined behavior if the object isn't actually a PointPairs.

Note
This function is unsafe.

◆ upcast_to_i_point_pairs()

auto meshlib::PointPairs::upcast_to_i_point_pairs ( ) const -> &meshlib::IPointPairs

Upcasts to the base class MR::IPointPairs.

Calls MR_PointPairs_UpcastTo_MR_IPointPairs().

◆ upcast_to_i_point_pairs_mut()

auto meshlib::PointPairs::upcast_to_i_point_pairs_mut ( ) -> &mut meshlib::IPointPairs

Upcasts to the base class MR::IPointPairs.

Calls MR_PointPairs_MutableUpcastTo_MR_IPointPairs().

◆ vec()

auto meshlib::PointPairs::vec ( ) const -> &meshlib::std_vector_MR_PointPair

< vector of all point pairs both active and not Returns a pointer to a member variable of class MR::PointPairs named vec.

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

◆ vec_mut()

auto meshlib::PointPairs::vec_mut ( ) -> &mut meshlib::std_vector_MR_PointPair

< vector of all point pairs both active and not Returns a mutable pointer to a member variable of class MR::PointPairs named vec.

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


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