|
| MeshFacets (Mesh &mesh) |
| MeshFacets constructor. More...
|
|
index_t | nb_vertices (index_t f) const |
| Gets the number of vertices of a facet. More...
|
|
index_t | vertex (index_t f, index_t lv) const |
| Gets a vertex by facet and local vertex index. More...
|
|
void | set_vertex (index_t f, index_t lv, index_t v) |
| Sets a vertex by facet and local vertex index. More...
|
|
index_t | find_vertex (index_t f, index_t v) const |
| Gets the local index of a vertex in a facet. More...
|
|
index_t | find_common_vertex (index_t f1, index_t f2) const |
| finds a common vertex shared by two facets More...
|
|
index_t | adjacent (index_t f, index_t le) const |
| Gets an adjacent facet by facet and local edge index. More...
|
|
index_t | find_adjacent (index_t f, index_t f2) const |
| Gets the local index of a facet adjacent to another one. More...
|
|
void | set_adjacent (index_t f, index_t le, index_t f2) |
| Sets an adjacent facet by facet and local edge index. More...
|
|
index_t | next_corner_around_facet (index_t f, index_t c) const |
| Gets the successor of a corner around a facet. More...
|
|
index_t | prev_corner_around_facet (index_t f, index_t c) const |
| Gets the predecessor of a corner around a facet. More...
|
|
index_t | find_edge (index_t f, index_t v1, index_t v2) |
| Finds an edge by vertex indices. More...
|
|
void | delete_elements (vector< index_t > &to_delete, bool remove_isolated_vertices=true) override |
| Deletes a set of elements. More...
|
|
void | permute_elements (vector< index_t > &permutation) override |
| Applies a permutation to the elements and their attributes. More...
|
|
void | clear (bool keep_attributes=true, bool keep_memory=false) override |
| Removes all the elements and attributes. More...
|
|
index_t | create_facets (index_t nb_facets, index_t nb_vertices_per_polygon) |
| Creates a contiguous chunk of facets. More...
|
|
void | reserve (index_t nb_to_reserve) |
| Reserves space for new facets. More...
|
|
index_t | create_triangles (index_t nb_triangles) |
| Creates a contiguous chunk of triangles. More...
|
|
index_t | create_quads (index_t nb_quads) |
| Creates a contiguous chunk of quads. More...
|
|
index_t | create_triangle (index_t v1, index_t v2, index_t v3) |
| Creates a triangle. More...
|
|
index_t | create_quad (index_t v1, index_t v2, index_t v3, index_t v4) |
| Creates a quad. More...
|
|
index_t | create_polygon (index_t nb_vertices) |
| Creates a polygonal facet. More...
|
|
index_t | create_polygon (index_t nb_vertices, const index_t *vertices) |
| Creates a polygonal facet. More...
|
|
index_t | create_polygon (const vector< index_t > &vertices) |
| Creates a polygonal facet. More...
|
|
void | connect () |
| Connects the facets.
|
|
void | triangulate () |
| Triangulates the facets. More...
|
|
void | flip (index_t f) |
| Flips a facet. More...
|
|
void | compute_borders () |
| Replaces the edges of this mesh with the borders of the surfacic part.
|
|
void | assign_triangle_mesh (coord_index_t dim, vector< double > &vertices, vector< index_t > &triangles, bool steal_args) |
| Copies a triangle mesh into this Mesh. More...
|
|
void | assign_triangle_mesh (vector< index_t > &triangles, bool steal_args) |
|
void | pop () override |
| Removes the last element.
|
|
index_range | corners (index_t f) const |
| Gets the corners of a facet. More...
|
|
| MeshFacetsStore (Mesh &mesh) |
|
index_t | corners_begin (index_t f) const |
| Gets the first element for iterating over the corners of a facet. More...
|
|
index_t | corners_end (index_t f) const |
| Gets the upper limit for iterating over the corners of a facet. More...
|
|
index_t | nb_corners (index_t f) const |
| Gets the number of corners in a facet. More...
|
|
index_t | corner (index_t f, index_t lv) const |
| Gets a corner by facet and local vertex index. More...
|
|
bool | are_simplices () const |
| Tests whether all the facets are triangles. More...
|
|
const index_t * | corners_begin_ptr (index_t f) const |
| Gets a pointer to the first element for iterating over the corners of a facet. More...
|
|
| MeshSubElementsStore (Mesh &mesh) |
| Constructs a new MeshSubElementStore. More...
|
|
virtual | ~MeshSubElementsStore () |
| MeshElementStore destructor.
|
|
index_t | nb () const |
| Gets the number of (sub-)elements. More...
|
|
AttributesManager & | attributes () const |
| Gets the attributes manager. More...
|
|
index_as_iterator | begin () const |
| Used by range-based for. More...
|
|
index_as_iterator | end () const |
| Used by range-based for. More...
|
|
The facets of a mesh.
Definition at line 1028 of file mesh.h.