Public Member Functions | |
| auto | convert_to_std_array_mr_vert_id_3_ref () -> &mut meshlib::std_array_MR_VertId_3 |
| auto | convert_to_const_std_array_mr_vert_id_3_ref () const -> &meshlib::std_array_MR_VertId_3 |
| auto | assign_from_another (_other:&meshlib::UnorientedTriangle) -> &mut meshlib::UnorientedTriangle |
| auto | get_flipped () const -> meshlib::std_array_MR_VertId_3 |
| auto | index_mut (i:usize) -> &mut meshlib::VertId |
| auto | index (i:usize) const -> &meshlib::VertId |
| auto | verts () const -> &meshlib::std_array_MR_VertId_3 |
| auto | verts_mut () -> &mut meshlib::std_array_MR_VertId_3 |
| void | set_verts (value:meshlib::std_array_MR_VertId_3) |
Static Public Member Functions | |
| static auto | construct_from_another (_other:&meshlib::UnorientedTriangle) -> meshlib::Owned< meshlib::UnorientedTriangle > |
| static auto | construct (inVs:&meshlib::std_array_MR_VertId_3, outFlipped:Option<&mut bool >) -> meshlib::Owned< meshlib::UnorientedTriangle > |
| 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 |
describes a triangle as three vertex IDs sorted in a way to quickly find same triangles irrespective of vertex order (clockwise or counterclockwise) Generated from class MR::UnorientedTriangle.
Generated from class MR::UnorientedTriangle. Heap-allocated instances are held in Owned<UnorientedTriangle>.
| auto meshlib::UnorientedTriangle::assign_from_another | ( | _other:&meshlib::UnorientedTriangle | ) | -> &mut meshlib::UnorientedTriangle |
Generated from method MR::UnorientedTriangle::operator=.
Calls MR_UnorientedTriangle_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Generated from constructor MR::UnorientedTriangle::UnorientedTriangle.
Calls MR_UnorientedTriangle_Construct(). The reference to the parameter inVs might be preserved in the constructed object. The reference to the parameter outFlipped might be preserved in the constructed object.
|
static |
Generated from constructor MR::UnorientedTriangle::UnorientedTriangle.
Calls MR_UnorientedTriangle_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::UnorientedTriangle::convert_to_const_std_array_mr_vert_id_3_ref | ( | ) | const -> &meshlib::std_array_MR_VertId_3 |
Generated from conversion operator MR::UnorientedTriangle::operator const std::array<MR::VertId, 3> &.
Calls MR_UnorientedTriangle_ConvertTo_const_std_array_MR_VertId_3_ref().
| auto meshlib::UnorientedTriangle::convert_to_std_array_mr_vert_id_3_ref | ( | ) | -> &mut meshlib::std_array_MR_VertId_3 |
Generated from conversion operator MR::UnorientedTriangle::operator std::array<MR::VertId, 3> &.
Calls MR_UnorientedTriangle_ConvertTo_std_array_MR_VertId_3_ref().
| auto meshlib::UnorientedTriangle::get_flipped | ( | ) | const -> meshlib::std_array_MR_VertId_3 |
returns this triangle with the opposite orientation Generated from method MR::UnorientedTriangle::getFlipped.
Calls MR_UnorientedTriangle_getFlipped().
| auto meshlib::UnorientedTriangle::index | ( | i:usize | ) | const -> &meshlib::VertId |
Generated from method MR::UnorientedTriangle::operator[].
Calls MR_UnorientedTriangle_index().
| auto meshlib::UnorientedTriangle::index_mut | ( | i:usize | ) | -> &mut meshlib::VertId |
Generated from method MR::UnorientedTriangle::operator[].
Calls MR_UnorientedTriangle_index_mut().
| void meshlib::UnorientedTriangle::set_verts | ( | value:meshlib::std_array_MR_VertId_3 | ) |
Modifies a member variable of class MR::UnorientedTriangle named verts.
Calls MR_UnorientedTriangle_Set_verts(). The reference to the parameter value might be preserved in this object in element verts.
| auto meshlib::UnorientedTriangle::verts | ( | ) | const -> &meshlib::std_array_MR_VertId_3 |
Returns a pointer to a member variable of class MR::UnorientedTriangle named verts.
Calls MR_UnorientedTriangle_Get_verts(). The reference to this object might be preserved as the return value.
| auto meshlib::UnorientedTriangle::verts_mut | ( | ) | -> &mut meshlib::std_array_MR_VertId_3 |
Returns a mutable pointer to a member variable of class MR::UnorientedTriangle named verts.
Calls MR_UnorientedTriangle_GetMutable_verts(). The reference to this object might be preserved as the return value.