mirror of https://github.com/CGAL/cgal
add also some FT
This commit is contained in:
parent
4045ec3e30
commit
83eebfec32
|
|
@ -96,11 +96,12 @@ namespace CGAL {
|
||||||
{
|
{
|
||||||
typedef typename AK::Root_of_2 Root_of_2;
|
typedef typename AK::Root_of_2 Root_of_2;
|
||||||
typedef typename AK::Root_for_spheres_2_3 Root_for_spheres_2_3;
|
typedef typename AK::Root_for_spheres_2_3 Root_for_spheres_2_3;
|
||||||
|
typedef typename AK::FT FT;
|
||||||
|
|
||||||
*res++ = Root_for_spheres_2_3(make_root_of_2(s.a(),-1,s.r_sq()),
|
*res++ = Root_for_spheres_2_3(make_root_of_2(s.a(),FT(-1),s.r_sq()),
|
||||||
Root_of_2(s.b()),
|
Root_of_2(s.b()),
|
||||||
Root_of_2(s.c()));
|
Root_of_2(s.c()));
|
||||||
*res++ = Root_for_spheres_2_3(make_root_of_2(s.a(),1,s.r_sq()),
|
*res++ = Root_for_spheres_2_3(make_root_of_2(s.a(),FT(1),s.r_sq()),
|
||||||
Root_of_2(s.b()),
|
Root_of_2(s.b()),
|
||||||
Root_of_2(s.c()));
|
Root_of_2(s.c()));
|
||||||
return res;
|
return res;
|
||||||
|
|
@ -125,12 +126,13 @@ namespace CGAL {
|
||||||
{
|
{
|
||||||
typedef typename AK::Root_of_2 Root_of_2;
|
typedef typename AK::Root_of_2 Root_of_2;
|
||||||
typedef typename AK::Root_for_spheres_2_3 Root_for_spheres_2_3;
|
typedef typename AK::Root_for_spheres_2_3 Root_for_spheres_2_3;
|
||||||
|
typedef typename AK::FT FT;
|
||||||
|
|
||||||
*res++ = Root_for_spheres_2_3(Root_of_2(s.a()),
|
*res++ = Root_for_spheres_2_3(Root_of_2(s.a()),
|
||||||
make_root_of_2(s.b(),-1,s.r_sq()),
|
make_root_of_2(s.b(),FT(-1),s.r_sq()),
|
||||||
Root_of_2(s.c()));
|
Root_of_2(s.c()));
|
||||||
*res++ = Root_for_spheres_2_3(Root_of_2(s.a()),
|
*res++ = Root_for_spheres_2_3(Root_of_2(s.a()),
|
||||||
make_root_of_2(s.b(),1,s.r_sq()),
|
make_root_of_2(s.b(),FT(1),s.r_sq()),
|
||||||
Root_of_2(s.c()));
|
Root_of_2(s.c()));
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
@ -153,13 +155,14 @@ namespace CGAL {
|
||||||
{
|
{
|
||||||
typedef typename AK::Root_of_2 Root_of_2;
|
typedef typename AK::Root_of_2 Root_of_2;
|
||||||
typedef typename AK::Root_for_spheres_2_3 Root_for_spheres_2_3;
|
typedef typename AK::Root_for_spheres_2_3 Root_for_spheres_2_3;
|
||||||
|
typedef typename AK::FT FT;
|
||||||
|
|
||||||
*res++ = Root_for_spheres_2_3(Root_of_2(s.a()),
|
*res++ = Root_for_spheres_2_3(Root_of_2(s.a()),
|
||||||
Root_of_2(s.b()),
|
Root_of_2(s.b()),
|
||||||
make_root_of_2(s.c(),-1,s.r_sq()));
|
make_root_of_2(s.c(),FT(-1),s.r_sq()));
|
||||||
*res++ = Root_for_spheres_2_3(Root_of_2(s.a()),
|
*res++ = Root_for_spheres_2_3(Root_of_2(s.a()),
|
||||||
Root_of_2(s.b()),
|
Root_of_2(s.b()),
|
||||||
make_root_of_2(s.c(),1,s.r_sq()));
|
make_root_of_2(s.c(),FT(1),s.r_sq()));
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue