From ed17a8f57dcbe180e77593c95166e3d335fda38b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20M=C3=B6ller?= Date: Tue, 2 Feb 2016 15:24:43 +0100 Subject: [PATCH] Add free dual function --- BGL/include/CGAL/boost/graph/Dual.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/BGL/include/CGAL/boost/graph/Dual.h b/BGL/include/CGAL/boost/graph/Dual.h index 8da49913742..0975b885738 100644 --- a/BGL/include/CGAL/boost/graph/Dual.h +++ b/BGL/include/CGAL/boost/graph/Dual.h @@ -66,6 +66,15 @@ public: { return primal_; } }; + +/*! + Construct a `Dual` from a given `primal`. + \relates CGAL::Dual + */ +template +Dual dual(const Primal& primal) +{ return Dual(primal); } + } // namespace CGAL namespace boost {