#ifndef MODELS_HPP_ #define MODELS_HPP_ #include #include #include #include "./Relation.hpp" struct Model { std::string filename; std::vector faces; }; struct pnt { size_t i; size_t j; }; struct result { struct pnt x; struct pnt y; Relation res; }; bool operator==(struct pnt a, struct pnt b); bool operator!=(struct pnt a, struct pnt b); struct pntHash { std::size_t operator()(const pnt &p) const { return std::hash()(p.i) ^ (std::hash()(p.j) << 1); } }; bool ckFaceHasAnyOtherRels(const std::vector &results, const pnt f); std::vector readFiles(const std::vector &names); std::string facename(std::vector m, struct pnt p); std::string st(const std::string &c, const std::string &a, const std::string &b); std::string statements(struct result r, std::vector faces); #endif // MODELS_HPP_