Commit Graph

296 Commits

Author SHA1 Message Date
Philipp Möller 4211a4f01e Globally remove CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS
This is a Cmake 2.4.3 variable that isn't even documented anymore.
2016-02-16 17:02:55 +01:00
Sebastien Loriot 718eae7a00 Merge pull request #714 from sgiraudot/CGAL-Fix_boost_warning_unused_typedef-GF
Fix boost warning (unused typedef)
2016-02-05 14:59:28 +01:00
Simon Giraudot eb5ff8ddc9 Add missing CGAL_UNUSED on BOOST_CONCEPT_ASSERT. 2016-02-04 11:44:21 +01:00
Andreas Fabri de3ad814b1 Add a testcase for the g++4.4 bug 2016-02-03 15:10:46 +01:00
Philipp Möller 82d3ad5432 Remove unused typedef 2016-02-02 16:00:31 +01:00
Philipp Möller 4208d3a1aa Remove license headers from test cases 2016-02-02 16:00:31 +01:00
Philipp Möller 212200e391 Add a check for another edge_property 2016-02-02 16:00:31 +01:00
Philipp Möller 9c9256da8c Add the overloads to fix face/vertex_index_t 2016-02-02 16:00:31 +01:00
Philipp Möller bb1f3f6dcb Check the property concepts 2016-02-02 16:00:31 +01:00
Philipp Möller e6ef757af4 Add a concept check for DualS 2016-02-02 16:00:31 +01:00
Philipp Moeller e664771f50 Also add the CGAL_USE_OPENMESH define
The BGL testsuite uses the define CGAL_USE_OPENMESH to check if OpenMesh is available, but that define is not set even if it there.
2016-01-08 12:31:47 +01:00
Philipp Möller f17dd10214 Add a clear helper
This helper will use the faster clear member function, if it is
available or clear the mesh in a traditional fashion otherwise.
2016-01-08 12:31:47 +01:00
Philipp Möller 9766b8f350 Add traits class to check for member clear 2015-12-27 17:03:17 +01:00
Andreas Fabri 48f367e68b fix bug and improve testsuite 2015-11-20 09:56:55 +01:00
Andreas Fabri 6eeebfe8d0 test make-triangle() 2015-10-14 10:41:47 +02:00
Philipp Möller bda64df544 Remove unnecessary includes 2015-07-30 14:16:59 +02:00
Sébastien Loriot a220686d02 satisfies_link_condition->does_satisfy_link_condition to match naming convention 2015-07-21 10:27:27 +02:00
Sébastien Loriot 6b15ec643c Merge branch 'CGAL-Qt5_support-GF' into cgal-public-dev/Polygon_mesh_processing-GF
Conflicts:
	Mesh_3/demo/Mesh_3/include/CGAL/gl_render.h
	Polyhedron/demo/Polyhedron/CMakeLists.txt
	Polyhedron/demo/Polyhedron/GlSplat/GlSplat.cpp
	Polyhedron/demo/Polyhedron/Scene_polygon_soup_item.cpp
	Polyhedron/demo/Polyhedron/Scene_polyhedron_selection_item.h
2015-07-16 16:52:53 +02:00
Sébastien Loriot c89fa4bd53 simplify bgl named parameters handling with boost < 1.51 and make PMP compatible 2015-07-16 16:01:21 +02:00
Laurent Rineau f9917c487e CMake 2.8.11 2015-07-13 12:36:43 +02:00
Sébastien Loriot d164633493 remove REQUIRED keyword 2015-07-07 11:23:46 +02:00
Andreas Fabri 2416a8917b Do not #define CGAL_USE_OPENMESH 2015-07-02 15:26:11 +02:00
Andreas Fabri 28c631a177 fix BGL test suite 2015-07-01 14:25:20 +02:00
Andreas Fabri 20c1b1a1f6 Merge branch 'Polygon_mesh_processing-GF-old' into Polygon_mesh_processing-GF
Conflicts:
	BGL/include/CGAL/boost/graph/Euler_operations.h
	BGL/include/CGAL/boost/graph/iterator.h
	Documentation/doc/Documentation/Doxyfile.in
	Documentation/doc/Documentation/dependencies
	Polyhedron/demo/Polyhedron/Polyhedron_demo_point_inside_polyhedron_plugin.cpp
	Polyhedron/demo/Polyhedron/Scene_polygon_soup_item.cpp
	Polyhedron/demo/Polyhedron/Selection_widget.ui
2015-07-01 13:52:44 +02:00
Andreas Fabri 307c86910b fix a -strict-ansi warning 2015-05-18 10:52:50 +02:00
Andreas Fabri 1cd6715d9b perform Euler operations tests also for OM 2015-05-15 11:23:03 +02:00
Andreas Fabri e354de8493 char* -> const char* 2015-04-20 11:14:12 +02:00
Andreas Fabri d539246011 add typename; remove unused typedefs 2015-04-20 10:48:12 +02:00
Andreas Fabri 8eb4ec93c4 fixes and cleanup 2015-04-16 11:21:19 +02:00
Andreas Fabri 6e7debb874 test helpers 2015-04-15 16:36:23 +02:00
Andreas Fabri e1c1b58415 Add a test for the make_hexahedron 2015-03-18 15:48:19 +01:00
Laurent Rineau 2a58fbda4a Merge remote-tracking branch 'origin/Surface_mesh-isolated_vertex-GF'
Bug-fix for the BGL API:

  - Remove assertion in halfedge(Polyehdron_3, vertex_descriptor) as it
    is wrong for an isolated vertex.
  - fix a warning.

Fix the documentation:

  - Document that add_vertex/edge/face(G&) do not initialize the
    connectivity

Approved by the Release Manager.
Tested in CGAL-4.6-Ic-132.
2015-02-19 17:42:23 +01:00
Andreas Fabri af0800bb45 CGAL_USE a variable 2015-02-18 11:11:11 +01:00
Andreas Fabri fb5280b2aa Remove assertion in halfedge(Polyehdron_3, vertex_descriptor)
as it is wrong for an isolated vertex.
Document that add_vertex/edge/face(G&) do not initialize the connectivity
2015-02-17 11:43:23 +01:00
Andreas Fabri dc0687dc26 Use iterator_adaptor instead derivation from transform_iterator
With transform iterator we would have to rewrite operator++
as it does not return the derived class.
This led to a compilation bug when using connected_components.
2015-02-11 17:24:08 +01:00
Andreas Fabri 6e36a853a9 Merge branch 'Surface_mesh-new_package-GF'
Approved by the release manager
Conflicts:
	Documentation/doc/Documentation/dependencies
	Documentation/resources/how_to_cite_cgal.bib.in
	Installation/changes.html
2015-01-12 11:27:35 +01:00
Andreas Fabri dc797a7036 use numeric_cast, as abs does not change the return type 2015-01-08 09:38:41 +01:00
Andreas Fabri be632d39f5 use the size type of the graph 2014-12-29 14:47:14 +01:00
Andreas Fabri 18b5b312f9 do not use the boost testing framework 2014-12-18 20:32:50 +01:00
Sébastien Loriot 12a9027ed9 Merge remote-tracking branch 'origin/BG-split_graph_into_polylines-GF'
The extract polyhedron boundary now extract maximal polylines from
  the set of boundary edges. End point are vertices of degree != 2
  For convenience the function used to build these maximal polylines
  is put into include/CGAL/boost/graph/split_graph_into_polylines.h

Tested in 4.6-Ic-76
Approved by the release manager
2014-12-16 11:40:11 +01:00
Sébastien Loriot eaedcd3724 move file to test 2014-12-11 18:56:59 +01:00
Sébastien Loriot ad1954afc4 fix warnings and compilation issues 2014-12-10 17:34:51 +01:00
Andreas Fabri 901c3829d0 add tests 2014-11-26 11:06:31 +01:00
Andreas Fabri 4355794781 iterator_range moved the package 2014-11-12 14:40:51 +01:00
Andreas Fabri d91f2deaff safisfies_link_condition() -> satisfies_link_condition() in code/doc/test
Add doxygen for collapse_edge() with an EdgeIsConstrainedMap
2014-10-21 10:17:34 +02:00
Sébastien Loriot 0b8314e28d the notion of border for a halfedge is not encoded using a property map 2014-07-21 22:30:14 +02:00
Sébastien Loriot a158d13647 initial version of Surface_mesh package 2014-07-15 12:08:51 +02:00
Sébastien Loriot cd88dc010b remove extra include directives 2014-07-04 17:24:06 +02:00
Sébastien Loriot ec9c796552 remove exe flag 2014-07-04 17:24:06 +02: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
Sébastien Loriot 03c7223873 remove extra ; 2014-07-03 17:13:22 +02:00
Andreas Fabri 80c8fec9e2 Add test and fixes of add_vertex_and_face_to_border 2014-07-02 12:55:32 +02:00
Andreas Fabri 31cbcd5544 less warnings 2014-07-01 14:45:28 +02:00
Andreas Fabri 09535e6078 remove #include that is not used 2014-06-29 16:41:03 +02:00
Andreas Fabri 00d89a8ded removed unused typedefs 2014-06-27 15:49:21 +02:00
Andreas Fabri 1201fd9885 Use CGAL_USE_TYPE to avoid warnings 2014-06-27 15:29:24 +02:00
Andreas Fabri d11cac3e94 remove unused typedefs 2014-06-27 15:11:39 +02:00
Andreas Fabri 25ae87571b fix openmesh testsuite 2014-06-26 23:25:18 +02:00
Sébastien Loriot b01091dbac fix typos 2014-06-25 21:14:24 +02:00
Andreas Fabri cbd8af7690 go back to the classical testsuite 2014-06-25 18:11:14 +02:00
Sébastien Loriot a374556e48 typo 2014-06-25 15:13:38 +02:00
Andreas Fabri f644ff649a now the testsuite works on Windows (on my machine) 2014-06-24 18:16:25 +02:00
Andreas Fabri 55d9d30f26 Use the non-header only version of the boost test framework 2014-06-20 15:14:06 +02:00
Andreas Fabri 659da042cc bug fix, read file argv[1], is_border instead of border_map 2014-06-20 10:32:21 +02:00
Andreas Fabri 9a28ba0ca9 Add implementation and first test for satisfies_link_condition 2014-06-19 18:46:23 +02:00
Andreas Fabri 689e5ef4a6 add a typename 2014-06-19 08:49:33 +02:00
Andreas Fabri 144d206a75 cleanup of the helper files, and a partial fix of the slicer (which will be red in the testsuite) 2014-06-11 18:16:58 +02:00
Andreas Fabri c837839cb9 no set_constant_vertex_is_border 2014-06-11 15:29:14 +02:00
Andreas Fabri 285271c09d handwritten CMakeList.txt as we check for OpenMesh 2014-06-11 15:28:18 +02:00
Andreas Fabri d6ad6fd6d9 remove constant_vertex_is_border 2014-06-11 09:34:38 +02:00
Andreas Fabri b1b4b05fe6 changes such that the testsuite compiles 2014-05-22 12:21:29 +02:00
Andreas Fabri 3ad8f65d28 small fixes 2014-05-22 10:36:50 +02:00
Andreas Fabri b2ec8d925b CGAL_USE_TYPE 2013-02-07 15:43:25 +01:00
Andreas Fabri 9626e40e33 one CGAL_USE_TYPE too much 2013-02-06 08:45:49 +01:00
Andreas Fabri 61bb99e2f1 use types 2013-02-04 22:39:00 +01:00
Sébastien Loriot 7d20531b1d Convert remaining CRLF files to LF 2012-12-04 17:09:28 +01:00
Laurent Rineau 056e040307 Remove warning: set but not used 2012-01-23 12:12:07 +00:00
Laurent Rineau 8f59fd9592 Turn QPL into LGPLv3+ 2012-01-13 16:33:35 +00:00
Laurent Rineau 369498d1e5 Cancel revision 64607. There had been a problem with the branch.
| ------------------------------------------------------------------------
  | r64607 | efif | 2011-07-05 17:27:04 +0200 (Tue, 05 Jul 2011) | 1 line
  | 
  | Merged feature-branch Aos_2-new_functors-tau into next
  | ------------------------------------------------------------------------
2011-07-06 11:11:58 +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
Sylvain Pion 2bdf828dfd Unless I am mistaken, those pre-CMake makefiles are obsolete. 2009-08-20 11:45:12 +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 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
Fernando Cacciola cffe0f9156 Test input files added 2007-03-19 14:33:07 +00:00
Sylvain Pion a9bee6cfc2 same change as in Surface_mesh_simplification to remove cgal_test from SVN 2007-02-28 20:09:49 +00:00
Laurent Saboret 9d0d302a87 Fixed svn properties of whole trunk 2006-12-18 09:37:55 +00:00
Fernando Cacciola 6d1d597f54 cgal_test added 2006-10-17 16:55:44 +00:00
Fernando Cacciola 33fee92bdb additions to testsuite 2006-10-09 16:13:06 +00:00
Fernando Cacciola c5edb51bc6 code for polyhedron items with id added 2006-10-06 18:01:28 +00:00
Fernando Cacciola e7f281d87b testsuite started 2006-10-05 17:18:07 +00:00
Fernando Cacciola c4145fb930 testsuite started 2006-10-05 16:48:15 +00:00
Fernando Cacciola 391c894ceb testsuite started 2006-10-04 17:09:50 +00:00