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);
|
return this->kernel().compute_coordinate_d_object()(p,i);
|
||||||
}
|
}
|
||||||
RT homogeneous(Point_d const&p, int i){
|
RT homogeneous(Point_d const&p, int i){
|
||||||
throw "not implemented yet";
|
if (i == dimension(p))
|
||||||
return 0;
|
return 1;
|
||||||
// FIXME
|
return cartesian(p);
|
||||||
//return this->kernel().compute_coordinate_d_object()(p,i);
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
struct Construct_cartesian_const_iterator_d : private Store_kernel<R_> {
|
struct Construct_cartesian_const_iterator_d : private Store_kernel<R_> {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue