56 explicit SortedFace(std::vector<OpenVolumeMesh::VertexHandle>
const& face)
59 std::sort(v.begin(), v.end());
70 std::sort(v.begin(), v.end());
73 std::vector<OpenVolumeMesh::VertexHandle> v;
78 return std::lexicographical_compare(f1.v.begin(), f1.v.end(),
79 f2.v.begin(), f2.v.end());
86 unsigned const n_x,
unsigned const n_y,
unsigned const n_z);
89 void add_vertices(
Vector const& position,
Vector const& length);
90 void get_cube_vertices(std::size_t i, std::size_t j, std::size_t k,
91 std::vector<OpenVolumeMesh::VertexHandle>& v)
const;
94 void add_cube_type_1_faces(std::size_t i, std::size_t j, std::size_t k,
95 std::vector<OpenVolumeMesh::VertexHandle>
const& v);
96 void add_cube_type_2_faces(std::size_t i, std::size_t j, std::size_t k,
97 std::vector<OpenVolumeMesh::VertexHandle>
const& v);
100 void add_cube_type_1_cells(std::size_t i, std::size_t j, std::size_t k,
101 std::vector<OpenVolumeMesh::VertexHandle>
const& v);
102 void add_cube_type_2_cells(std::size_t i, std::size_t j, std::size_t k,
103 std::vector<OpenVolumeMesh::VertexHandle>
const& v);
107 std::size_t size_[3];
108 std::vector<OpenVolumeMesh::VertexHandle> vertices_;
109 std::map<SortedFace, OpenVolumeMesh::FaceHandle> faces_;