From 47d6b3a24035fb0e77c85f3bbad1381178c86f7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Sun, 5 Jun 2022 19:06:23 +0200 Subject: [PATCH] add barycenter functor --- .../CGAL/Kernel_23/internal/Projection_traits_base_3.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Kernel_23/include/CGAL/Kernel_23/internal/Projection_traits_base_3.h b/Kernel_23/include/CGAL/Kernel_23/internal/Projection_traits_base_3.h index 6a59047bcec..93975795c57 100644 --- a/Kernel_23/include/CGAL/Kernel_23/internal/Projection_traits_base_3.h +++ b/Kernel_23/include/CGAL/Kernel_23/internal/Projection_traits_base_3.h @@ -462,6 +462,7 @@ public: typedef typename K::Construct_translated_point_3 Construct_translated_point_2; typedef typename K::Construct_midpoint_3 Construct_midpoint_2; typedef typename K::Construct_circumcenter_3 Construct_circumcenter_2; + typedef typename K::Construct_barycenter_3 Construct_barycenter_2; typedef typename K::Compute_area_3 Compute_area_2; typedef typename K::Construct_bbox_3 Construct_bbox_2; @@ -544,6 +545,9 @@ public: Construct_circumcenter_2 construct_circumcenter_2_object() const {return Construct_circumcenter_2();} + Construct_barycenter_2 construct_barycenter_2_object() const + {return Construct_barycenter_2();} + Construct_translated_point_2 construct_translated_point_2_object() const {return Construct_translated_point_2();}