mirror of https://github.com/CGAL/cgal
added function CGAL::modular_image
This commit is contained in:
parent
ef862d658e
commit
c7a76c726a
|
|
@ -45,6 +45,15 @@ public:
|
|||
typedef ::CGAL::Null_functor Modular_image_inv;
|
||||
};
|
||||
|
||||
template <class NT>
|
||||
inline
|
||||
typename CGAL::Modular_traits<NT>::Modular_NT
|
||||
modular_image(const NT& x){
|
||||
typename CGAL::Modular_traits<NT>::Modular_image modular_image;
|
||||
return modular_image(x);
|
||||
}
|
||||
|
||||
|
||||
// The MODULAR_TRAITS specializations for some builtin types
|
||||
// =========================================================================
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue