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

Public Member Functions

auto assign_from_another (_other:&meshlib::ICPGroupPairs) -> &mut meshlib::ICPGroupPairs
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_ICPGroupPair
auto vec_mut () -> &mut meshlib::std_vector_MR_ICPGroupPair
void set_vec (value:&meshlib::std_vector_MR_ICPGroupPair)
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::ICPGroupPairs >
static auto construct_from_another (_other:&meshlib::ICPGroupPairs) -> meshlib::Owned< meshlib::ICPGroupPairs >
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::ICPGroupPairs. Base classes: Direct: (non-virtual) MR::IPointPairs

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

Member Function Documentation

◆ active()

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

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

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

◆ active_mut()

auto meshlib::ICPGroupPairs::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::ICPGroupPairs named active.

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

◆ assign_from_another()

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

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

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

◆ construct_from_another()

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

Generated from constructor MR::ICPGroupPairs::ICPGroupPairs.

Calls MR_ICPGroupPairs_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::ICPGroupPairs::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 ICPGroupPairs.

Calls MR_ICPGroupPairs_DynamicDowncastFrom_MR_IPointPairs().

◆ dynamic_downcast_from_i_point_pairs_mut()

auto meshlib::ICPGroupPairs::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 ICPGroupPairs.

Calls MR_ICPGroupPairs_MutableDynamicDowncastFrom_MR_IPointPairs().

◆ index()

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

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

Calls MR_ICPGroupPairs_index().

◆ index_mut()

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

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

Calls MR_ICPGroupPairs_index_mut().

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_ICPGroupPairs_DefaultConstruct().

◆ set_active()

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

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

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

◆ set_vec()

void meshlib::ICPGroupPairs::set_vec ( value:&meshlib::std_vector_MR_ICPGroupPair )

Modifies a member variable of class MR::ICPGroupPairs named vec.

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

◆ size()

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

Generated from method MR::ICPGroupPairs::size.

Calls MR_ICPGroupPairs_size().

◆ static_downcast_from_i_point_pairs()

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

Static downcast from the base class MR::IPointPairs.

Calls MR_ICPGroupPairs_StaticDowncastFrom_MR_IPointPairs(). Undefined behavior if the object isn't actually a ICPGroupPairs.

Note
This function is unsafe.

◆ static_downcast_from_i_point_pairs_mut()

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

Static downcast from the base class MR::IPointPairs.

Calls MR_ICPGroupPairs_MutableStaticDowncastFrom_MR_IPointPairs(). Undefined behavior if the object isn't actually a ICPGroupPairs.

Note
This function is unsafe.

◆ upcast_to_i_point_pairs()

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

Upcasts to the base class MR::IPointPairs.

Calls MR_ICPGroupPairs_UpcastTo_MR_IPointPairs().

◆ upcast_to_i_point_pairs_mut()

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

Upcasts to the base class MR::IPointPairs.

Calls MR_ICPGroupPairs_MutableUpcastTo_MR_IPointPairs().

◆ vec()

auto meshlib::ICPGroupPairs::vec ( ) const -> &meshlib::std_vector_MR_ICPGroupPair

Returns a pointer to a member variable of class MR::ICPGroupPairs named vec.

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

◆ vec_mut()

auto meshlib::ICPGroupPairs::vec_mut ( ) -> &mut meshlib::std_vector_MR_ICPGroupPair

Returns a mutable pointer to a member variable of class MR::ICPGroupPairs named vec.

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