mirror of https://github.com/CGAL/cgal
hack to get homogeneous coordinates
This commit is contained in:
parent
b9af149293
commit
6e10080f95
|
|
@ -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_> {
|
||||
|
|
|
|||
Loading…
Reference in New Issue