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

Public Member Functions

auto assign_from_another (_other:&meshlib::EdgeSegmentd) -> &mut meshlib::EdgeSegmentd
auto edge_point_a () const -> meshlib::Owned< meshlib::EdgePointd >
auto edge_point_b () const -> meshlib::Owned< meshlib::EdgePointd >
auto valid () const -> bool
auto op_equal (rhs:&meshlib::EdgeSegmentd) const -> bool
auto op_not_equal (rhs:&meshlib::EdgeSegmentd) const -> bool
auto sym () const -> meshlib::Owned< meshlib::EdgeSegmentd >
auto e () const -> &meshlib::EdgeId
auto e_mut () -> &mut meshlib::EdgeId
void set_e (value:meshlib::EdgeId)
auto a () const -> &meshlib::SegmPointd
auto a_mut () -> &mut meshlib::SegmPointd
void set_a (value:&meshlib::SegmPointd)
auto b () const -> &meshlib::SegmPointd
auto b_mut () -> &mut meshlib::SegmPointd
void set_b (value:&meshlib::SegmPointd)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::EdgeSegmentd >
static auto construct_from_another (_other:&meshlib::EdgeSegmentd) -> meshlib::Owned< meshlib::EdgeSegmentd >
static auto construct (e:meshlib::EdgeId, a:Option< f64 >, b:Option< f64 >) -> meshlib::Owned< meshlib::EdgeSegmentd >
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

Represents a segment on one edge Generated from class MR::EdgeSegmentd.

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

Member Function Documentation

◆ a()

auto meshlib::EdgeSegmentd::a ( ) const -> &meshlib::SegmPointd

start of the segment Returns a pointer to a member variable of class MR::EdgeSegmentd named a.

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

◆ a_mut()

auto meshlib::EdgeSegmentd::a_mut ( ) -> &mut meshlib::SegmPointd

start of the segment Returns a mutable pointer to a member variable of class MR::EdgeSegmentd named a.

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

◆ assign_from_another()

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

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

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

◆ b()

auto meshlib::EdgeSegmentd::b ( ) const -> &meshlib::SegmPointd

end of the segment Returns a pointer to a member variable of class MR::EdgeSegmentd named b.

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

◆ b_mut()

auto meshlib::EdgeSegmentd::b_mut ( ) -> &mut meshlib::SegmPointd

end of the segment Returns a mutable pointer to a member variable of class MR::EdgeSegmentd named b.

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

◆ construct()

auto meshlib::EdgeSegmentd::construct ( e:meshlib::EdgeId ,
a:Option< f64 > ,
b:Option< f64 >  ) -> meshlib::Owned< meshlib::EdgeSegmentd >
static

Generated from constructor MR::EdgeSegmentd::EdgeSegmentd.

Calls MR_EdgeSegmentd_Construct(). The reference to the parameter e might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::EdgeSegmentd::EdgeSegmentd.

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

◆ e()

auto meshlib::EdgeSegmentd::e ( ) const -> &meshlib::EdgeId

id of the edge Returns a pointer to a member variable of class MR::EdgeSegmentd named e.

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

◆ e_mut()

auto meshlib::EdgeSegmentd::e_mut ( ) -> &mut meshlib::EdgeId

id of the edge Returns a mutable pointer to a member variable of class MR::EdgeSegmentd named e.

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

◆ edge_point_a()

auto meshlib::EdgeSegmentd::edge_point_a ( ) const -> meshlib::Owned< meshlib::EdgePointd >

returns starting EdgePoint Generated from method MR::EdgeSegmentd::edgePointA.

Calls MR_EdgeSegmentd_edgePointA().

◆ edge_point_b()

auto meshlib::EdgeSegmentd::edge_point_b ( ) const -> meshlib::Owned< meshlib::EdgePointd >

returns ending EdgePoint Generated from method MR::EdgeSegmentd::edgePointB.

Calls MR_EdgeSegmentd_edgePointB().

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_EdgeSegmentd_DefaultConstruct().

◆ op_equal()

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

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

Calls MR_equal_MR_EdgeSegmentd().

◆ op_not_equal()

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

Generated from method MR::EdgeSegmentd::operator!=.

Calls MR_not_equal_MR_EdgeSegmentd().

◆ set_a()

void meshlib::EdgeSegmentd::set_a ( value:&meshlib::SegmPointd )

start of the segment Modifies a member variable of class MR::EdgeSegmentd named a.

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

◆ set_b()

void meshlib::EdgeSegmentd::set_b ( value:&meshlib::SegmPointd )

end of the segment Modifies a member variable of class MR::EdgeSegmentd named b.

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

◆ set_e()

void meshlib::EdgeSegmentd::set_e ( value:meshlib::EdgeId )

id of the edge Modifies a member variable of class MR::EdgeSegmentd named e.

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

◆ sym()

auto meshlib::EdgeSegmentd::sym ( ) const -> meshlib::Owned< meshlib::EdgeSegmentd >

represents the same segment relative to sym edge in Generated from method MR::EdgeSegmentd::sym.

Calls MR_EdgeSegmentd_sym().

◆ valid()

auto meshlib::EdgeSegmentd::valid ( ) const -> bool

returns true if the edge is valid and start point is less than end point Generated from method MR::EdgeSegmentd::valid.

Calls MR_EdgeSegmentd_valid().


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