49 explicit SortedFace(std::vector<OpenVolumeMesh::VertexHandle>
const& face)
52 std::sort(v.begin(), v.end());
63 std::sort(v.begin(), v.end());
66 std::vector<OpenVolumeMesh::VertexHandle> v;
71 return std::lexicographical_compare(f1.v.begin(), f1.v.end(),
72 f2.v.begin(), f2.v.end());
79 unsigned const n_x,
unsigned const n_y,
unsigned const n_z);
82 void add_vertices(
Vector const& position,
Vector const& length);
83 void get_cube_vertices(std::size_t i, std::size_t j, std::size_t k,
84 std::vector<OpenVolumeMesh::VertexHandle>& v)
const;
87 void add_cube_type_1_faces(std::size_t i, std::size_t j, std::size_t k,
88 std::vector<OpenVolumeMesh::VertexHandle>
const& v);
89 void add_cube_type_2_faces(std::size_t i, std::size_t j, std::size_t k,
90 std::vector<OpenVolumeMesh::VertexHandle>
const& v);
93 void add_cube_type_1_cells(std::size_t i, std::size_t j, std::size_t k,
94 std::vector<OpenVolumeMesh::VertexHandle>
const& v);
95 void add_cube_type_2_cells(std::size_t i, std::size_t j, std::size_t k,
96 std::vector<OpenVolumeMesh::VertexHandle>
const& v);
100 std::size_t size_[3];
101 std::vector<OpenVolumeMesh::VertexHandle> vertices_;
102 std::map<SortedFace, OpenVolumeMesh::FaceHandle> faces_;