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

Public Member Functions

auto assign_from_another (_other:&meshlib::EdgePointPair) -> &mut meshlib::EdgePointPair
auto op_equal (rhs:&meshlib::EdgePointPair) const -> bool
auto op_not_equal (rhs:&meshlib::EdgePointPair) const -> bool
auto a () const -> &meshlib::EdgePoint
auto a_mut () -> &mut meshlib::EdgePoint
void set_a (value:&meshlib::EdgePoint)
auto b () const -> &meshlib::EdgePoint
auto b_mut () -> &mut meshlib::EdgePoint
void set_b (value:&meshlib::EdgePoint)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::EdgePointPair >
static auto construct_from_another (_other:&meshlib::EdgePointPair) -> meshlib::Owned< meshlib::EdgePointPair >
static auto construct (ia:&meshlib::EdgePoint, ib:&meshlib::EdgePoint) -> meshlib::Owned< meshlib::EdgePointPair >
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

two edge-points (e.g. representing collision point of two edges) Generated from class MR::EdgePointPair.

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

Member Function Documentation

◆ a()

auto meshlib::EdgePointPair::a ( ) const -> &meshlib::EdgePoint

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

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

◆ a_mut()

auto meshlib::EdgePointPair::a_mut ( ) -> &mut meshlib::EdgePoint

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

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

◆ assign_from_another()

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

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

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

◆ b()

auto meshlib::EdgePointPair::b ( ) const -> &meshlib::EdgePoint

Returns a pointer to a member variable of class MR::EdgePointPair named b.

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

◆ b_mut()

auto meshlib::EdgePointPair::b_mut ( ) -> &mut meshlib::EdgePoint

Returns a mutable pointer to a member variable of class MR::EdgePointPair named b.

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

◆ construct()

auto meshlib::EdgePointPair::construct ( ia:&meshlib::EdgePoint ,
ib:&meshlib::EdgePoint  ) -> meshlib::Owned< meshlib::EdgePointPair >
static

Generated from constructor MR::EdgePointPair::EdgePointPair.

Calls MR_EdgePointPair_Construct(). The reference to the parameter ia might be preserved in the constructed object. The reference to the parameter ib might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::EdgePointPair::EdgePointPair.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_EdgePointPair_DefaultConstruct().

◆ op_equal()

auto meshlib::EdgePointPair::op_equal ( rhs:&meshlib::EdgePointPair ) const -> bool

returns true if two edge-point pairs are equal including equal not-unique representation Generated from method MR::EdgePointPair::operator==.

Calls MR_equal_MR_EdgePointPair().

◆ op_not_equal()

auto meshlib::EdgePointPair::op_not_equal ( rhs:&meshlib::EdgePointPair ) const -> bool

returns true if two edge-point pairs are equal including equal not-unique representation Generated from method MR::EdgePointPair::operator!=.

Calls MR_not_equal_MR_EdgePointPair().

◆ set_a()

void meshlib::EdgePointPair::set_a ( value:&meshlib::EdgePoint )

Modifies a member variable of class MR::EdgePointPair named a.

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

◆ set_b()

void meshlib::EdgePointPair::set_b ( value:&meshlib::EdgePoint )

Modifies a member variable of class MR::EdgePointPair named b.

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


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