Add missing CGAL enums to Homogeneous_d

This commit is contained in:
Mael Rouxel-Labbé 2022-11-24 11:39:50 +01:00
parent 386c6a3ac2
commit 18ff1d4256
2 changed files with 21 additions and 3 deletions

View File

@ -21,7 +21,7 @@
#include <CGAL/representation_tags.h> #include <CGAL/representation_tags.h>
#include <CGAL/Kernel_d/function_objects.h> #include <CGAL/Kernel_d/function_objects.h>
#include <CGAL/Linear_algebraCd.h> #include <CGAL/Linear_algebraCd.h>
#include <vector> #include <CGAL/Kernel/Same_uncertainty.h>
#include <CGAL/Kernel_d/Kernel_classesCd.h> #include <CGAL/Kernel_d/Kernel_classesCd.h>
#include <CGAL/Kernel_d/PointCd.h> #include <CGAL/Kernel_d/PointCd.h>
@ -71,7 +71,7 @@ public:
typedef typename Point_d_base::Cartesian_const_iterator Cartesian_const_iterator_d; typedef typename Point_d_base::Cartesian_const_iterator Cartesian_const_iterator_d;
// Boolean had originally been Bool. It was renamed to avoid a conflict // Boolean had originally been Bool. It was renamed to avoid a conflict
// between a macro defined in Xlib.h poorly chosen to have the same name, // between a macro defined in Xlib.h poorly chosen to have the same name,
// that is 'Bool'. // that is 'Bool'.
typedef typename Same_uncertainty_nt<bool, FT>::type typedef typename Same_uncertainty_nt<bool, FT>::type

View File

@ -22,7 +22,7 @@
#include <CGAL/representation_tags.h> #include <CGAL/representation_tags.h>
#include <CGAL/Kernel_d/function_objects.h> #include <CGAL/Kernel_d/function_objects.h>
#include <CGAL/Linear_algebraHd.h> #include <CGAL/Linear_algebraHd.h>
#include <vector> #include <CGAL/Kernel/Same_uncertainty.h>
#include <CGAL/Kernel_d/Kernel_classesHd.h> #include <CGAL/Kernel_d/Kernel_classesHd.h>
#include <CGAL/Kernel_d/PointHd.h> #include <CGAL/Kernel_d/PointHd.h>
@ -67,6 +67,24 @@ public:
typedef typename Point_d_base::Cartesian_const_iterator Cartesian_const_iterator_d; typedef typename Point_d_base::Cartesian_const_iterator Cartesian_const_iterator_d;
// Boolean had originally been Bool. It was renamed to avoid a conflict
// between a macro defined in Xlib.h poorly chosen to have the same name,
// that is 'Bool'.
typedef typename Same_uncertainty_nt<bool, RT>::type
Boolean;
typedef typename Same_uncertainty_nt<CGAL::Sign, RT>::type
Sign;
typedef typename Same_uncertainty_nt<CGAL::Comparison_result, RT>::type
Comparison_result;
typedef typename Same_uncertainty_nt<CGAL::Orientation, RT>::type
Orientation;
typedef typename Same_uncertainty_nt<CGAL::Oriented_side, RT>::type
Oriented_side;
typedef typename Same_uncertainty_nt<CGAL::Bounded_side, RT>::type
Bounded_side;
typedef typename Same_uncertainty_nt<CGAL::Angle, RT>::type
Angle;
typedef Dynamic_dimension_tag Dimension; typedef Dynamic_dimension_tag Dimension;
template <typename T> template <typename T>