Commit Graph

69624 Commits

Author SHA1 Message Date
Jane Tournois 76e6333a18 fix the use of const_type 2016-09-22 12:10:06 +02:00
Jane Tournois fc58055ec3 use get_const_property_map 2016-09-22 12:10:06 +02:00
Jane Tournois 1aac56ca61 add const_type, and get_const_pmap 2016-09-22 12:10:06 +02:00
Jane Tournois b475497db2 add missing graph_has_property for edge_weight_t 2016-09-22 12:10:06 +02:00
Jane Tournois 661a55f8e6 use Has_member_id where it's possible, and add missing graph_has_property structs 2016-09-22 12:10:06 +02:00
Jane Tournois c234af207e fix unused parameter warning 2016-09-22 12:10:06 +02:00
Jane Tournois 50b05a15c7 use double parenthesis inside static assertion when expression has a comma 2016-09-22 12:10:06 +02:00
Jane Tournois 756eac95d3 fix compilation error 2016-09-22 12:10:06 +02:00
Jane Tournois 197252149e fix warnings 2016-09-22 12:10:06 +02:00
Jane Tournois 6d9e974bab add documentation 2016-09-22 12:10:06 +02:00
Laurent Rineau 82b25ebf61 Add a compatibility with CMake-2.8.11.
`target_compile_options` was introduced by CMake-2.8.12.

With CMake-2.8.11, let's use the former `CMakeLists.txt`, instead of the
new version from `cgal_test.cmake`
2016-09-22 12:06:10 +02:00
Jane Tournois 5391a66dde add test for Has_member_id 2016-09-22 12:05:51 +02:00
Jane Tournois 047be1346c add the use of face_index_map wherever it's needed
remeshing_test now crashes, don't know why yet
2016-09-22 12:05:51 +02:00
Jane Tournois d50cbf4930 use get_property_map for face_index_map
in isotropic_remeshing and border_halfedges
2016-09-22 12:05:51 +02:00
Jane Tournois 7e1fab420a add get_property_map to get either the internal pmap or cgal_no_property 2016-09-22 12:05:51 +02:00
Jane Tournois d1da692ce7 add partial specializations of graph_has_property for existing internal pmaps 2016-09-22 12:05:51 +02:00
Jane Tournois c8de3e32f1 add class to check whether a class has member function id()
this function is also able to detect the id() function in
base classes, however the number of derivations is large

I will add the test `test_Has_member_id.cpp` to the BGL package to test
this functionality
2016-09-22 12:05:51 +02:00
Jane Tournois 73492e7767 add graph_has_property
a struct intended to check whether Graph has an internal property map
for the parameter tag `PropertyTag`
2016-09-22 12:05:51 +02:00
Sébastien Loriot a3f4f1816e remove extra line 2016-09-22 10:56:49 +02:00
Andreas Fabri 989fd3b076 remove #include 2016-09-22 10:34:53 +02:00
Andreas Fabri 8d15be6c59 fix for auto and Intel compiler 2016-09-22 10:27:44 +02:00
Andreas Fabri c12f285ee4 Dispatch the files in Kernel_23, Cartesian, Homogeneous 2016-09-22 08:38:53 +02:00
Andreas Fabri f1cc37599c Document that the precision is thread local 2016-09-21 17:45:02 +02:00
Maxime Gimeno a88981ddf5 Make the doc of the file just basic comments so the clas sis not officially documented. 2016-09-21 15:15:03 +02:00
Maxime Gimeno b51f064a55 Make the 300 000 a const std::size_t define in the beginning of Scene_point_with_normal_item.cpp 2016-09-21 14:55:50 +02:00
Laurent Rineau 5a1a9b7135 Add a compatibility with `cgal_test` 2016-09-21 11:56:52 +02:00
Iordan Iordanov 6e5953cd68 Added description to changes.html 2016-09-21 10:40:32 +02:00
Iordan Iordanov 3ee9a62497 Corrections for compile warnings 2016-09-21 10:35:41 +02:00
Iordan Iordanov 670c58ad8d Corrections for compile warnings 2016-09-21 10:35:41 +02:00
Iordan Iordanov 24d7fd0142 Small change to description of insert_in_hole() in the documentation 2016-09-21 10:35:41 +02:00
Iordan Iordanov 76d664402e Bugfix for insert_in_hole -- vertices on the boudary of the hole now point at new faces 2016-09-21 10:35:41 +02:00
Iordan Iordanov a791e577c2 Small updates to doc for TDS_2 and assertion added in TDS_2.insert_in_hole() 2016-09-21 10:35:41 +02:00
Iordan Iordanov 441df3c540 Modifications to the code for TDS_2.insert_in_hole, the documentation and also the testsuite 2016-09-21 10:35:41 +02:00
Iordan Iordanov e90be729d6 Small feature: doc description update for function insert_in_hole in TDS_2 2016-09-21 10:35:41 +02:00
Iordan Iordanov 649745d040 Small feature: add function insert_in_hole to Triangulation_data_structure_2. Contains documentation and test. 2016-09-21 10:35:41 +02:00
Sébastien Loriot c8db2f46f1 remove extra line 2016-09-20 15:58:42 +02:00
Jane Tournois d03077abda iterator type of FaceRange should be multi-pass, so ForwardIterator 2016-09-20 15:03:13 +02:00
Andreas Fabri b19bfc4300 remove instead of commenting 2016-09-20 14:41:07 +02:00
Laurent Rineau 4ee96e11c0 Update picasso to CMake-3.6.2 2016-09-20 14:28:35 +02:00
Maxime Gimeno 5649c3f56b Renaming
- Rename AABB_C3T3_triangle_primitive in AABB_triangulation_3_triangle_primitive and change the doc accordingly.
2016-09-20 12:22:01 +02:00
Maxime Gimeno 3bd7e95d87 Optimize
- Makes the resizing of the points real fast
- Makes the resizing of the normals applied on slider released instead of every tick when the point set size is bigger than 300 000
- sets the initial value of the point size to 2 instead of 5
2016-09-20 10:57:38 +02:00
Laurent Rineau adfdcdfea2 add .travis.yml from e2bda6b04ece18b2a6e97109ddb67505b906b5ac 2016-09-20 10:53:50 +02:00
Laurent Rineau d8b564e003 Use CGAL_add_test.cmake 2016-09-20 10:53:20 +02:00
Laurent Rineau 46b1008dc6 CTest Arr_2: remove commented code 2016-09-20 10:53:20 +02:00
Laurent Rineau 0511bc8b69 CTest Arr_2: improve the name of targets 2016-09-20 10:53:20 +02:00
Laurent Rineau 3d36fe05b3 WIP: the Arr_2 testsuite is now working!! 2016-09-20 10:53:20 +02:00
Laurent Rineau c0f36af442 Add a comment 2016-09-20 10:53:20 +02:00
Laurent Rineau 0a88180b51 Handle the case when a glob pattern is in .cmd
In that case, CMake must use globbing to interpret the content of the
.cmd file.
2016-09-20 10:53:20 +02:00
Laurent Rineau 545e80f18e Add a variable CGAL_CURRENT_SOURCE_DIR
Save the current source directory to `CGAL_CURRENT_SOURCE_DIR`. The
variable value is modified by a `CMakeLists.txt` file when it is
generated by `cgal_create_cmake_script` in the binary tree. The script
`cgal_create_cmake_script` itself it called by CMake, by the function
`process_CGAL_subdirectory` (see its definition in
`Installation/cmake/modules/CGAL_Macros.cmake`), called in
`(examples|test|demo)/CMakeLists.txt`.

Eventually, that variable value is supposed to be the directory to the
current sources, even if the current `CMakeLists.txt` is within the
binary tree.

That is used in `CGAL_CreateSingleSourceCGALProgram.cmake` for the CTest
support, so set correctly the current working directory (in the
directory of the tests/examples).
2016-09-20 10:53:20 +02:00
Laurent Rineau c30560143b Correctly handle `.cmd` files
The trick to use the CMake command `separate_arguments` to interpret the
lines of the `.cmd` file.
2016-09-20 10:53:20 +02:00