mirror of https://github.com/CGAL/cgal
- Small cleanup.
This commit is contained in:
parent
51dbd65195
commit
b75853998f
|
|
@ -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(); }
|
||||
|
|
|
|||
Loading…
Reference in New Issue