Wildmeshing Toolkit
Dart.cpp
Go to the documentation of this file.
1 #include "Dart.hpp"
2 #include <fmt/format.h>
3 #include <ostream>
4 namespace wmtk::autogen {
5 
6  Dart::operator std::string() const {
7  return fmt::format("Dart[{}:{}]", global_id(),local_orientation());
8  }
9 }
10 std::ostream& operator<<(std::ostream& out, wmtk::autogen::Dart const& dart) {
11  out << std::string(dart);
12  return out;
13 }
std::ostream & operator<<(std::ostream &out, wmtk::autogen::Dart const &dart)
Definition: Dart.cpp:10