From 1620c1eefb8a9bd5889193ff0b3f0ef96ce4bae8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Br=C3=B6nnimann?= Date: Fri, 3 Sep 1999 17:15:41 +0000 Subject: [PATCH] Version 3.3 (September 3 1999) - Added Point_d to Cartesian --- Old_Packages/Cartesian_basic/changes.txt | 3 +++ .../Cartesian_basic/include/CGAL/Cartesian.h | 15 +++++++-------- .../include/CGAL/Cartesian_dynamic_d.h | 6 ++++++ Old_Packages/Cartesian_basic/version | 2 +- 4 files changed, 17 insertions(+), 9 deletions(-) diff --git a/Old_Packages/Cartesian_basic/changes.txt b/Old_Packages/Cartesian_basic/changes.txt index 6e5484efc29..6a459ec631d 100644 --- a/Old_Packages/Cartesian_basic/changes.txt +++ b/Old_Packages/Cartesian_basic/changes.txt @@ -1,3 +1,6 @@ +Version 3.3 (September 3 1999) +- Added Point_d to Cartesian + Version 3.2.4 (September 2 1999) - Removed references to and copy pasted directly into Cartesian_? classes, diff --git a/Old_Packages/Cartesian_basic/include/CGAL/Cartesian.h b/Old_Packages/Cartesian_basic/include/CGAL/Cartesian.h index 8bb1b2c5fcc..f997878a11f 100644 --- a/Old_Packages/Cartesian_basic/include/CGAL/Cartesian.h +++ b/Old_Packages/Cartesian_basic/include/CGAL/Cartesian.h @@ -40,7 +40,7 @@ #include #endif // CGAL_CARTESIAN_3_H #ifndef CGAL_CARTESIAN_DYNAMIC_D_H -// #include +#include #endif // CGAL_CARTESIAN_DYNAMIC_D_H #define CGAL_REP_CLASS_DEFINED @@ -52,7 +52,7 @@ template< class R, class _FT > struct Cartesian_base : public Cartesian_base_2 , public Cartesian_base_3 - // , public Cartesian_base_dynamic_d + , public Cartesian_base_dynamic_d { // Number types and representation tag (to avoid ambiguity in // inheritance tree) @@ -66,8 +66,7 @@ struct Cartesian_base : typedef Cartesian_base_2 Kernel_base_2; typedef Cartesian_base_3 Kernel_base_3; - - // typedef Cartesian_base_dynamic_d Kernel_base_d; + typedef Cartesian_base_dynamic_d Kernel_base_d; typedef typename Kernel_base_2::Point_2 Point_2; typedef typename Kernel_base_2::Vector_2 Vector_2; @@ -94,14 +93,14 @@ struct Cartesian_base : typedef typename Kernel_base_3::Tetrahedron_3 Tetrahedron_3; typedef typename Kernel_base_3::Aff_transformation_3 Aff_transformation_3; - // typedef typename Kernel_base_d::Point_d Point_d; + typedef typename Kernel_base_d::Point_d Point_d; }; CGAL_END_NAMESPACE // #include // #include -#include +// #include CGAL_BEGIN_NAMESPACE @@ -146,7 +145,7 @@ struct Cartesian : public Cartesian_base< Cartesian<_FT>, _FT > typedef typename Kernel_base::Tetrahedron_3 Tetrahedron_3; typedef typename Kernel_base::Aff_transformation_3 Aff_transformation_3; - // typedef typename Kernel_base::Point_d Point_d; + typedef typename Kernel_base::Point_d Point_d; #else // Now CGAL::Point_2 is only a wrapper around CGAL::PointC2 @@ -207,7 +206,7 @@ struct Cartesian : public Cartesian_base< Cartesian<_FT>, _FT > typedef CGAL::Tetrahedron_3 Tetrahedron_3; typedef CGAL::Aff_transformation_3 Aff_transformation_3; - // typedef CGAL::Point_d Point_d; + typedef CGAL::Point_d Point_d; #endif // CGAL_CFG_NO_ADVANCED_KERNEL diff --git a/Old_Packages/Cartesian_basic/include/CGAL/Cartesian_dynamic_d.h b/Old_Packages/Cartesian_basic/include/CGAL/Cartesian_dynamic_d.h index 66720b0f5f5..616866ba7a6 100644 --- a/Old_Packages/Cartesian_basic/include/CGAL/Cartesian_dynamic_d.h +++ b/Old_Packages/Cartesian_basic/include/CGAL/Cartesian_dynamic_d.h @@ -57,14 +57,20 @@ struct Cartesian_base_dynamic_d #ifndef CGAL_CFG_NO_ADVANCED_KERNEL // Because of partial specialization, CGAL::Point_d is selected as // CGAL::Point_d,Cartesian_tag> + // CAUTION: This is not yet done, so we revert to the old class PointCd typedef PointCd Point_d; #else typedef PointCd Point_d; #endif // CGAL_CFG_NO_ADVANCED_KERNEL }; +CGAL_END_NAMESPACE + +// TODO: we revert to the old class PointCd #include +CGAL_BEGIN_NAMESPACE + // This class is a restricted dD geometric kernel // It is useful only if you do not need the 3D kernel // If you need both, you should be using Cartesian diff --git a/Old_Packages/Cartesian_basic/version b/Old_Packages/Cartesian_basic/version index c48b1cb0b94..2b7725a9ae8 100644 --- a/Old_Packages/Cartesian_basic/version +++ b/Old_Packages/Cartesian_basic/version @@ -1 +1 @@ -3.2.4 ( 2 Sep 1999 ) +3.3 ( 3 Sep 1999 )