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

Public Member Functions

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

Static Public Member Functions

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

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

Member Function Documentation

◆ a()

auto meshlib::EdgeSegment::a ( ) const -> &meshlib::SegmPointf

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

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

◆ a_mut()

auto meshlib::EdgeSegment::a_mut ( ) -> &mut meshlib::SegmPointf

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

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

◆ assign_from_another()

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

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

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

◆ b()

auto meshlib::EdgeSegment::b ( ) const -> &meshlib::SegmPointf

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

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

◆ b_mut()

auto meshlib::EdgeSegment::b_mut ( ) -> &mut meshlib::SegmPointf

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

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

◆ construct()

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

Generated from constructor MR::EdgeSegment::EdgeSegment.

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

◆ construct_from_another()

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

Generated from constructor MR::EdgeSegment::EdgeSegment.

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

◆ e()

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

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

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

◆ e_mut()

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

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

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

◆ edge_point_a()

auto meshlib::EdgeSegment::edge_point_a ( ) const -> meshlib::Owned< meshlib::EdgePoint >

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

Calls MR_EdgeSegment_edgePointA().

◆ edge_point_b()

auto meshlib::EdgeSegment::edge_point_b ( ) const -> meshlib::Owned< meshlib::EdgePoint >

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

Calls MR_EdgeSegment_edgePointB().

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_EdgeSegment_DefaultConstruct().

◆ op_equal()

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

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

Calls MR_equal_MR_EdgeSegment().

◆ op_not_equal()

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

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

Calls MR_not_equal_MR_EdgeSegment().

◆ set_a()

void meshlib::EdgeSegment::set_a ( value:&meshlib::SegmPointf )

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

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

◆ set_b()

void meshlib::EdgeSegment::set_b ( value:&meshlib::SegmPointf )

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

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

◆ set_e()

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

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

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

◆ sym()

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

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

Calls MR_EdgeSegment_sym().

◆ valid()

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

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

Calls MR_EdgeSegment_valid().


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