hack to get homogeneous coordinates

This commit is contained in:
Marc Glisse 2014-02-09 12:18:42 +01:00
parent b9af149293
commit 6e10080f95
1 changed files with 3 additions and 4 deletions

View File

@ -71,10 +71,9 @@ template <class Base_> struct Kernel_d_interface : public Base_ {
return this->kernel().compute_coordinate_d_object()(p,i);
}
RT homogeneous(Point_d const&p, int i){
throw "not implemented yet";
return 0;
// FIXME
//return this->kernel().compute_coordinate_d_object()(p,i);
if (i == dimension(p))
return 1;
return cartesian(p);
}
};
struct Construct_cartesian_const_iterator_d : private Store_kernel<R_> {