- Small cleanup.

This commit is contained in:
Sylvain Pion 2003-01-20 15:55:29 +00:00
parent 51dbd65195
commit b75853998f
1 changed files with 7 additions and 7 deletions

View File

@ -27,10 +27,16 @@
//
// TODO:
// - at the moment, it's restricted to IA filtering, but this should be
// generalized to allow filters (static...).
// generalized to allow other kinds of filters (static...).
// - at the moment, only the predicates are filtered.
// Constructions will come later.
// - the kernel only works with traits only and as a pure traits only.
// However it should be easy (and desirable for anything using
// Kernel_traits<>) to have the type equality.
// Having the global functions working is another story...
// - The converters are more a property of the types rather than anything else,
// so maybe they should not be passed as template parameter, but use a
// traits-like mecanism ?
#include <CGAL/basic.h>
#include <CGAL/Filtered_predicate.h>
@ -77,12 +83,6 @@ public:
C2E, C2F> P; \
P Pf() const { return P(); }
// The following could be used instead for some Cartesian predicates
// that are exact : compare* and exact*.
#define CGAL_Filter_already_exact_pred(P, Pf) \
typedef typename CK::P P; \
P Pf() const { return P(); }
#define CGAL_Filter_cons(C, Cf) \
typedef typename CK::C C; \
C Cf() const { return C(); }