Add free dual function

This commit is contained in:
Philipp Möller 2016-02-02 15:24:43 +01:00
parent 44fdb662b0
commit ed17a8f57d
1 changed files with 9 additions and 0 deletions

View File

@ -66,6 +66,15 @@ public:
{ return primal_; }
};
/*!
Construct a `Dual` from a given `primal`.
\relates CGAL::Dual
*/
template<typename Primal>
Dual<Primal> dual(const Primal& primal)
{ return Dual<Primal>(primal); }
} // namespace CGAL
namespace boost {