From d9ef84a33adab0c2edcf5ce3000094d48e6982fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mael=20Rouxel-Labb=C3=A9?= Date: Sun, 22 Oct 2017 23:31:28 +0200 Subject: [PATCH] Added triangle() to P3_mesh_triangulation_3 --- .../include/CGAL/Periodic_3_mesh_triangulation_3.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Periodic_3_mesh_3/include/CGAL/Periodic_3_mesh_triangulation_3.h b/Periodic_3_mesh_3/include/CGAL/Periodic_3_mesh_triangulation_3.h index 4f3f0f61a30..b048bdf9cc7 100644 --- a/Periodic_3_mesh_3/include/CGAL/Periodic_3_mesh_triangulation_3.h +++ b/Periodic_3_mesh_3/include/CGAL/Periodic_3_mesh_triangulation_3.h @@ -123,6 +123,7 @@ public: using Base::incident_facets; using Base::insert_dummy_points; using Base::number_of_vertices; + using Base::periodic_triangle; using Base::periodic_tetrahedron; using Base::point; using Base::tds; @@ -268,6 +269,12 @@ public: return robust_canonicalize_point(p); } + Triangle triangle(const Facet& f) const + { + Periodic_triangle ptri = periodic_triangle(f); + return construct_triangle(ptri); + } + Tetrahedron tetrahedron(const Cell_handle c) const { Periodic_tetrahedron ptet = periodic_tetrahedron(c);