Commit Graph

118 Commits

Author SHA1 Message Date
Sylvain Pion 2c7d4a0309 Rename and move Exact_type_selecter to internal::Exact_type_selector. 2009-09-17 10:00:37 +00:00
Sylvain Pion 8573fe26ce Rename CGALi to internal. 2009-08-24 17:10:04 +00:00
Sylvain Pion 927b432b39 typo : mecanism -> mechanism. 2009-08-10 15:57:03 +00:00
Andreas Fabri 9258181d75 Add typdef ... Kernel; ( bug reported by Michael Hoffmann) 2009-07-17 15:07:11 +00:00
Sylvain Pion f55c8e9a2f Renaming before documenting: Default_argument -> Default. 2009-04-10 21:55:24 +00:00
Sylvain Pion 532b4055db Micro-optimization : postpone computation of "eps" till it's really needed. 2008-12-21 15:56:20 +00:00
Sylvain Pion 897e94ac37 Add a new 3-way branch profiler, Profile_branch_counter_3, and use it in the semi-static filters. 2008-12-20 17:31:04 +00:00
Sylvain Pion 4251273447 Introduce a new class Set_ieee_double_precision, in order to provide
a better alternative to Protect_FPU_rounding(CGAL_FE_TONEAREST) which is
slightly unrelated.

If it works, then let's use it in the places that have recently been using
Protect_FPU_rounding for this issue.
2008-12-03 14:43:43 +00:00
Andreas Fabri 4864c144e7 Protection is outside the try block as VC8 has the CGAL_CFG_FPU_ROUNDING_MODE_UNWINDING_VC_BUG 2008-10-23 13:15:29 +00:00
Andreas Fabri 49df3ccb9e Protection is outside the try block as VC8 has the CGAL_CFG_FPU_ROUNDING_MODE_UNWINDING_VC_BUG 2008-10-23 13:01:01 +00:00
Andreas Fabri ebfc725015 Protection is outside the try block as VC8 has the CGAL_CFG_FPU_ROUNDING_MODE_UNWINDING_VC_BUG 2008-10-23 12:26:57 +00:00
Sylvain Pion 4aa1cb057a Remove my email adress from header files. 2008-10-11 20:21:08 +00:00
Sylvain Pion a0be560caa New profiling tool : Profile_branch_counter, that improves the display
of failure/calls ratios.  With the corresponding macro CGAL_BRANCH_PROFILER().
2008-09-08 09:52:37 +00:00
Sylvain Pion b90dd1b09c Give Lazy_construction the ability to take an optional conversion functor template argument. 2008-08-28 09:50:20 +00:00
Sylvain Pion 3fa4fad3af Remove To_interval<> template parameter to Cartesian_converter<> :
the default is fine.
2008-08-27 15:37:06 +00:00
Sylvain Pion 5082778d02 Remove useless #include files. 2008-08-27 15:08:35 +00:00
Sylvain Pion d66014f760 Generic tool to replace the Robust_circumcenter functor and co. 2008-08-27 15:04:42 +00:00
Sylvain Pion 4c79d1d5cf Rename Bool_type to Boolean. 2008-08-26 13:40:26 +00:00
Sylvain Pion bb9e8b92d1 Simplify condition using are_ordered(). 2008-08-12 15:23:12 +00:00
Sylvain Pion aff1bf74aa Replace CGAL::Interval_nt<>::number_of_failures() by a CGAL_PROFILER() counter. 2008-08-06 13:16:04 +00:00
Sylvain Pion a8e8ecfdcf Replace Interval_nt_advanced::unsafe_comparison by Uncertain_conversion_exception.
(it was alrady the same type, but now the filtering code can be independent on Interval_nt_advanced
(think other interval types, or other types of filters).
2008-07-31 13:31:26 +00:00
Sylvain Pion 265ce473b4 Rename extract_singleton(Uncertain<T>) to get_certain() 2008-07-30 12:03:07 +00:00
Sylvain Pion f70c3779c7 Rename Uncertain::is_singleton() to is_certain() 2008-07-30 08:29:37 +00:00
Sylvain Pion dbec0ecc4d Fix the crash by initializing a Lazy_exact_nt variable.
Finish the assign -> object_cast change.
2008-07-29 09:32:17 +00:00
Sylvain Pion 038b278121 Use object_cast instead of assign (the code still crahes though, but it's dont_submit'd) 2008-07-29 09:25:53 +00:00
Sylvain Pion b735d3afe6 Remove Filtered_kernel_without_type_equality (deprecated since 2005). 2008-07-28 16:24:08 +00:00
Sylvain Pion dc3bf72707 Remove changes.txt files. 2008-07-24 17:47:16 +00:00
Sylvain Pion 79864c0c8e Remove Arity_tag. 2008-07-22 12:29:01 +00:00
Sylvain Pion 105b413797 Remove CGAL/basic.h 2008-07-17 09:30:03 +00:00
Sylvain Pion 91d2d7478b Move Uncertain.h from Filtered_kernel to STL_Extension 2008-07-16 16:07:27 +00:00
Sylvain Pion 6ee113f820 Document the kernel typedefs specifying the return types of the predicates:
Bool_type, Sign, Comparison_result, Orientation, Oriented_side, Bounded_side and Angle.
2008-07-16 13:59:26 +00:00
Sylvain Pion 173ef7c590 Allow propagation of Uncertain-ty in more places, to reduce the number of exceptions.
- Use K::Bool_type, K::Orientation... instead of bool, CGAL::Orientation...
- More functions around Uncertain<> : make_certain(), extract_singleton(),
                                      possible conversions tightenning.

Many conversions still remain, e.g. for switch and if statements, &&, ||...
2008-07-16 13:45:13 +00:00
Sylvain Pion f895c0cfcc Update todo list 2008-07-14 13:02:59 +00:00
Sylvain Pion 32a9d86ec2 Fix header inclusion order problem by #including <CGAL/config.h> instead of <CGAL/basic.h>.
Really: <CGAL/basic.h> should go away!
2008-07-12 21:09:38 +00:00
Sylvain Pion b88a95e684 Towards Circle_3 and Lazy_kernel. 2008-06-19 15:39:11 +00:00
Sylvain Pion 110a5db8be Rename all C++0x related config macros to consistently have CPP0X in their name,
as in CGAL_CFG_NO_CPP0X_VARIADIC_TEMPLATES.
2008-05-21 15:34:36 +00:00
Fernando Cacciola f93437ca22 Removed *unmodified* auto-generated CMakeLists.txt (now created by create_internal_release) 2008-05-05 14:01:55 +00:00
Sylvain Pion 55d538b335 "Ambient" is not spelled "Ambiant" in English... 2008-04-17 10:13:31 +00:00
Sylvain Pion 2389cdcc1e Dimension detecting stuff rewrite.
There is now Ambiant_dimension and Feature_dimension.
The handling of the dynamic dimension case is now done by having
the di,ension tag as the first thing provided, with the integral
constant value available only when it makes sense (INT_MAX no longer needed).
2008-04-13 12:38:48 +00:00
Sylvain Pion 02e543a294 Add Dimension<T, K> whose nested "value" is the dimension of the ambiant
space.  A special constant CGAL::Dynamic_dimension (equal to INT_MAX)
indicates the case where the dimension is only known at run time.
2008-04-11 21:03:22 +00:00
Sylvain Pion 4873e53de2 Move:
<CGAL/Kernel/Cartesian_coordinate_iterator_2.h>
  <CGAL/Kernel/Cartesian_coordinate_iterator_3.h>
To:
  <CGAL/Filtered_kernel/Cartesian_coordinate_iterator_2.h>
  <CGAL/Filtered_kernel/Cartesian_coordinate_iterator_3.h>
2008-04-09 18:06:00 +00:00
Sylvain Pion 1d8779b171 Rename the following functions:
det2x2_by_formula
  det3x3_by_formula
  det4x4_by_formula
  det5x5_by_formula
  det6x6_by_formula
to:
  determinant

How cute...  a name independent of the dimension, and even readable !
2008-04-09 13:35:34 +00:00
Sylvain Pion fa0a51444e Pass Uncertain<T> and T (enum or bool) by value instead of by reference.
It is generally accepted that it is more efficient for small classes like this
(and it's definitely shorter and more readable).
2008-04-02 09:00:45 +00:00
Sylvain Pion 95e3f12c58 Add operator* and comparison operators for Uncertain<>.
Update one predicate that could not cope with that change
(due to operator?: not being overloadable).
2008-04-02 08:52:08 +00:00
Sylvain Pion 1d47b96e3c Remove more useless enum_cast<>. 2008-03-20 16:46:25 +00:00
Fernando Cacciola b704509dcf Examples/Demos/Test CMake scripts updated 2008-03-05 21:14:02 +00:00
Fernando Cacciola a659cd852a Added project() and conditional test for CGAL_DIR 2008-02-14 15:42:36 +00:00
Fernando Cacciola 14043c43a0 Replaced CGALROOT by CGAL_DIR (the latters is used by CMake automatically) 2008-02-08 17:47:21 +00:00
Fernando Cacciola 279eb55b13 Some cmake scripts for demos and examples fixed 2008-02-07 14:58:33 +00:00
Fernando Cacciola afddfc4fca CMake scripts for demos/examples/test added 2008-02-06 19:06:24 +00:00