mirror of https://github.com/CGAL/cgal
remove temporarily added typedefs
This commit is contained in:
parent
54ab4975e8
commit
998d787623
|
|
@ -85,7 +85,7 @@ struct Curve_base<T,2>
|
||||||
using Squared_distance = typename iKernel::Compute_squared_distance_2;
|
using Squared_distance = typename iKernel::Compute_squared_distance_2;
|
||||||
using Difference_of_points = typename iKernel::Construct_vector_2;
|
using Difference_of_points = typename iKernel::Construct_vector_2;
|
||||||
using Scaled_vector = typename iKernel::Construct_scaled_vector_2;
|
using Scaled_vector = typename iKernel::Construct_scaled_vector_2;
|
||||||
using Translated_point = typename iKernel::Consgtruct_translated_point_2;
|
using Translated_point = typename iKernel::Construct_translated_point_2;
|
||||||
};
|
};
|
||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
|
|
@ -99,7 +99,7 @@ struct Curve_base<T,3>
|
||||||
using Squared_distance = typename iKernel::Compute_squared_distance_3;
|
using Squared_distance = typename iKernel::Compute_squared_distance_3;
|
||||||
using Difference_of_points = typename iKernel::Construct_vector_3;
|
using Difference_of_points = typename iKernel::Construct_vector_3;
|
||||||
using Scaled_vector = typename iKernel::Construct_scaled_vector_3;
|
using Scaled_vector = typename iKernel::Construct_scaled_vector_3;
|
||||||
using Translated_point = typename iKernel::Consgtruct_translated_point_3;
|
using Translated_point = typename iKernel::Construct_translated_point_3;
|
||||||
};
|
};
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
|
@ -261,8 +261,8 @@ public:
|
||||||
Rational_point rpoint(PointID const& i) const
|
Rational_point rpoint(PointID const& i) const
|
||||||
{
|
{
|
||||||
if constexpr (std::is_floating_point<typename K::FT>::type::value) {
|
if constexpr (std::is_floating_point<typename K::FT>::type::value) {
|
||||||
I2R convert;
|
// I2R convert;
|
||||||
return convert(points[i]);
|
return Rational_point(); // convert(points[i]);
|
||||||
}
|
}
|
||||||
if constexpr (is_filtered) {
|
if constexpr (is_filtered) {
|
||||||
return typename K::C2E()(input[i]);
|
return typename K::C2E()(input[i]);
|
||||||
|
|
|
||||||
|
|
@ -24,16 +24,6 @@ struct Cartesian_base_d : public CGAL_BASE
|
||||||
{
|
{
|
||||||
typedef void Point_2;
|
typedef void Point_2;
|
||||||
typedef void Point_3;
|
typedef void Point_3;
|
||||||
typedef void Construct_bbox_2;
|
|
||||||
typedef void Construct_bbox_3;
|
|
||||||
typedef void Compute_squared_distance_2;
|
|
||||||
typedef void Compute_squared_distance_3;
|
|
||||||
typedef void Construct_vector_2;
|
|
||||||
typedef void Construct_vector_3;
|
|
||||||
typedef void Construct_translated_point_2;
|
|
||||||
typedef void Construct_translated_point_3;
|
|
||||||
typedef void Construct_scaled_vector_2;
|
|
||||||
typedef void Construct_scaled_vector_3;
|
|
||||||
|
|
||||||
typedef FT_ FT;
|
typedef FT_ FT;
|
||||||
constexpr Cartesian_base_d(){}
|
constexpr Cartesian_base_d(){}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue