Commit Graph

184 Commits

Author SHA1 Message Date
Andreas Fabri a308ff89bb Change tolerance as it becomes pretty slow 2020-09-10 11:02:43 +01:00
Andreas Fabri f31b7fe4e1 SMS: Use FastEnvelope to bound the error 2020-09-09 17:02:03 +01:00
Maxime Gimeno 9c15f2c9dc Use FeatureSummary in the demo, and remove CGAL_FOUND 2020-08-04 12:46:17 +02:00
Sébastien Loriot d6d8fbeb8b the placement must store the triangles has the AABB-tree does not copy them 2020-04-27 16:06:43 +02:00
Sébastien Loriot 8bb22d5b2c extra run of the script to remove tabs and trailing whitespaces
right after the merge of the 5.0 release branch

+ manual fix of the files (indentation was changed in the meantime):
   * Spatial_sorting/include/CGAL/Multiscale_sort.h
   * Spatial_sorting/test/Spatial_sorting/test_multiscale.cpp
2020-03-26 14:26:59 +01:00
Mael Rouxel-Labbé 80f1583fa8 Minor doc improvements 2020-01-28 12:45:29 +01:00
Mael Rouxel-Labbé 66b32fa3d1 Update test 2020-01-28 12:45:29 +01:00
Mael Rouxel-Labbé 1ee8e7b838 Better output in the test 2020-01-28 12:45:29 +01:00
Mael Rouxel-Labbé d556bcc5d6 Fix compilation / test 2020-01-28 12:45:29 +01:00
Mael Rouxel-Labbé 8c26549b65 Clean test 2020-01-28 12:45:29 +01:00
Maxime Gimeno a17c5b1eb2 Update 2020-01-28 12:45:29 +01:00
Maxime Gimeno 5907ec9a18 Add Policy for bounded distance placement 2020-01-28 12:45:29 +01:00
Maxime Gimeno 844de0c5fc WIP waiting for the missing intersections 2020-01-28 12:45:29 +01:00
Maxime Gimeno 4351ecfb5e Add test for bench 2020-01-28 12:45:29 +01:00
Mael Rouxel-Labbé ff09c5d0c8 Merge branch 'SMS-Add_GH_simplification-GF-old' into SMS-Add_GH_simplification-GF 2019-10-25 16:35:53 +02:00
Mael Rouxel-Labbé 5fb5e7206f Fix SMS CmakeLists disabling all examples if Eigen is not found 2019-10-20 21:40:21 +02:00
Sébastien Loriot 254d60f642 First pass on removing license notice in header for GPL files 2019-10-19 15:23:19 +02:00
Sébastien Loriot 7356421d80 introduce Commercial license SPDX tag 2019-10-19 12:15:19 +02:00
Sébastien Loriot 9bd9c68b83 update LGPL[23]+ and GPL[23]+ SPDX tags
ack -l --no-svg "SPDX-License-Identifier: GPL-3.0\+" | xargs sed -i "s/SPDX-License-Identifier: GPL-3.0+/SPDX-License-Identifier: GPL-3.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: LGPL-3.0\+" | xargs sed -i "s/SPDX-License-Identifier: LGPL-3.0+/SPDX-License-Identifier: LGPL-3.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: GPL-2.0\+" | xargs sed -i "s/SPDX-License-Identifier: GPL-2.0+/SPDX-License-Identifier: GPL-2.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: LGPL-2.0\+" | xargs sed -i "s/SPDX-License-Identifier: LGPL-2.0+/SPDX-License-Identifier: LGPL-2.0-or-later/"
2019-10-18 21:57:54 +02:00
Mael Rouxel-Labbé 4ec28cb79b Add a traits class member to Surface_mesh_simplification
Can be passed via named parameters, must be compatible with the VPM
2019-10-17 15:35:56 +02:00
Mael Rouxel-Labbé e4b2be3e4b Merge branch 'SMS-Add_GH_simplification-GF-old' into SMS-Add_GH_simplification-GF 2019-10-16 12:32:30 +02:00
Laurent Rineau 4fbf00fb8a CMake>=3.13: opt for for new policies up to 3.15 2019-06-19 14:34:59 +02:00
Mael Rouxel-Labbé b2cb2e708d Clean interal code
- Get rid of abusive and often useless 'using'
- Rename Detail to internal to align with conventions
- put internal code in 'internal' namespace
- Put include headers where they matter rather than in Common.h
2019-05-09 11:41:58 +02:00
Mael Rouxel-Labbé 2e178c106b Remove "convenience" headers that are actually just cluttering things up 2019-05-09 09:40:36 +02:00
Mael Rouxel-Labbé 6d8d0b564c Clean SMS code (whitespace, indentation, variable names, clumsy for loops, etc) 2019-05-09 09:31:35 +02:00
Mael Rouxel-Labbé 4747f8ccaf Improve reader sanity
- Re-indent to more normal standards
- Remove usage of *_impl.h
- Clean useless and trailing whitespace
- some minor code readability changes
2019-05-03 14:56:21 +02:00
Sébastien Loriot d60f5645aa replace BOOST_FOREACH by c++ ranged-based for loop
some of the command used for the replacement:
ack --cpp  BOOST_FOREACH -l  | xargs sed -i -E "s/BOOST_FOREACH\(([a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack --cpp  BOOST_FOREACH -l  | xargs sed -i -E "s/BOOST_FOREACH\((const [a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack --cpp  BOOST_FOREACH -l  | xargs sed -i -E "s/BOOST_FOREACH\((const typename [a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack --cpp  BOOST_FOREACH -l  | xargs sed -i -E "s/BOOST_FOREACH\((typename [<>a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack "boost/foreach.hpp" -l --cpp | xargs sed -i '/boost\/foreach.hpp>/d'
2019-03-29 13:22:15 +01:00
Guillaume Damiand 92ba7fa6c9 Update minimum cmake required version in all CMakeLists.txt 2018-10-18 14:49:23 +02:00
Guillaume Damiand 0bd9088b5a Remove all include( ) and include( CGAL_CreateSingleSourceCGALProgram ) in CMakeLists.txt; they are no more required. 2018-10-17 14:17:08 +02:00
Guillaume Damiand 7f09308d33 Remove all include_directories(BEFORE ../../include) in CMakeLists.txt 2018-10-17 13:07:22 +02:00
Sebastien Loriot 9938100097
Merge pull request #2955 from afabri/BGL-include_cleanup-GF
Do not include some BGL related header files
2018-05-15 22:21:42 +02:00
Andreas Fabri 991f3847e8 Do not include graph_traits_Polyhedron.h, properties_polyhedron.h and Polyhedron_iostream.h 2018-05-03 13:23:50 +02:00
Sébastien Loriot f2b1e70d80 rename ECM -> TM in code 2018-01-16 10:03:06 +01:00
Sébastien Loriot ee57fc2d6c add SPDX identifier for files under the GPL-3+ license 2017-11-12 10:17:51 +01:00
Laurent Rineau 66ced61e7b Fix a warning
```
...\test_edge_profile_link.cpp(68) : warning C4800: 'void *' : forcing value to bool 'true' or 'false' (performance warning)
```
2017-08-29 10:33:38 +02:00
Sébastien Loriot 4bfbc0259e add missing include directive 2017-08-25 11:23:03 +02:00
Sébastien Loriot a0d5974884 test link computed by edge profile 2017-08-24 11:13:10 +02:00
Andreas Fabri bf1c992a8a Qualify optional with boost:: as GCC6 sees an ambiguity 2016-10-12 12:11:00 +02:00
Sébastien Loriot 7e2ee496de update project name of cmake scripts of tests 2016-09-08 00:26:37 +02:00
Sébastien Loriot 4c29bf1b44 CMAKE_SOURCE_DIR -> CMAKE_CURRENT_SOURCE_DIR 2016-03-24 16:33:46 +01:00
Sébastien Loriot 881e4d3199 request Core only in examples, tests and demos when really needed 2016-03-07 22:36:57 +01:00
Sébastien Loriot 2d191d6651 commit CMakeLists.txt for all examples and tests 2016-03-07 17:39:36 +01:00
Andreas Fabri fef3ec4692 use BGL named parameters 2015-02-17 20:14:59 +01:00
Sébastien Loriot 5f4813b64d properties_Polyhedron_3.h is now included by graph_traits_Polyhedron_3.h 2014-07-04 17:24:05 +02:00
Andreas Fabri 61edc5caeb Don't incude a header file with halfedgegraph in the name 2014-07-02 17:40:58 +02:00
Andreas Fabri c552dce7c6 first pass to switch to the BFL API 2014-05-27 16:02:42 +02:00
Sébastien Loriot b28fadc2c3 handle zero-length edges and constrained correctly
Handle constrained edges of length 0
Remove from the queue edges removed (not related to constraints)
Avoid calling Collapse directly to avoid updating neighbors
2014-01-30 14:08:29 +01:00
Sébastien Loriot 9d0fe2e41b add missing cmd and make test more verbose on errors 2013-10-01 10:35:13 +02:00
Sébastien Loriot 759cfd841c add an example showing a bug with the handle of edge of length 0 2013-09-25 13:20:09 +02:00
Sébastien Loriot 9fcf46e11a replace CGAL_[kernel/qpe/triangulation/]_assertion by assert in tests
this should be the case, following our guidelines.

using:
find */test/* -name '*.[hc]*' | xargs sed -i 's/CGAL_assertion/assert/g'
2013-03-21 10:50:55 +01:00
Sébastien Loriot 7d20531b1d Convert remaining CRLF files to LF 2012-12-04 17:09:28 +01:00
Laurent Rineau 8f59fd9592 Turn QPL into LGPLv3+ 2012-01-13 16:33:35 +00:00
Andreas Fabri 82e920acc1 int->size_t and suppres VC++ warning on truncted names 2010-06-25 08:55:21 +00:00
Laurent Rineau 8679a3911e Merged revisions 56835,56864-56870,56876,56895-56897 via svnmerge from
svn+ssh://lrineau@scm.gforge.inria.fr/svn/cgal/branches/CGAL-3.6-branch

........
  r56835 | lrineau | 2010-06-17 12:56:52 +0200 (Thu, 17 Jun 2010) | 6 lines
  
  Remove the constructor Gmpfr(long double) on Microsoft Visual C++. A big
  comment in the source code explains why.
  
  The testsuite will check that the construction of Gmpfr from a long double
  on MSVC still works and produces the right Gmpfr.
........
  r56864 | afabri | 2010-06-18 11:04:47 +0200 (Fri, 18 Jun 2010) | 1 line
  
  Use tie from boost::
........
  r56865 | afabri | 2010-06-18 11:11:49 +0200 (Fri, 18 Jun 2010) | 1 line
  
  Use bind from boost::
........
  r56866 | afabri | 2010-06-18 11:38:50 +0200 (Fri, 18 Jun 2010) | 1 line
  
  Use bind from boost:: (detected in Mesh_3 VC10 testsuite)
........
  r56867 | lrineau | 2010-06-18 11:39:24 +0200 (Fri, 18 Jun 2010) | 3 lines
  
  cmake-2.8.2rc2 is out.
  /bigobj is necessary
........
  r56868 | afabri | 2010-06-18 11:52:37 +0200 (Fri, 18 Jun 2010) | 1 line
  
  Add #include <fstream>
........
  r56869 | afabri | 2010-06-18 11:55:33 +0200 (Fri, 18 Jun 2010) | 1 line
  
  Shorten filename as with path it exceeds easily 256 letters which poor Visual C++ can't handle
........
  r56870 | afabri | 2010-06-18 12:24:30 +0200 (Fri, 18 Jun 2010) | 1 line
  
  Use tie from boost::
........
  r56876 | lrineau | 2010-06-18 16:40:36 +0200 (Fri, 18 Jun 2010) | 3 lines
  
  New try to fix the issue of Gmpfr(long double) with MSVC and libmpfr-1.dll
  compiled by Mingw.
........
  r56895 | lrineau | 2010-06-20 23:16:40 +0200 (Sun, 20 Jun 2010) | 3 lines
  
  Using boost::bind is not sufficient" "bind" without qualifier was
  ambiguous, according to MSVC2010, with std::bind (from C++0x).
........
  r56896 | lrineau | 2010-06-20 23:18:29 +0200 (Sun, 20 Jun 2010) | 3 lines
  
  Qualify "bind" with "boost::", to avoid the ambiguity (according to
  MSVC2010), with std::bind (C++0x).
........
  r56897 | lrineau | 2010-06-20 23:19:17 +0200 (Sun, 20 Jun 2010) | 2 lines
  
  Stupid typo!
........
2010-06-20 21:48:20 +00:00
Andreas Fabri 86e4523273 Header file for EPEC_with_sqrt was included but not used 2010-03-24 07:46:19 +00:00
Andreas Fabri 1905d83b6d Add virtual destructor in the testsuite to turn a 'W' to a 'Y' 2010-02-02 08:32:59 +00:00
Fernando Cacciola 4ff3f3250b Fixed buggy testsuite 2010-01-25 21:27:42 +00:00
Sylvain Pion b5225edd75 Remove svn:executable property. 2009-09-19 05:27:54 +00:00
Sylvain Pion 8573fe26ce Rename CGALi to internal. 2009-08-24 17:10:04 +00:00
Fernando Cacciola be7e5c507c Fixed visitor override signature 2009-07-03 16:20:43 +00:00
Fernando Cacciola da4d30c59d Fixed case 'edge_collapse_visitor_base.h' to 'Edge_collapse_visitor_base.h' (3/3) 2009-06-30 14:48:32 +00:00
Fernando Cacciola 2ffde88db5 Fixed warnings 2009-06-26 14:56:27 +00:00
Fernando Cacciola 570fbe6558 cleanup (2) 2009-06-25 14:33:33 +00:00
Fernando Cacciola 10e46ab097 cleanup 2009-06-25 14:18:36 +00:00
Fernando Cacciola d33e55ef4e Fixed dummy visitor
Turn-off self intersection test (temporarily)
2009-06-24 15:25:44 +00:00
Fernando Cacciola 161992c1f9 CLean up visitor API 2009-06-23 15:17:19 +00:00
Fernando Cacciola 498ff082bd Fixed new geometric condition test 2009-06-22 16:03:37 +00:00
Fernando Cacciola 59050dc0fc Fixed LT computation bug, link-condition test and added geometric condition test 2009-06-19 16:49:47 +00:00
Fernando Cacciola f5d2df8590 Updated testsuite 2009-06-10 15:51:32 +00:00
Sylvain Pion 9f6aa6b120 Explicitly qualify shared_ptr with boost::, otherwise there is a conflict with std::shared_ptr in C++0x mode. 2009-05-10 13:27:08 +00:00
Sylvain Pion 8eab7e07dd Split <CGAL/assertions.h> in 2 files, by moving the assertion behaviour
changing functions to a separate header, not included by default
(<CGAL/assertions_behaviour.h>).  The motivation is to hide the enum
values with risky names (ABORT, EXIT, CONTINUE) to a header file which
is most probably not used by any user (or very few).
(breaks backward compatibility for an expected very few, for the sake
of erasing random surprises for "many" ?)
2008-11-21 16:42:02 +00:00
Fernando Cacciola 708fc28377 qualifiy 'std::exception' to avoid ambiguity with boost::exception from Boost's 1.36 2008-10-22 13:00:13 +00:00
Fernando Cacciola 2b93662a2c Now consider a huge cost as equivalent to an infinite cost to avoid nonsensical differences to be considered as audit mismatch 2008-10-15 17:13:09 +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
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 afddfc4fca CMake scripts for demos/examples/test added 2008-02-06 19:06:24 +00:00
Sylvain Pion 88ed563f44 Remove some workarounds for SunPRO + RW's STL:
CGAL_CFG_MISSING_TEMPLATE_VECTOR_CONSTRUCTORS_BUG
CGAL_CFG_RWSTD_NO_MEMBER_TEMPLATES  (partially so far)
CGAL_make_vector
CGAL_make_list
2008-01-03 14:50:13 +00:00
Marc Glisse df8c51f577 More of the "no constructor from iterators for vectors" workaround. 2007-08-27 10:09:41 +00:00
Fernando Cacciola fe6636b146 Unused args warnings fixed 2007-03-23 14:28:33 +00:00
Fernando Cacciola f7a9e51240 Fix to new test suite (according to first results) 2007-03-20 15:30:19 +00:00
Fernando Cacciola d89cddceec New test suite 2007-03-19 14:40:37 +00:00
Fernando Cacciola 5af62e3065 duplicate assertion functions removed (they shown undefined in linux-gcc4.0.2) 2007-03-08 21:49:44 +00:00
Fernando Cacciola 99a482f86e Fixed audit parsing in Linux
Fixed testsuite to handle unstable ordering of edges with equal collapse cost
2007-03-08 20:48:48 +00:00
Fernando Cacciola 86cc842d4d Testsuite for Surface_mesh_simpification fixed 2007-03-06 20:47:41 +00:00
Sylvain Pion dd22fc8188 Move the main() function into the 2 "wrapper" .cpp files, and rename
the old one (in the included .cpp file) to aux_main().
This way, I can remove one more cgal_test script.
2007-02-28 19:14:35 +00:00
Fernando Cacciola 9529f8ae18 Audits regenerated and extended for better regression diagnostics 2007-01-30 16:07:14 +00:00
Laurent Saboret 9d0d302a87 Fixed svn properties of whole trunk 2006-12-18 09:37:55 +00:00
Fernando Cacciola 573acf7e3c Testsuite fixes 2006-11-21 17:21:58 +00:00
Fernando Cacciola 287b5a210a ERROR macro renamed to avoid name clash 2006-11-14 15:47:34 +00:00
Fernando Cacciola 1656f1d5f9 cache/fixed-vertex stuff removed 2006-11-14 15:24:51 +00:00
Fernando Cacciola e124f68191 cache/fixed-vertex stuff removed 2006-11-13 14:45:33 +00:00
Fernando Cacciola 94dec4fd0b cache/fixed-vertex stuff removed 2006-11-13 14:36:19 +00:00
Fernando Cacciola fa10151f70 KDevelop file removed 2006-10-24 18:08:51 +00:00
Fernando Cacciola f388a5ce79 audits are now cache-strategy specific (otherwise the check fails) 2006-10-24 18:03:55 +00:00
Fernando Cacciola c88e6266b6 create_audit programs made internal (no longer in SVN) 2006-10-24 15:18:24 +00:00
Fernando Cacciola 1d629e2b1e fixed handling of multiple unconnected components. .cmd files added to testsuite 2006-10-23 18:40:51 +00:00
Fernando Cacciola 5d0f391025 cgal_test and .cmd files added to make the testsuite work 2006-10-19 16:53:00 +00:00
Fernando Cacciola ddd88bdfd3 demo updated 2006-10-17 16:47:30 +00:00