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 |
Represents a segment on one edge Generated from class MR::EdgeSegment.
Generated from class MR::EdgeSegment. Heap-allocated instances are held in Owned<EdgeSegment>.
| 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.
| 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.
| 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.
| 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.
| 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.
|
static |
Generated from constructor MR::EdgeSegment::EdgeSegment.
Calls MR_EdgeSegment_Construct(). The reference to the parameter e might be preserved in the constructed object.
|
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.
| 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.
| 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.
| auto meshlib::EdgeSegment::edge_point_a | ( | ) | const -> meshlib::Owned< meshlib::EdgePoint > |
returns starting EdgePoint Generated from method MR::EdgeSegment::edgePointA.
Calls MR_EdgeSegment_edgePointA().
| auto meshlib::EdgeSegment::edge_point_b | ( | ) | const -> meshlib::Owned< meshlib::EdgePoint > |
returns ending EdgePoint Generated from method MR::EdgeSegment::edgePointB.
Calls MR_EdgeSegment_edgePointB().
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_EdgeSegment_DefaultConstruct().
| auto meshlib::EdgeSegment::op_equal | ( | rhs:&meshlib::EdgeSegment | ) | const -> bool |
Generated from method MR::EdgeSegment::operator==.
Calls MR_equal_MR_EdgeSegment().
| auto meshlib::EdgeSegment::op_not_equal | ( | rhs:&meshlib::EdgeSegment | ) | const -> bool |
Generated from method MR::EdgeSegment::operator!=.
Calls MR_not_equal_MR_EdgeSegment().
| 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.
| 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.
| 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.
| 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().
| 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().