Sébastien Loriot
52317dd49f
add python script (replace_CGAL_NAMESPACE.py) to replace CGAL_BEGIN_NAMESPACE and CGAL_END_NAMESPACE
...
by namespace CGAL { and } //namespace CGAL. in all .h and .cpp files
in a directory.
Apply it to all packages in the trunk
Remove macro definition from the config.h file.
2010-06-09 07:37:13 +00:00
Andreas Fabri
29fc8af5f7
Classes deriving from Fixed_border_parameterizer need that the 'using' statement is protected (only g++ 3.4.6 and 4.4 in the 3.7-Ic-60 testsuite)
2010-05-14 06:31:36 +00:00
Andreas Fabri
5778f48061
Add 'using' statements for ansi compliance
2010-05-11 08:34:30 +00:00
Sylvain Pion
85dc12f2a7
Remove empty lines at beginning and end of files
...
(apply Scripts/developer_scripts/remove_empty_lines.pl).
2010-02-01 12:55:28 +00:00
Stéphane Tayeb
8dceee4164
Add include<CGAL/assertions.h> in *_assertion files.
2009-10-07 13:16:13 +00:00
Stéphane Tayeb
770492c1c7
Use new version of script create_assertions.sh to generate *_assertions.h files.
...
Diffs are:
* #undef added
* in old files, (void)0 is replaced by static_cast<void>(0)
* in old files, lines as "# define CGAL_xxx_assertion 1" are added
* in point_set_processing_assertions.h, surface_mesh_parameterization_assertions.h, surface_reconstruction_points_assertions.h, "|| defined(CGAL_NDEBUG)" is replaced by "|| defined (NDEBUG)"
* protective macros (if any) are removed
* included files if any (<CGAL/assertions.h>, <CGAL/trace.h>) are removed
2009-10-07 07:49:44 +00:00
Laurent Saboret
786f9d5768
Automatic documentation improvements by generate_reference_manual 1.3:
...
- Reduced left margin of free functions description.
- Fixed bug: fixed vertical alignment in methods/functions description.
- Fixed bug: does not remove anymore EOLs in methods/functions description.
- Fixed bug #7515 : removed "[protected]", "[static]" and "[virtual]" comments.
2009-06-11 08:38:15 +00:00
Laurent Saboret
689118b8d1
Fixed misspelling: "an halfedge" -> "a halfedge"
2009-03-18 08:59:29 +00:00
Laurent Saboret
d0f63a9ee1
Automatic documentation by generate_reference_manual 1.1:
...
* Bug fixes:
- Document properly the template parameters of functions. No separate Parameters section.
* Improved formatting of functions and methods:
- Shorter latex code and shorter printed documentation
- Fixed indentation
- Parameter names are in italic instead of bold
* Words surrounded by stars are formatted in bold.
2009-02-26 11:05:12 +00:00
Laurent Rineau
a4215bd4ea
Fix conditional compilation of TAUCS features in
...
Surface_mesh_parametrization, after revisions 46743-46745.
2008-11-07 15:30:00 +00:00
Laurent Saboret
81f25c324c
Renamed (private) class Taucs_number as Taucs_traits.
2008-10-17 15:52:15 +00:00
Laurent Saboret
6595450524
Optimization of speed and memory footprint
2008-10-13 09:32:09 +00:00
Laurent Saboret
1d95e936d2
Optimization of speed and memory footprint
2008-10-13 08:34:19 +00:00
Laurent Saboret
a3c891df05
Windows specific: fixed crash with TAUCS on large linear systems:
...
- increased stack size
- added Win32_exception_handler protection to catch stack overflows
2008-10-13 08:33:33 +00:00
Laurent Saboret
68810e7e46
Fixed misspelling
2008-10-08 16:33:37 +00:00
Laurent Saboret
3956f60d73
Print TAUCS traces if DEBUG_TRACE >= 2.
2008-09-25 15:11:02 +00:00
Laurent Saboret
544547bc81
Added trace
2008-08-26 14:43:28 +00:00
Laurent Saboret
a1627b003f
Removed unnecessary includes of CGAL/basic.h
...
Enforced CGAL_NDEBUG rule:
- code under include/CGAL/ and src/ must not use NDEBUG and assert(), but CGAL_NDEBUG and CGAL assertion macros.
- code under demo/, examples/ and test/ must use NDEBUG and assert().
2008-08-21 11:57:02 +00:00
Laurent Saboret
42f40a7fc2
Changed the way parameterization errors are reported. Now:
...
- there is a clear distinction between internal errors (aka bugs) and not supported input files (typically models which are not topological discs),
- internal errors trigger a test suite failure.
The main consequence is that OpenNL errors trigger now a test suite failure.
2008-08-20 14:47:53 +00:00
Laurent Saboret
fa30accac8
Surface_mesh_parameterization pre-conditions and post-conditions are now always checked,
...
in order to catch input meshes that do not respect them and avoid crashes in Release mode:
- For fixed border parameterizations:
Preconditions:
check that the border is mapped onto a convex polygon.
check that the input mesh is triangular (expensive check).
check that the input mesh is a surface with one connected component (expensive check).
Postconditions:
check one-to-one mapping.
- For free border parameterizations:
Preconditions:
check that the input mesh is triangular (expensive check).
check that the input mesh is a surface with one connected component (expensive check).
Postconditions:
check one-to-one mapping.
2008-08-19 15:50:40 +00:00
Sylvain Pion
79864c0c8e
Remove Arity_tag.
2008-07-22 12:29:01 +00:00
Sylvain Pion
2eb0d8f9e9
certainly() -> possibly().
2008-07-14 11:16:41 +00:00
Sylvain Pion
eff6efd3af
CGAL_NULL and CGAL_NULL_TYPE are now constant macros, so replace them by:
...
- CGAL_NULL -> NULL
- CGAL_NULL_TYPE -> CGAL::Nullptr_t (typedef to const void *)
2008-07-12 21:58:52 +00:00
Sylvain Pion
9d7a609ff2
Make assertions trigger an error only for *certain* conditions (using CGAL::certainly()).
...
This is useful for interval arithmetic code.
(replay of r44002 with the header order hopefully fixed)
2008-07-10 21:49:17 +00:00
Sylvain Pion
2b4ebf01f7
Undo r44002 as it's buggy
2008-07-06 20:47:29 +00:00
Sylvain Pion
514a17ad4f
Improve the interaction of assertions and interval computations.
...
Things like "CGAL_assertion(denominator != 0)" produced assertion failures for no gain.
So now, the assertion is triggered only if the condition is certain, using CGAL::certainly().
That is, change the following in all assertion files :
((EX)?(static_cast<void>(0)): ::CGAL::assertion_fail( # EX , __FILE__, __LINE__))
to :
(CGAL::certainly(EX)?(static_cast<void>(0)): ::CGAL::assertion_fail( # EX , __FILE__, __LINE__))
2008-07-06 17:05:47 +00:00
Laurent Saboret
b59996cee6
Removed obsolete doxygen comment
2008-03-21 16:11:18 +00:00
Laurent Saboret
f124fca6b9
Minor change
2008-03-21 16:04:58 +00:00
Laurent Saboret
e2f3e93490
Update to generate_reference_manual 1.0
2008-02-22 13:03:40 +00:00
Laurent Saboret
70a58205c3
Fixed \ccVariables support
2008-02-20 11:46:17 +00:00
Laurent Saboret
705e0b1362
Redo r41603 and r41552 (#ifdef CGAL_USE_TAUCS) for SP
2008-01-25 17:51:55 +00:00
Laurent Saboret
a36cb5d3fd
Update to doxygen 1.5 and generate_reference_manual 0.8: methods implemented out of a class declaration should not repeat the doxygen documentation
2008-01-25 16:32:47 +00:00
Laurent Saboret
d21010bde0
Undo r41603 and r41552: using global flags like CGAL_USE_TAUCS breaks generate_reference_manual
2008-01-25 16:30:48 +00:00
Sylvain Pion
b24108f5fd
Remove #include <cassert> from everywhere under include/CGAL/.
...
CGAL code has to use CGAL assertions instead.
2008-01-20 18:47:19 +00:00
Sylvain Pion
65a5ac690f
Protect using CGAL_USE_TAUCS
2008-01-14 17:10:22 +00:00
Sylvain Pion
4e76054a50
Protect by CGAL_USE_TAUCS.
2008-01-12 20:31:14 +00:00
Sylvain Pion
d49e006c53
Remove default argument "0" to calls to assertion_fail() et al,
...
as the default is now the empty string "".
It should fix the problem that we have lost the assertion messages
(seeing "what(): basic_string::_S_construct NULL not valid" instead),
for packages that use package-specific assertion macros.
2007-12-21 21:58:27 +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
Laurent Saboret
a661ae2211
Regenerated Reference Manual with generate_reference_manual 0.7.5.
2007-09-07 15:27:39 +00:00
Laurent Saboret
97fa913995
Port to Linux and Windows 64 bits
2007-08-28 15:16:55 +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
Laurent Saboret
a1e58fff56
Port to Linux 64 bits
2007-06-14 15:38:24 +00:00
Laurent Saboret
80d123cd94
Fixed bug found by kevin.kai.xu@gmail.com (redefinitions of _cgal_taucs_available_memory_size) by declaring all functions inline.
2007-06-07 14:10:24 +00:00
Laurent Saboret
67cae5acb5
Fixed warning w/ gcc 4.2
2007-05-30 15:31:15 +00:00
Laurent Saboret
0a6adf43bf
Include CGAL/auto_link/TAUCS.h.
...
Better error handling.
2007-05-24 14:47:03 +00:00
Laurent Saboret
ee4fa12f50
Fix of taucs_available_memory_size() in TAUCS for CGAL 3.3 alpha
2007-05-24 14:46:39 +00:00
Laurent Saboret
72793080fd
Workaround bug in VC++ 2005 express edition SP1: see "Recent versions of the Qt library source give errors on compilation" at http://support.microsoft.com/?scid=kb%3Ben-us%3B928957&x=15&y=11#
2007-05-11 13:41:52 +00:00
Laurent Saboret
a8287d45a2
Point_3 type must be protected
2007-05-11 13:40:47 +00:00
Laurent Saboret
c77455015c
Fix of taucs_system_memory_size() and taucs_available_memory_size() in TAUCS for CGAL 3.3 alpha
2007-05-09 08:24:04 +00:00
Laurent Saboret
f29be78532
Commented out traces
2007-04-24 13:34:11 +00:00
Laurent Saboret
c02f0947e2
Fixed g++ warning about tempnam() being deprecated
2007-04-24 13:33:51 +00:00
Laurent Saboret
8481fa282c
Fixed compilation error introduced in r38419
2007-04-24 09:05:22 +00:00
Laurent Saboret
6c1560542a
Fixed 'deprecated conversion from string constant to char*' warning with g++ 4.x
2007-04-23 13:42:37 +00:00
Laurent Saboret
7c2497c5d0
More spell checking
2007-04-23 12:11:29 +00:00
Andreas Fabri
2ee2c6877b
removed unused parameters
2007-03-17 09:28:37 +00:00
Joachim Reichel
4f47903a25
moved src/Core to src/CGALCore
...
moved include/CORE to include/CGAL/CORE
moved include/OpenNL to include/CGAL/OpenNL
renamed libcore++ to libCGALcore++
2007-03-13 18:10:39 +00:00
Andreas Fabri
fb549aaca0
suppress warnings by commenting unused parameters
2007-03-12 12:15:00 +00:00
Laurent Saboret
be8a4eb8a8
Initialize m_is_valid when expensive preconditions are off!
2007-01-15 15:17:08 +00:00
Laurent Saboret
258df72389
Fixed 2 crashing bugs in Parameterization_mesh_patch_3 (see fork.off and butterfly-2faces.off).
...
Added is_valid to ParameterizationMesh_3 concept.
Added back traces (if DEBUG_TRACE is defined).
2006-12-08 16:12:22 +00:00
Laurent Saboret
ecb74b736d
Added comments
2006-12-04 08:37:50 +00:00
Laurent Saboret
1684a3d07f
Fixed clash with ERROR_NOT_ENOUGH_MEMORY #define in Windows header
2006-08-31 09:35:52 +00:00
Laurent Saboret
0608743a77
Fix about taucs.h and Windows.h both defining min/max as macros and C++ headers as functions
2006-08-24 13:18:34 +00:00
Andreas Fabri
c2a2ab091c
fixed min/max problem
2006-08-17 09:02:53 +00:00
Andreas Fabri
e8b4b62ee6
Fixed min max problem
2006-07-31 22:39:25 +00:00
Laurent Saboret
fe39f6f3af
Surface_mesh_parameterization is now compatible with debug libstdc++
2006-05-24 09:29:28 +00:00
Laurent Saboret
d7e0e76eb0
Reverted r31207 that does not compile on Windows
2006-05-22 10:11:21 +00:00
Laurent Saboret
5c341db1e5
Replaced call to tempnam() by an home-made version of tmpnam() to avoid gcc warning
2006-05-19 15:11:50 +00:00
Laurent Saboret
81dc1914dd
Fixed compilation warning with VC++ 7.1
2006-04-26 13:54:53 +00:00
Laurent Saboret
181b4dd883
Use multithreaded DLL runtime on Windows/Visual C++.
...
Note: impossible to debug anymore with VC++ :-(
2006-04-21 14:31:27 +00:00
Laurent Saboret
ea51b7e532
Fixed bug in cgal_taucs_available_memory_size(): don't do anything if not Linux
2006-03-24 16:52:08 +00:00
Laurent Saboret
8c06330b95
Declare cgal_taucs_available_memory_size() as inline
2006-03-23 14:36:46 +00:00
Laurent Saboret
b6146fd8a7
Turn on TAUCS trace with DEBUG_TRACE preprocessor definition (temporary)
2006-03-20 15:52:38 +00:00
Laurent Saboret
ce976769ea
Fixed bug in taucs_system_memory_size() on Linux 2.6
2006-03-20 11:37:20 +00:00
Laurent Saboret
86adba238c
Clarify documentation about symmetric/asymmetric matrices
2006-03-20 11:22:05 +00:00
Laurent Saboret
445397cbe8
Added detection of TAUCS library at installation time
2006-03-16 17:21:55 +00:00
Laurent Saboret
0fded29ea2
Fixed bug in taucs_system_memory_size() on Linux 2.6
2006-03-16 10:04:02 +00:00
Laurent Saboret
0008b436c7
Port to gcc 3.4.4
2006-03-14 14:06:05 +00:00
Laurent Saboret
ca33a2d68f
Huge optimization! Filling a TAUCS matrix is about 100 times faster
2006-03-13 09:43:26 +00:00
Laurent Saboret
73c5acf1a3
Huge optimization! Filling a TAUCS matrix is about 100 times faster!
2006-03-10 18:41:27 +00:00
Laurent Saboret
2d7dbed6da
Large changes of the user manual requested by MK:
...
- added paragraph about exact arithmetic and algorithmic complexity (BL)
- concepts are now described at the begining of the user manual
- mesh cutting is better explained (picture provided by PA)
- improved description of available solvers
- reference pages are listed thematically in the reference manual
- Fixed UML diagrams in Software Design section
Other changes requested by PA:
- pictures of algorithms output in 2D (EPS)
2006-03-09 17:15:04 +00:00
Laurent Saboret
05939a56b8
Removed not-yet-implemented features (as requested by MK):
...
- border parameterization on any convex polygon
- check matrix conditioning
2006-03-06 15:33:44 +00:00
Laurent Saboret
c7dfff5de9
Removed not-yet-implemented features (as requested by MK)
2006-03-06 14:14:28 +00:00
Laurent Saboret
d83784ed18
Replaced 'one to one' and '1 to 1' by 'one-to-one' (as requested by MK)
2006-03-06 13:32:35 +00:00
Laurent Saboret
10f027705b
Changed pointers to mesh to references all over the package (as requested by MK)
2006-03-03 10:37:36 +00:00
Laurent Saboret
d2777b879a
Changed pointers to mesh to references all over the package (as requested by MK)
2006-03-03 09:33:29 +00:00
Laurent Saboret
096b377421
Rename Parameterization package as Surface_mesh_parameterization
2006-03-01 19:32:05 +00:00
Laurent Saboret
67c39d4bc8
Rename Parameterization package as Surface_mesh_parameterization
2006-03-01 19:18:48 +00:00
Laurent Saboret
f1c2d63b1a
Rename Parameterization package as Surface_mesh_parameterization
2006-03-01 17:20:56 +00:00
Laurent Saboret
880ece127c
Rename Parameterization package as Surface_mesh_parameterization
2006-03-01 16:43:35 +00:00