1 #include <gtest/gtest.h> 2 #include <Unittests/unittests_common.hh> 24 virtual void SetUp() {
30 virtual void TearDown() {
63 std::vector<TriMeshVec2i::VertexHandle> face_vhandles;
65 face_vhandles.push_back(vhandle[0]);
66 face_vhandles.push_back(vhandle[1]);
67 face_vhandles.push_back(vhandle[2]);
68 mesh_.add_face(face_vhandles);
78 mesh_.request_vertex_normals();
79 mesh_.request_halfedge_normals();
80 mesh_.request_face_normals();
Kernel::VertexHandle VertexHandle
Handle for referencing the corresponding item.
VertexHandle add_vertex(const Point &_p)
Alias for new_vertex(const Point&).
Kernel::Point Point
Coordinate type.