Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::TriMesh) -> &mut meshlib::TriMesh |
| auto | tris () const -> &meshlib::Triangulation |
| auto | tris_mut () -> &mut meshlib::Triangulation |
| void | set_tris (value:&meshlib::Triangulation) |
| auto | points () const -> &meshlib::VertCoords |
| auto | points_mut () -> &mut meshlib::VertCoords |
| void | set_points (value:&meshlib::VertCoords) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::TriMesh > |
| static auto | construct_from (tris:&meshlib::Triangulation, points:&meshlib::VertCoords) -> meshlib::Owned< meshlib::TriMesh > |
| static auto | construct_from_another (_other:&meshlib::TriMesh) -> meshlib::Owned< meshlib::TriMesh > |
| 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 |
very simple structure for storing mesh of triangles only, without easy navigation between neighbor elements as in Mesh Generated from class MR::TriMesh.
Generated from class MR::TriMesh. Heap-allocated instances are held in Owned<TriMesh>.
| auto meshlib::TriMesh::assign_from_another | ( | _other:&meshlib::TriMesh | ) | -> &mut meshlib::TriMesh |
Generated from method MR::TriMesh::operator=.
Calls MR_TriMesh_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Constructs MR::TriMesh elementwise.
Calls MR_TriMesh_ConstructFrom(). The reference to the parameter tris might be preserved in the constructed object. The reference to the parameter points might be preserved in the constructed object.
|
static |
Generated from constructor MR::TriMesh::TriMesh.
Calls MR_TriMesh_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_TriMesh_DefaultConstruct().
| auto meshlib::TriMesh::points | ( | ) | const -> &meshlib::VertCoords |
Returns a pointer to a member variable of class MR::TriMesh named points.
Calls MR_TriMesh_Get_points(). The reference to this object might be preserved as the return value.
| auto meshlib::TriMesh::points_mut | ( | ) | -> &mut meshlib::VertCoords |
Returns a mutable pointer to a member variable of class MR::TriMesh named points.
Calls MR_TriMesh_GetMutable_points(). The reference to this object might be preserved as the return value.
| void meshlib::TriMesh::set_points | ( | value:&meshlib::VertCoords | ) |
Modifies a member variable of class MR::TriMesh named points.
Calls MR_TriMesh_Set_points(). The reference to the parameter value might be preserved in this object in element points.
| void meshlib::TriMesh::set_tris | ( | value:&meshlib::Triangulation | ) |
Modifies a member variable of class MR::TriMesh named tris.
Calls MR_TriMesh_Set_tris(). The reference to the parameter value might be preserved in this object in element tris.
| auto meshlib::TriMesh::tris | ( | ) | const -> &meshlib::Triangulation |
Returns a pointer to a member variable of class MR::TriMesh named tris.
Calls MR_TriMesh_Get_tris(). The reference to this object might be preserved as the return value.
| auto meshlib::TriMesh::tris_mut | ( | ) | -> &mut meshlib::Triangulation |
Returns a mutable pointer to a member variable of class MR::TriMesh named tris.
Calls MR_TriMesh_GetMutable_tris(). The reference to this object might be preserved as the return value.