Wildmeshing Toolkit
Loading...
Searching...
No Matches
CofacesInSimplexIterable.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <wmtk/Mesh.hpp>
6
7namespace wmtk::simplex {
8
13{
14public:
16 {
17 public:
18 Iterator(const CofacesInSimplexIterable& container, const Tuple& t = Tuple());
20 bool operator!=(const Iterator& other) const;
22
23 private:
26 };
27
28public:
30 const Mesh& mesh,
31 const Simplex& simplex,
32 const PrimitiveType in_simplex_type);
33
34 Iterator begin() const { return Iterator(*this, m_simplex.tuple()); }
35 Iterator end() const { return Iterator(*this); }
36
37private:
38 const Mesh& m_mesh;
41};
42
43
44} // namespace wmtk::simplex
The Tuple is the basic navigation tool in our mesh data structure.
Definition Tuple.hpp:19
Get all cofaces that are in a specific simplex type.
const Tuple & tuple() const
Definition Simplex.hpp:53