mirror of https://github.com/CGAL/cgal
Fixing Lazy for Circle_3
This commit is contained in:
parent
cdb365613b
commit
4527058121
|
|
@ -78,6 +78,9 @@ public:
|
||||||
|
|
||||||
Circle_3() {}
|
Circle_3() {}
|
||||||
|
|
||||||
|
Circle_3(const Sphere_3& s, const Plane_3& p, int a)
|
||||||
|
: Rep(typename R::Construct_circle_3()(s,p,a)) {}
|
||||||
|
|
||||||
Circle_3(const Point_3& c, const FT& sr, const Plane_3& p)
|
Circle_3(const Point_3& c, const FT& sr, const Plane_3& p)
|
||||||
: Rep(typename R::Construct_circle_3()(c,sr,p)) {}
|
: Rep(typename R::Construct_circle_3()(c,sr,p)) {}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -805,6 +805,11 @@ namespace CommonKernelFunctors {
|
||||||
const Sphere_3& s) const
|
const Sphere_3& s) const
|
||||||
{ return Rep(p, s); }
|
{ return Rep(p, s); }
|
||||||
|
|
||||||
|
Rep
|
||||||
|
operator() (Return_base_tag, const Plane_3& p,
|
||||||
|
const Sphere_3& s, int a) const
|
||||||
|
{ return Rep(p, s, a); }
|
||||||
|
|
||||||
Circle_3
|
Circle_3
|
||||||
operator()(const Point_3& p, const FT& sr,
|
operator()(const Point_3& p, const FT& sr,
|
||||||
const Plane_3& plane) const
|
const Plane_3& plane) const
|
||||||
|
|
@ -831,6 +836,14 @@ namespace CommonKernelFunctors {
|
||||||
Circle_3
|
Circle_3
|
||||||
operator() (const Sphere_3& s, const Plane_3& p) const
|
operator() (const Sphere_3& s, const Plane_3& p) const
|
||||||
{ return this->operator()(Return_base_tag(), p, s); }
|
{ return this->operator()(Return_base_tag(), p, s); }
|
||||||
|
|
||||||
|
Circle_3
|
||||||
|
operator() (const Plane_3& p, const Sphere_3& s, int a) const
|
||||||
|
{ return this->operator()(Return_base_tag(), p, s, a); }
|
||||||
|
|
||||||
|
Circle_3
|
||||||
|
operator() (const Sphere_3& s, const Plane_3& p, int a) const
|
||||||
|
{ return this->operator()(Return_base_tag(), p, s, a); }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -59,7 +59,7 @@ main()
|
||||||
std::cout << "Testing 3d with Cartesian<Quotient<Precise_integer>> :";
|
std::cout << "Testing 3d with Cartesian<Quotient<Precise_integer>> :";
|
||||||
std::cout << std::endl;
|
std::cout << std::endl;
|
||||||
_test_3( Cls() );
|
_test_3( Cls() );
|
||||||
_test_cls_circle_3( Cls() ); // Only for Cartesian<FT>
|
_test_cls_circle_3( Cls() );
|
||||||
|
|
||||||
std::cout << "Testing new 2d with Cartesian<Quotient<Precise_integer>> :";
|
std::cout << "Testing new 2d with Cartesian<Quotient<Precise_integer>> :";
|
||||||
std::cout << std::endl;
|
std::cout << std::endl;
|
||||||
|
|
|
||||||
|
|
@ -40,6 +40,7 @@
|
||||||
#include "CGAL/_test_fct_coplanar_3.h"
|
#include "CGAL/_test_fct_coplanar_3.h"
|
||||||
#include "CGAL/_test_cls_iso_cuboid_3.h"
|
#include "CGAL/_test_cls_iso_cuboid_3.h"
|
||||||
#include "CGAL/_test_angle.h"
|
#include "CGAL/_test_angle.h"
|
||||||
|
#include "CGAL/_test_cls_circle_3.h"
|
||||||
|
|
||||||
#include "CGAL/_test_mf_plane_3_to_2d.h"
|
#include "CGAL/_test_mf_plane_3_to_2d.h"
|
||||||
|
|
||||||
|
|
@ -59,6 +60,7 @@ main()
|
||||||
std::cout << "Testing 3d with Lazy_kernel<Cartesian<Quotient<Precise_integer>>> :";
|
std::cout << "Testing 3d with Lazy_kernel<Cartesian<Quotient<Precise_integer>>> :";
|
||||||
std::cout << std::endl;
|
std::cout << std::endl;
|
||||||
_test_3( Cls() );
|
_test_3( Cls() );
|
||||||
|
_test_cls_circle_3( Cls() );
|
||||||
|
|
||||||
std::cout << "Testing new 2d with Lazy_kernel<Cartesian<Quotient<Precise_integer>>> :";
|
std::cout << "Testing new 2d with Lazy_kernel<Cartesian<Quotient<Precise_integer>>> :";
|
||||||
std::cout << std::endl;
|
std::cout << std::endl;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue