Wildmeshing Toolkit
|
#include <IdSimplex.hpp>
Public Member Functions | |
IdSimplex ()=default | |
IdSimplex (const NavigatableSimplex &s) | |
bool | valid () const |
PrimitiveType | primitive_type () const |
int64_t | dimension () const |
bool | operator< (const IdSimplex &o) const |
bool | operator== (const IdSimplex &o) const |
bool | operator!= (const IdSimplex &o) const |
Protected Member Functions | |
int64_t | index () const |
IdSimplex (PrimitiveType pt, int64_t index) | |
Static Protected Member Functions | |
static int64_t | id (const Mesh &m, PrimitiveType pt, const Tuple &t) |
Private Member Functions | |
decltype(auto) | as_tuple () const |
Private Attributes | |
PrimitiveType | m_primitive_type = PrimitiveType::Vertex |
int64_t | m_index = -1 |
Friends | |
class | wmtk::Mesh |
class | NavigatableSimplex |
class | Mesh |
Definition at line 14 of file IdSimplex.hpp.
|
default |
wmtk::simplex::IdSimplex::IdSimplex | ( | const NavigatableSimplex & | s | ) |
Definition at line 6 of file IdSimplex.cpp.
|
inlineprotected |
Definition at line 35 of file IdSimplex.hpp.
|
inlineprivate |
Definition at line 47 of file IdSimplex.hpp.
References m_index, and m_primitive_type.
Referenced by operator!=(), operator<(), and operator==().
|
inline |
Definition at line 24 of file IdSimplex.hpp.
References wmtk::get_primitive_type_id(), and m_primitive_type.
|
staticprotected |
Definition at line 10 of file IdSimplex.cpp.
References wmtk::Mesh::id().
|
inlineprotected |
Definition at line 32 of file IdSimplex.hpp.
References m_index.
Referenced by wmtk::Mesh::get_simplex(), wmtk::Mesh::get_tuple_from_id_simplex(), and wmtk::Mesh::id().
|
inline |
Definition at line 58 of file IdSimplex.hpp.
References as_tuple().
|
inline |
Definition at line 50 of file IdSimplex.hpp.
References as_tuple().
|
inline |
Definition at line 54 of file IdSimplex.hpp.
References as_tuple().
|
inline |
Definition at line 23 of file IdSimplex.hpp.
References m_primitive_type.
Referenced by wmtk::Mesh::get_simplex(), wmtk::Mesh::get_tuple_from_id_simplex(), and wmtk::attribute::Accessor< T, MeshType, Dim >::index().
|
inline |
Definition at line 21 of file IdSimplex.hpp.
References m_index.
|
friend |
Definition at line 31 of file IdSimplex.hpp.
|
friend |
Definition at line 18 of file IdSimplex.hpp.
|
friend |
Definition at line 17 of file IdSimplex.hpp.
|
private |
Definition at line 44 of file IdSimplex.hpp.
Referenced by as_tuple(), index(), and valid().
|
private |
Definition at line 43 of file IdSimplex.hpp.
Referenced by as_tuple(), dimension(), and primitive_type().