Get rid of CGAL_REP_CLASS_DEFINED

This commit is contained in:
Sylvain Pion 2008-01-03 19:04:16 +00:00
parent 7b114599ad
commit 1af16e27f4
2 changed files with 3 additions and 7 deletions

View File

@ -97,6 +97,7 @@ random_convex_set_2( int n,
typedef typename Point_generator::value_type Point_2; typedef typename Point_generator::value_type Point_2;
return CGAL_random_convex_set_2(n, o, pg, reinterpret_cast<Point_2*>(0)); return CGAL_random_convex_set_2(n, o, pg, reinterpret_cast<Point_2*>(0));
} }
template < class OutputIterator, class Point_generator, class R > template < class OutputIterator, class Point_generator, class R >
inline inline
OutputIterator OutputIterator

View File

@ -29,11 +29,10 @@
#include <vector> #include <vector>
#include <algorithm> #include <algorithm>
#include <numeric> #include <numeric>
#ifdef CGAL_REP_CLASS_DEFINED
#include <CGAL/Random_convex_set_traits_2.h> #include <CGAL/Random_convex_set_traits_2.h>
#endif
CGAL_BEGIN_NAMESPACE CGAL_BEGIN_NAMESPACE
template < class OutputIterator, class Point_generator, class Traits > template < class OutputIterator, class Point_generator, class Traits >
OutputIterator OutputIterator
random_convex_set_2( int n, random_convex_set_2( int n,
@ -124,11 +123,7 @@ random_convex_set_2( int n,
bind2nd( Scale(), FT( pg.range()) / maxcoord)); bind2nd( Scale(), FT( pg.range()) / maxcoord));
} // random_convex_set_2( n, o, pg, t) } // random_convex_set_2( n, o, pg, t)
CGAL_END_NAMESPACE CGAL_END_NAMESPACE
#endif // ! (CGAL_RANDOM_CONVEX_SET_2_H) #endif // ! (CGAL_RANDOM_CONVEX_SET_2_H)
// ----------------------------------------------------------------------------
// ** EOF
// ----------------------------------------------------------------------------