Commit Graph

82 Commits

Author SHA1 Message Date
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
Sylvain Pion 838dab23ab Add missing #include <cassert> . 2008-01-20 19:13:05 +00:00
Sylvain Pion 0daa805f36 Use boost::thread_specific_ptr<> for Thread Local Storage.
(restore the previous optimization)
2007-12-19 16:13:05 +00:00
Sylvain Pion a46b55bf71 The files "changes.txt", "description.txt", "long_description.txt" and "maintainer"
are now under /trunk/$Package/package_info/$Package/ .
2007-12-02 15:06:42 +00:00
Andreas Meyer fdeedcf8b0 some low level code cleanup. renamed
* CGAL_error to CGAL_error_msg
* introduced a macro CGAL_error()
* added some words about CGAL_error to the developers manual
* renamed most of assert(x) into CGAL_assertion(x)
* renamed exit(x) with x != 0 , CGAL_assertion(false) and assert(false) into CGAL_error
* CORE left untouched, OpenNL changed
2007-11-07 16:51:18 +00:00
Sylvain Pion 6bc0e9dfe7 Replace calls to abort() by CGAL_assertion*.
In contexts such as cgal-python, it is a bug to call abort (since it kills the interpreter).
Therefore, we should never call abort() from inside CGAL.
2007-11-05 10:02:36 +00:00
Sylvain Pion c392f5a18f Use CGAL_HAS_THREADS. 2007-10-18 15:01:10 +00:00
Sylvain Pion 2259365505 Disable optimization sharing the default constructed Lazy object,
as it is not thread safe.
2007-10-18 12:22:31 +00:00
Sylvain Pion d3ed4341f2 Rename AK to Approximate_kernel and EK to Exact_kernel to avoid AK clash (for Algebrai_kernel). 2007-09-06 10:05:53 +00:00
Sylvain Pion 57a2ee284f Renaming of profiler info for consistency with CGAL naming:
- In_circle_2  ->  Side_of_oriented_circle_2
- In_sphere_3  ->  Side_of_oriented_sphere_3
2007-09-02 21:03:46 +00:00
Sylvain Pion b976aea1b6 Remove 2 workarounds which are not needed anymore by the latest SunPRO:
CGAL_CFG_DEEP_DEPENDENT_TEMPLATE_BUG
CGAL_CFG_DEDUCABLE_CONTEXT_BUG
2007-08-24 12:57:55 +00:00
Andreas Fabri f09c87dd4a A random int 0 leads to division by zero 2007-08-23 15:04:28 +00:00
Sylvain Pion 4da7713aa8 Remove obsolete config flag CGAL_CFG_NO_STDC_NAMESPACE and rename
its dependant macro CGAL_CLIB_STD to "std".
2007-08-08 15:59:25 +00:00
Sylvain Pion f2a1b260a4 Remove obsolete config flags
CGAL_CFG_OUTOFLINE_TEMPLATE_MEMBER_DEFINITION_BUG and
CGAL_CFG_OUTOFLINE_TEMPLATE_MEMBER_DEFINITION_BUG_2.
2007-08-08 14:50:01 +00:00
Sylvain Pion a87478c513 Rewrite in terms of less_x and less_y, to avoid .x() and .y() constructions,
and problems with unqualified min/max.
2007-08-07 09:48:44 +00:00
Laurent Rineau 8b4fdfc6a4 Remove warnings: "ec" unused. 2007-03-12 12:43:41 +00:00
Sylvain Pion 05840a8f17 Cleanup of white spaces and empty lines also under examples/*/*.h. 2007-03-10 16:45:36 +00:00
Sylvain Pion 847c23a15e Removing leading and trailing empty lines from all example files.
Using the following Perl script:
-----------------------------------------------------
#!/usr/bin/perl

local($/) = undef;
my $text = <>;

$text =~ s/\A\n+//mg;
$text =~ s/\n+\Z/\n/mg;

print "$text";
-----------------------------------------------------
2007-03-10 16:17:17 +00:00
Sylvain Pion e46d4d9f99 Remove more "// file :" lines forgotten. 2007-03-10 15:11:24 +00:00
Sylvain Pion 6fb5cb906b Remove trailing white spaces and end of lines.
(using : perl -pi.bak -e 's/\s+$/\n/' */examples/*/*.cpp )
2007-03-10 14:59:41 +00:00
Sylvain Pion 47f0b5f4d2 - Move certainly() to Uncertain.h
- Add possibly().
2007-03-01 18:29:19 +00:00
Sylvain Pion 521e2d1fe9 Rename filtered_predicate.cpp to Filtered_predicate.cpp to match the class name.
dont_submit the lazykernel.cpp example as Lazy_kernel is not documented (and the example crashes).
2007-02-28 16:33:17 +00:00
Sylvain Pion 51f0a96da4 kill unused parameter warning 2007-02-16 13:06:38 +00:00
Sylvain Pion f850e02dba Provide an AK typedef (same as FK) for similarity with Lazy_kernel. 2007-02-15 13:54:41 +00:00
Sylvain Pion 854dec0f9b rename .C to .cpp and remove Makefile, same as generated 2007-01-27 20:53:35 +00:00
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