Construct_power_center_d -> Construct_power_sphere_d

Suggested by Laurent, approved by Monique
This commit is contained in:
Marc Glisse 2020-08-03 17:57:51 +02:00
parent 952e0d8af8
commit 75de5cfdef
4 changed files with 8 additions and 8 deletions

View File

@ -149,7 +149,7 @@ public:
template<class ForwardIterator>
Bounded_side operator()(ForwardIterator first, ForwardIterator last, const Weighted_point_d&p);
};
class Construct_power_center_d {
class Construct_power_sphere_d {
public:
/*! returns a weighted point on the affine hull of the weighted points of `A=tuple[first,last)` at power distance 0 of each of them. In other words, this returns the smallest sphere orthogonal to the spheres of A.
\pre A is affinely independent.
@ -168,7 +168,7 @@ Construct_circumcenter_d construct_circumcenter_d_object();
Compute_power_product_d compute_power_product_d_object();
Compute_squared_radius_d compute_squared_radius_d_object();
Compute_squared_radius_smallest_orthogonal_sphere_d compute_squared_radius_smallest_orthogonal_sphere_d_object();
Construct_power_center_d construct_power_center_d_object();
Construct_power_sphere_d construct_power_sphere_d_object();
Power_side_of_bounded_power_sphere_d power_side_of_bounded_power_sphere_d_object();
}; /* end Epeck_d */
} /* end namespace CGAL */

View File

@ -138,7 +138,7 @@ public:
template<class ForwardIterator>
Bounded_side operator()(ForwardIterator first, ForwardIterator last, const Weighted_point_d&p);
};
class Construct_power_center_d {
class Construct_power_sphere_d {
public:
/*! returns a weighted point on the affine hull of the weighted points of `A=tuple[first,last)` at power distance 0 of each of them. In other words, this returns the smallest sphere orthogonal to the spheres of A.
\pre A is affinely independent.
@ -157,7 +157,7 @@ Construct_circumcenter_d construct_circumcenter_d_object();
Compute_power_product_d compute_power_product_d_object();
Compute_squared_radius_d compute_squared_radius_d_object();
Compute_squared_radius_smallest_orthogonal_sphere_d compute_squared_radius_smallest_orthogonal_sphere_d_object();
Construct_power_center_d construct_power_center_d_object();
Construct_power_sphere_d construct_power_sphere_d_object();
Power_side_of_bounded_power_sphere_d power_side_of_bounded_power_sphere_d_object();
}; /* end Epick_d */
} /* end namespace CGAL */

View File

@ -59,7 +59,7 @@ template <class Base_> struct Kernel_d_interface : public Base_ {
typedef typename Get_functor<Base, Side_of_oriented_sphere_tag>::type Side_of_oriented_sphere_d;
typedef typename Get_functor<Base, Power_side_of_power_sphere_tag>::type Power_side_of_power_sphere_d;
typedef typename Get_functor<Base, Power_side_of_bounded_power_circumsphere_tag>::type Power_side_of_bounded_power_sphere_d;
typedef typename Get_functor<Base, Power_center_tag>::type Construct_power_center_d;
typedef typename Get_functor<Base, Power_center_tag>::type Construct_power_sphere_d;
typedef typename Get_functor<Base, Power_distance_tag>::type Compute_power_product_d;
typedef typename Get_functor<Base, Contained_in_affine_hull_tag>::type Contained_in_affine_hull_d;
typedef typename Get_functor<Base, Construct_flat_orientation_tag>::type Construct_flat_orientation_d;
@ -222,7 +222,7 @@ template <class Base_> struct Kernel_d_interface : public Base_ {
Side_of_oriented_sphere_d side_of_oriented_sphere_d_object()const{ return Side_of_oriented_sphere_d(*this); }
Power_side_of_power_sphere_d power_side_of_power_sphere_d_object()const{ return Power_side_of_power_sphere_d(*this); }
Power_side_of_bounded_power_sphere_d power_side_of_bounded_power_sphere_d_object()const{ return Power_side_of_bounded_power_sphere_d(*this); }
Construct_power_center_d construct_power_center_d_object()const{ return Construct_power_center_d(*this); }
Construct_power_sphere_d construct_power_sphere_d_object()const{ return Construct_power_sphere_d(*this); }
Compute_power_product_d compute_power_product_d_object()const{ return Compute_power_product_d(*this); }
Side_of_bounded_sphere_d side_of_bounded_sphere_d_object()const{ return Side_of_bounded_sphere_d(*this); }
Contained_in_affine_hull_d contained_in_affine_hull_d_object()const{ return Contained_in_affine_hull_d(*this); }

View File

@ -141,7 +141,7 @@ void test2(){
typedef typename K1::Construct_max_vertex_d CMV;
typedef typename K1::Compute_squared_radius_d SR;
typedef typename K1::Translated_point_d TP;
typedef typename K1::Construct_power_center_d PC;
typedef typename K1::Construct_power_sphere_d PC;
typedef typename K1::Compute_power_product_d PoD;
typedef typename K1::Construct_weighted_point_d CWP;
typedef typename K1::Power_side_of_bounded_power_sphere_d PSBPS;
@ -210,7 +210,7 @@ void test2(){
CMV cMv Kinit(construct_max_vertex_d_object);
SR sr Kinit(compute_squared_radius_d_object);
TP tp Kinit(translated_point_d_object);
PC pc Kinit(construct_power_center_d_object);
PC pc Kinit(construct_power_sphere_d_object);
CWP cwp Kinit(construct_weighted_point_d_object);
//PDW pdw Kinit(point_drop_weight_d_object);
PDW const& pdw = cp;