mirror of https://github.com/CGAL/cgal
Add free dual function
This commit is contained in:
parent
44fdb662b0
commit
ed17a8f57d
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue