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