- Move more code to the "user classes".

This commit is contained in:
Sylvain Pion
2006-08-01 13:17:03 +00:00
parent f874c309d9
commit a04f166f1f
14 changed files with 182 additions and 101 deletions
@@ -3560,8 +3560,9 @@ namespace HomogeneousKernelFunctors {
template <typename K>
class Orientation_3
{
typedef typename K::Point_3 Point_3;
typedef typename K::Vector_3 Vector_3;
typedef typename K::Point_3 Point_3;
typedef typename K::Vector_3 Vector_3;
typedef typename K::Tetrahedron_3 Tetrahedron_3;
public:
typedef typename K::Orientation result_type;
typedef Arity_tag< 4 > Arity;
@@ -3586,6 +3587,12 @@ namespace HomogeneousKernelFunctors {
v.hx(), v.hy(), v.hz(),
w.hx(), w.hy(), w.hz()));
}
result_type
operator()( const Tetrahedron_3& t) const
{
return t.rep().orientation();
}
};