Stores the facets of a mesh (low-level store)
More...
#include <geogram/mesh/mesh.h>
|
class | Mesh |
|
class | GeogramIOHandler |
|
Stores the facets of a mesh (low-level store)
Definition at line 753 of file mesh.h.
◆ are_simplices()
bool GEO::MeshFacetsStore::are_simplices |
( |
| ) |
const |
|
inline |
Tests whether all the facets are triangles.
When all the facets are triangles, storage and access is optimized.
- Return values
-
true | if all the facets are triangles |
false | otherwise |
Definition at line 809 of file mesh.h.
◆ clear_store()
void GEO::MeshFacetsStore::clear_store |
( |
bool |
keep_attributes, |
|
|
bool |
keep_memory = false |
|
) |
| |
|
overrideprotectedvirtual |
Removes all the elements and attributes.
- Parameters
-
[in] | keep_attributes | if true, then all the existing attribute names / bindings are kept (but they are cleared). If false, they are destroyed. |
[in] | keep_memory | if true, then memory is kept and can be reused by subsequent mesh element creations. |
Reimplemented from GEO::MeshSubElementsStore.
◆ corner()
Gets a corner by facet and local vertex index.
- Parameters
-
[in] | f | the facet |
[in] | lv | the local index of the vertex in facet f |
- Returns
- the
lvth
corner of facet f
- Precondition
- lv < nb_corners(f)
Definition at line 796 of file mesh.h.
◆ corners_begin()
Gets the first element for iterating over the corners of a facet.
- Parameters
-
- Returns
- the first corner of the facet
Definition at line 763 of file mesh.h.
◆ corners_begin_ptr()
const index_t* GEO::MeshFacetsStore::corners_begin_ptr |
( |
index_t |
f | ) |
const |
|
inline |
Gets a pointer to the first element for iterating over the corners of a facet.
- Parameters
-
- Returns
- a pointer to the first corner of the facet
Definition at line 819 of file mesh.h.
◆ corners_end()
Gets the upper limit for iterating over the corners of a facet.
- Parameters
-
- Returns
- one position past the last corner of the facet
Definition at line 774 of file mesh.h.
◆ nb_corners()
Gets the number of corners in a facet.
- Parameters
-
- Returns
- the number of corners in facet
f
Definition at line 784 of file mesh.h.
◆ resize_store()
void GEO::MeshFacetsStore::resize_store |
( |
index_t |
new_size | ) |
|
|
overrideprotectedvirtual |
The documentation for this class was generated from the following file: