Wildmeshing Toolkit
FacesIterable.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #include <wmtk/Mesh.hpp>
6 
7 namespace wmtk::simplex {
8 
9 
11 {
12 public:
13  FacesIterable(const Mesh& mesh, const Simplex& simplex);
14 
15  auto begin() { return m_collection.simplex_vector().begin(); }
16  auto end() { return m_collection.simplex_vector().end(); }
17 
18 private:
20 };
21 
22 } // namespace wmtk::simplex
FacesIterable(const Mesh &mesh, const Simplex &simplex)
SimplexCollection m_collection
const std::vector< Simplex > & simplex_vector() const
Return const reference to the simplex vector.