Commit Graph

44 Commits

Author SHA1 Message Date
Michael Hemmer adabd22ae4 added missing #include <vector> 2006-12-15 13:39:58 +00:00
Michael Hemmer ea8cddab2c added missing include 2006-12-04 22:09:32 +00:00
Sylvain Pion 13e01b0ae1 more formatting for histogram profiler 2006-12-03 17:29:46 +00:00
Sylvain Pion da1e3cdded minor change to get profiles for depth=0 as well 2006-12-03 16:35:49 +00:00
Sylvain Pion 579b08b6bf further parsing for to_interval 2006-12-03 13:57:22 +00:00
Sylvain Pion 6952b2567b Re-implement depth() by storing the depth in the nodes
instead of recomputing it on demand through virtual functions.
The advantage is that it is much faster (no quadratic behavior),
and moreover, pruning used to set the depth to 0, while it is
not doing so anymore (can be an advantage or not, but...).
2006-12-03 01:57:56 +00:00
Sylvain Pion 5f4c068d77 Add constructor from ET to Lazy. 2006-12-03 01:22:07 +00:00
Sylvain Pion 096f1ffb9a formatting 2006-12-03 01:03:34 +00:00
Sylvain Pion 769017938d s/Lazy_construct_rep/Lazy_rep/g
to get shorter names all over the place.
2006-12-02 23:42:24 +00:00
Sylvain Pion f05894b01a Move non-NT-related lazy stuff from Lazy_exact_nt.h to Lazy.h.
MAke Lazy_exact_nt<> derive from Lazy<>.
2006-12-02 23:38:12 +00:00
Sylvain Pion 6dd7d78ee8 Add/fix the depth() function to get the DAG depth.
Some formatting improvements.
2006-12-02 21:53:17 +00:00
Sylvain Pion 76ee73f8c6 more cleanup rules 2006-12-02 19:30:56 +00:00
Sylvain Pion 71eaaefe0b update for g++ 4.1 2006-12-01 13:35:53 +00:00
Andreas Fabri 7bb9ec24ae Regular_triangulation_euclidean_traits_2 needs the Rep_tag 2006-11-13 10:30:29 +00:00
Sylvain Pion 12710813c1 Change copyright owner to be INRIA.
The old Filtered_exact was common property, but not the newer stuff
(Filtered_predicate and co).
2006-11-06 17:12:11 +00:00
Andreas Fabri aea8a55095 As 'using' doesn't work for VC++ we must forward the call for Sphere_3 2006-11-06 14:48:27 +00:00
Sylvain Pion 232264bed8 Variadic templates are cool... 2006-10-24 03:20:03 +00:00
Sylvain Pion 2eb12d7441 - First part of introduction of Return_base_tag workaround for lack
of "forwarding constructors".
  Quoting some comment in the code:
  "
    This is a simple tag which is used as additional (first) argument in
    some kernel functors, to tell them to return the base (rep) class,
    instead of the main type (e.g. Kernel_base::Point_2 instead
    of Kernel::Point_2).  This is a minor optimization which prevents
    useless copies of the "reps".

    Those functors are only those used in the constructors of the kernel
    types like Point_2, so it's limited.

    The real solution will be to use "forwarding constructors", when they
    will be available in C++.
    In the mean time, this should be a mostly/hopefully internal hack.
  "
2006-08-16 14:56:11 +00:00
Sylvain Pion 79c60995c4 Additions for Lazy_curved_kernel. 2006-08-10 08:17:49 +00:00
Sylvain Pion 32a8708ed9 Improve efficiency of the default constructor by using a static variable.
(similar to what Lazy_exact_nt does).
This gives a noticeable memory win when pruning DAGs.
2006-08-07 18:12:25 +00:00
Sylvain Pion c0987488f6 remove blanks at end of line 2006-08-07 18:10:08 +00:00
Sylvain Pion 923cac500a output formatting improvement 2006-08-07 15:45:23 +00:00
Sylvain Pion bc3f9717a9 one more formatting improvement 2006-08-07 11:04:44 +00:00
Sylvain Pion d346699f44 Make Exact_converter and Approx_converter export Source_kernel and
Target_kernel, so that they play nicely with Filtered_kernel
composition (Regular_filtered_traits uses this).
2006-08-07 08:55:37 +00:00
Sylvain Pion 5c59f6aedd more simplifications 2006-08-06 20:12:11 +00:00
Sylvain Pion c94b2243f0 Improvements and fixes 2006-08-06 17:33:01 +00:00
Sylvain Pion 2d4cd0459f A script to make the output of Profile_counter readable for Lazy_kernel. 2006-08-06 17:13:39 +00:00
Sylvain Pion 7d7834d185 Use CGAL_Kernel_obj() to iterate over types in Object. 2006-08-05 20:38:32 +00:00
Sylvain Pion ce84a39773 - Use empty base class optimization to avoid DAG nodes bloat
with the EC functor (exact constructor).
- Various formatting issues.
2006-08-05 14:21:01 +00:00
Sylvain Pion 6c6fb72c3a use copy-ctor instead of default-ctor followed by assignment 2006-08-05 13:46:38 +00:00
Sylvain Pion 4e623ed1bb Formatting 2006-08-04 13:14:31 +00:00
Sylvain Pion b9d0f83b29 formatting 2006-08-03 20:41:10 +00:00
Sylvain Pion a9ef419c31 More progress towards a fully working Lazy_kernel... 2006-08-03 11:29:56 +00:00
Sylvain Pion 055785bd35 Use a custom exception type for the Uncertain<T> -> T bad conversion. 2006-08-03 10:36:37 +00:00
Sylvain Pion 0261c5dde8 More progress towards 3d support.
Use CGAL_Kernel_obj for simplifying things.
2006-08-02 12:17:55 +00:00
Sylvain Pion e816ebc3c8 Progress towards 3D support. 2006-08-02 11:22:10 +00:00
Sylvain Pion 8972e33be9 Tweek Cartesian_const_iterator_3 the same way as the _2. 2006-08-01 16:14:17 +00:00
Sylvain Pion 19bc9067db - Isolate 3D aff_transformations as well. 2006-08-01 12:07:15 +00:00
Sylvain Pion d00ed9e4af Do not Lazy-fy the Aff_transformation_2, as it is not a kernel type.
Aff_transformation_2 will now act like an external thing to the
kernel, hence it will wok at the Lazy_exact_nt level for now (not
the fastest possible, but there are priorities...).
2006-08-01 09:10:09 +00:00
Sylvain Pion 5fb1027971 Remove stupid blank lines 2006-07-31 16:23:11 +00:00
Sylvain Pion 419ddf2112 The Filtered_predicate example in the doc was not tested, and hence was buggy.
Make it a real example which works.
2006-07-21 16:25:28 +00:00
Menelaos Karavelas aef3d268c7 removed Minmax_traits for Oriented_side and Comparison_result due to clash with Sign (these three types are now the same). 2006-07-18 19:42:19 +00:00
Sylvain Pion 2a306ce343 Rename Interval_arithmetic to Filtered_kernel 2006-07-12 13:06:58 +00:00
Sylvain Pion 0cd41b2bdf Rename Interval_arithmetic package to Filtered_kernel. 2006-07-12 13:06:10 +00:00