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