Commit Graph

238 Commits

Author SHA1 Message Date
Guillaume Damiand b7f5c709f0 rename filename for polyhedron viewer 2018-05-29 11:01:59 +02:00
Guillaume Damiand 9e4f2870b8 Work on generic display function. 2018-05-29 11:01:59 +02:00
Maxime Gimeno f22c2864a0 Put qglviewer in the namespace CGAL 2018-05-17 10:20:56 +02:00
Maxime Gimeno 6584abd90b Use integrated qglviewer for 3D demos 2018-05-17 10:20:55 +02:00
Guillaume Damiand a52a324262 Continue tests. 2018-03-30 16:42:22 +02:00
Guillaume Damiand ba014bfa3c Update all tests for canonical representation; start tests for isotopy. 2018-03-30 15:03:02 +02:00
Guillaume Damiand 6ec0beba66 Add more test of validity 2018-03-29 17:39:32 +02:00
Guillaume Damiand 122eeb0be8 3 first tests are ok. 2018-03-29 17:23:26 +02:00
Guillaume Damiand d302193844 Update tests to simplify the usage. 2018-03-29 12:03:20 +02:00
Guillaume Damiand 858c81c919 Update tests to remove debug messages. 2018-03-29 10:13:23 +02:00
Guillaume Damiand 13859a4fa4 Add test of random paths. 2018-03-28 22:40:52 +02:00
Guillaume Damiand 8be85817c7 l-shape case 8 OK. 2018-03-28 22:10:53 +02:00
Guillaume Damiand a42a4546ae l-shape case 7 started (nyf) 2018-03-28 17:53:48 +02:00
Guillaume Damiand e4afaf5ea5 l-push cases 5 & 6 ok. 2018-03-28 17:42:34 +02:00
Guillaume Damiand c8cdf75b8b l-push case 4 ok. 2018-03-28 16:36:21 +02:00
Guillaume Damiand b3389488f5 Better test suite for path canonizing. 2018-03-28 12:45:34 +02:00
Guillaume Damiand dec0a55276 Push l-shape ok for cases 1, 2 and 3. 2018-03-28 10:19:41 +02:00
Guillaume Damiand 4ee2036093 Update l-shape right shift. 2018-03-26 17:54:10 +02:00
Guillaume Damiand d3f1a4c703 Seems ok for bracket flatering and spurs removal. 2018-03-23 16:10:55 +01:00
Guillaume Damiand 1d97d27ba9 Case (1 2^r) is now ok. 2018-03-20 11:30:14 +01:00
Guillaume Damiand 5521f52d96 Add more tests for special cases of bracket reduction 2018-03-20 09:17:09 +01:00
Guillaume Damiand dfc76816b3 Update 2018-03-19 22:19:38 +01:00
Guillaume Damiand b848314336 Improve method 2018-03-19 16:36:03 +01:00
Guillaume Damiand 584def3c0f Continue path simplification for homotopy test. 2018-03-14 22:20:53 +01:00
Guillaume Damiand 763edf0030 Update path generator and bracket reduction 2018-03-14 19:43:46 +01:00
Guillaume Damiand 39742b0d32 Continue bracket_flattening 2018-02-11 17:02:54 +01:00
Guillaume Damiand 8e73a49cb4 Start method bracket_flattening() 2018-02-10 10:52:36 +01:00
Guillaume Damiand 275c133a2c Continue the homotopy test algorithm. 2018-02-09 11:19:09 +01:00
Guillaume Damiand 7694565cb0 Update new functionalities 2017-12-17 19:01:39 +01:00
Guillaume Damiand 58387e9af4 Add viewer for surface and paths; add function to generate random paths. 2017-12-17 11:31:06 +01:00
Guillaume Damiand 4bb1758a0d Simplification in one vertex uses now also union find trees 2017-12-16 11:53:02 +01:00
Guillaume Damiand 78efb73a75 cmap function cont 2017-12-15 20:51:01 +01:00
Guillaume Damiand 9495a4da73 Add example for lcc new functionality 2017-12-15 10:35:52 +01:00
Guillaume Damiand fb1f44ab60 Add a new class for cmap functionalities; plus one example to use it. 2017-12-15 09:52:26 +01:00
Laurent Rineau 0b0b1503ef Merge pull request #2594 from gdamiand/CMap-bugfixes-gdamiand
CMap bugfixes
2017-12-05 18:20:56 +01:00
Guillaume Damiand d5372e1a7d Remove option '-std=c++11', committed by error. 2017-11-21 10:02:23 +01:00
Guillaume Damiand b21b9e21c9 By default, disable the use of viewer in LCC examples. 2017-11-16 15:20:23 +01:00
Laurent Rineau a9365554c9 Merge pull request #2550 from sloriot/CGAL-add_SPDX_tags
Add SPDX License Identifier
2017-11-15 16:48:27 +01:00
Laurent Rineau 3ff09bc549 Merge pull request #2580 from lrineau/CGAL-Support_CMake_3.10-GF
Renew the handle of policies, for CMake-3.10
2017-11-15 16:47:42 +01:00
Guillaume Damiand 4c893ef009 Add missing #include 2017-11-15 14:19:43 +01:00
Guillaume Damiand 2f0f97fa47 Update basic viewer to use a generic name. 2017-11-15 12:16:13 +01:00
Guillaume Damiand f0a44e2483 update basic viewer to allow to draw mono and color faces 2017-11-14 19:12:10 +01:00
Guillaume Damiand 877e8783f5 Add new file for generic viewer. 2017-11-13 13:33:05 +01:00
Guillaume Damiand c9ba6c2950 Split the LCC viewer in two; to prepare a generic base for all cgal ds viewers. 2017-11-13 12:27:48 +01:00
Sébastien Loriot 0698f79aff add SPDX identifier for files under the LGPL-3+ license 2017-11-12 10:17:50 +01:00
Laurent Rineau 62c70d41ca Renew the handle of policies, for CMake-3.10
Now that we require CMake>=3.1, we can forget a lot of old CMake policies.

`CMP0053` `OLD` behavior is still needed, because of a bug in Qt5 CMake files, but it will
not be set with CMake>=3.10. Let's assume that a recent CMake version means
a recent Qt5 version.
2017-11-06 14:58:36 +01:00
Laurent Rineau 7e9f756935 Replace all std::unary_function by CGAL::unary_function 2017-10-04 15:57:09 +02:00
Maxime Gimeno 1a5d74f020 Fixes 2017-07-03 09:39:12 +02:00
Maxime Gimeno 5ae96fc2aa Explicitely set the policy of CMP0053 to OLD to silent the warning when it is not found. 2017-05-23 16:12:56 +02:00
Guillaume Damiand a9ac4013fa Update lcc demo and viewer to allow to reverse normal and to change the light. 2016-11-29 11:43:46 +01:00
Guillaume Damiand 9731a1a51e Correction of copy dart info functor. 2016-11-29 11:43:43 +01:00
Guillaume Damiand 5d0ce4fea4 Update LCC examples 2016-11-29 11:43:41 +01:00
Guillaume Damiand d5fbe24775 Remove useless Dart_info 2016-11-29 11:43:38 +01:00
Guillaume Damiand 02e1eb7e96 Add is_orientable function in GMap. 2016-11-29 11:43:37 +01:00
Guillaume Damiand 2ab268965f LCC for CMap and GMap; incremental builder; save and load; test. 2016-11-29 11:43:36 +01:00
Guillaume Damiand 4624a0b97b Factorize dart between CMap and GMap.
Now we use the same class in both packages.
TODO: modify the doc accordingly.
2016-11-29 11:43:31 +01:00
Guillaume Damiand 535c2caff9 Update LCC examples 2016-11-29 11:43:30 +01:00
Guillaume Damiand b12b490e12 Rename classes. 2016-11-29 11:43:29 +01:00
Guillaume Damiand eca1865ad7 Add an example of lcc using GMaps. 2016-11-29 11:43:18 +01:00
Guillaume Damiand 0e80ecf8c0 Work to be able to use LCC with GMap as underlying DS (nyf) 2016-11-29 11:43:13 +01:00
Laurent Rineau 223c1cf5a4 Merge pull request #1530 from lrineau/Installation-compute_dependencies-GF
Compute and fix packages dependencies
2016-10-05 13:11:04 +02:00
Andreas Fabri cf8c1a6cdf Dispatch import functions to Polyhedron, T2, T3 2016-09-30 15:23:15 +02:00
Sébastien Loriot 6b338eeb1f improve the name of projects in cmake scripts of examples 2016-09-08 00:02:55 +02:00
Sebastien Loriot 4d56e3ef51 Merge pull request #971 from gdamiand/CMap-global_functions-gdamiand
Combinatorial map: remove global functions
2016-05-10 09:26:58 +02:00
Sebastien Loriot 7630d2a6fc Merge pull request #875 from sloriot/Triangulation_2_and_PMP-fix_Triangulation_2_projection_traits_3
PMP: make triangulate_faces works with non filtered kernels
2016-05-05 14:55:11 +02:00
Guillaume Damiand fb4bc44829 examples and tests updating for LCC after deprecation of global functions. 2016-03-09 18:48:29 +01:00
Guillaume Damiand 7f45f5faea Update LCC following the deprecated global functions of CMap 2016-03-09 17:25:10 +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 d7e9261d58 hide the filtered projection traits behind the projection traits
the selection of the base class is done using Kernel::Has_filtered_predicates
2016-03-02 21:57:54 +01:00
Maxime Gimeno 0a37521263 Revert "Fix for the context"
This reverts commit 552aaa159f.

Conflicts:
	Linear_cell_complex/examples/Linear_cell_complex/linear_cell_complex_3_viewer_qt.h
2016-02-11 14:16:04 +01:00
Sébastien Loriot 42a363fb3f revert changes to the cmake script 2016-02-10 09:07:33 +01:00
Maxime Gimeno bb86ec2ee9 Comment the lines in the CMakeLists 2016-02-09 15:16:59 +01:00
Maxime Gimeno 1191a9ee7a Fix for LCC example 2016-02-09 15:14:14 +01:00
Maxime Gimeno 552aaa159f Fix for the context 2016-02-09 14:48:26 +01:00
Guillaume Damiand 1f47f46cff Remove viewer in examples 2015-11-06 17:11:51 +01:00
Guillaume Damiand c3ab85cabc Remove useless ; 2015-11-06 09:01:58 +01:00
Guillaume Damiand 418c02b63e Remove the use of typename outside template class 2015-11-05 07:30:12 +01:00
Guillaume Damiand e4515eb3be Enable viewer for example (to remove later, here only for the testsuite) 2015-11-04 11:31:11 +01:00
Guillaume Damiand a9f2278c5b Better position for light. 2015-11-04 11:29:59 +01:00
Guillaume Damiand 3f206e9b60 Improve drawing. 2015-11-03 17:36:52 +01:00
Guillaume Damiand ef9f1d4973 Merge branch 'LCC-examples_qt5-gdamiand-old' into LCC-examples_qt5-gdamiand 2015-11-02 14:48:46 +01:00
Guillaume Damiand 58d3eb9893 Update the viewer (not yet finished). 2015-10-30 21:32:44 +01:00
Guillaume Damiand 2ee49ba5f3 Update basic viewer and corresponding examples; remove one example since it is now in the demo. 2015-10-02 14:44:42 +02:00
Guillaume Damiand 0f7bb719f3 Merge branch 'CMap-marks_with_exceptions-sbrandel-old' into CMap-marks_with_exceptions-sbrandel 2015-10-01 18:31:45 +02:00
Guillaume Damiand b5c34bf9cc Ok for qt5 viewer 2015-10-01 16:55:55 +02:00
Guillaume Damiand d3f2e9cba2 LCC viewer uses now qt5. 2015-08-05 18:26:19 +01:00
Laurent Rineau f9917c487e CMake 2.8.11 2015-07-13 12:36:43 +02:00
Sylvain Brandel 41464f142f type of boolean marks modified from int to size_type in both Combinatorial_map and Linear_cell_complex 2015-04-01 15:36:34 +02:00
Guillaume Damiand 31f97645d9 Finalize doc + example. 2015-01-05 18:37:50 +01:00
Guillaume Damiand 237c4b87fb Remove warnings. 2014-12-27 20:12:51 +01:00
Guillaume Damiand 029724ab67 Add example file 2014-12-25 08:20:52 +01:00
Guillaume Damiand d851f35651 Remove warnings; wrong use of typename and template in viewer; default argument for example. 2014-12-25 08:20:00 +01:00
Guillaume Damiand 69b53d262d Improve demo drawing. 2014-12-24 09:18:55 +01:00
Guillaume Damiand 34e9139cde Update viewers. 2014-12-24 08:19:09 +01:00
Sylvain Brandel 08af113c95 Adding linear_cell_complex_3_attributes_management.cpp example 2014-12-12 15:41:23 +01:00
Sylvain Brandel b0591661fd Adding example linear_cell_complex_3_attributes_management.cpp 2014-12-12 15:38:14 +01:00
Guillaume Damiand 54b4e8028f Index version. 2014-09-18 16:59:19 +02:00
Guillaume Damiand 8e8ab82527 Merge branch 'CMap_no_static_for_null_dart_handle-gdamiand'
null_dart_handle is no longer static; implies to move several methods from Dart concept into CMap concept. This will simplify  the changing of the underlying container in the near future.

Small feature Combinatorial map dart attribute pre-approved in May 2013.

Approved by the release manager.
2013-11-28 08:22:40 +01:00
Guillaume Damiand cd3b457f67 Modif in CMakeList in LCC examples.
Trivial bug fix for master.
2013-11-14 11:59:30 +01:00
Guillaume Damiand dccdec40a5 Combinatorial map with no static dart_null_handle.
This is a copy from the branch CMap_no_dart-gdamiand by keeping only the part with dart_handle.
The modifications are the ones given in the small feature Combinatorial map dart attribute.
2013-11-12 22:27:44 +01:00
Guillaume Damiand a4e392b552 Copy of CMap: ok for code and test suite. 2013-06-05 16:16:02 +02:00
Guillaume Damiand 035ff356b6 Better solution for lcc copy 2013-06-04 18:27:13 +02:00
Guillaume Damiand 35509487a9 On split can now be called with a cmap as parameter. 2013-02-17 21:19:17 +01:00
Guillaume Damiand bf70c5b8e5 * Bug fix in is_sewable for i>3.
* replace some assert by CGAL_assertion.
* add composition of beta, static version when no c++11.
2013-02-15 13:25:51 +01:00
Sébastien Loriot 82b2ebc865 apply the cpp0x namespace renaming in all files 2012-12-19 11:33:17 +01:00
Philipp Möller 1adf441b18 Convert all CRLF files to LF 2012-12-03 18:44:24 +01:00
Laurent Rineau 2db4effa7e CMake: Fix the handling of cmake_policy
That is a followup-to my commit last year:
  | ------------------------------------------------------------------------
  | r63198 | lrineau | 2011-04-28 19:45:22 +0200 (Thu, 28 Apr 2011) | 5 lines
  | 
  | Try to fix my last revision about cmake_policy, with CMake-2.6.x
  | 
  | CMake gives an error if one tries to use cmake_policy(VERSION x.y.z) if
  | x.y.z is greater than the current CMake version.
  | 
  | ------------------------------------------------------------------------

The following check:
  if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" VERSION_GREATER 2.6)
is useless just after a call to:
 cmake_minimum_required(VERSION 2.6.2)



The script used to fix that was:


#!/usr/bin/env perl

$replacement=<<'END';
if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION}" VERSION_GREATER 2.8.3)
  cmake_policy(VERSION 2.8.4)
else()
  cmake_policy(VERSION 2.6)
endif()
END

while(<>) {
    if(/if\("\${CMAKE_MAJOR_VERSION}.\${CMAKE_MINOR_VERSION}" VERSION_GREATER 2.6\)/) {
        while(<>) {
            if(/^endif\(\)/) {
                print "$replacement";
                while(<>) {
                    print;
                }
                exit 0
            }
        }
    }
    print;
}
2012-08-22 12:35:03 +00:00
Guillaume Damiand dee5e3bfd2 Remove licence headers in examples of LCC. 2012-08-14 14:54:46 +00:00
Guillaume Damiand 49780518f2 Remove some warnings 2012-07-05 13:39:34 +00:00
Guillaume Damiand 44d29a5c8f * Add a second subdvision method in LCC demo
* Add two basic usefull functions (internal as undocumented)
* Add an example showing how to customize the type of point used in LCC
2012-07-02 09:20:14 +00:00
Philipp Möller 91dbadcf7d Drop an unused variable. 2012-06-20 11:54:28 +00:00
Guillaume Damiand adb73b256c Add readme to explain the different examples in LCC. 2012-01-04 12:07:01 +00:00
Guillaume Damiand 9c203dec50 Remove warnings + useless data file. 2011-12-28 14:03:24 +00:00
Guillaume Damiand ecbc71a4d7 Remove some warnings. 2011-12-22 07:06:55 +00:00
Guillaume Damiand 609b2a9242 Re-add file for example plane_graph_to_lcc_2.cpp which has strangely disappeared. 2011-12-21 07:30:21 +00:00
Guillaume Damiand 3410b98aab Remove typename outside template class. 2011-12-21 07:17:24 +00:00
Guillaume Damiand 449a6f8e39 Examples are now all ok. 2011-12-20 11:41:36 +00:00
Guillaume Damiand 19665940f1 Modifs of example. Now voronoi2 is a real voronoi diagramm. 2011-12-20 10:31:16 +00:00
Guillaume Damiand 5354a329a5 Modifs of voronoi examples to set the points in the center of circumcenter circles. 2011-12-19 21:08:48 +00:00
Guillaume Damiand 97cd2b857c Examples in LCC. 2011-12-19 14:39:49 +00:00
Guillaume Damiand f6cd69aa7b Add an example to build voronoi_2. 2011-12-19 06:38:04 +00:00
Guillaume Damiand 488e51e597 Add an example to triangulate a face of a give lcc. 2011-12-18 17:59:36 +00:00
Guillaume Damiand 19be6138fe Examples 2011-11-22 07:08:19 +00:00
Guillaume Damiand cb3c66dd90 Revert of linear_cell_complex_3 example to use foreach which is now ok. Copyright. Add tests. 2011-11-21 13:11:43 +00:00
Guillaume Damiand 5f1a01118f Modif of example 2011-11-17 16:23:27 +00:00
Guillaume Damiand 15a3df3950 Modif of example 2011-11-17 16:17:13 +00:00
Guillaume Damiand e16a6a252f Remove warning. Update CmakeLists. 2011-11-09 10:46:03 +00:00
Guillaume Damiand f49823ff3a Remove a warning; remove two advanced examples from testsuite. 2011-11-09 08:10:42 +00:00
Guillaume Damiand 1fdb2dfc27 Small modifs of examples after a last proofreading of manuals 2011-11-08 18:45:53 +00:00
Guillaume Damiand 69c88def77 Update the voronoi3 example to draw only volumes that are not adjacent to the infinite volume. 2011-11-08 12:04:20 +00:00
Guillaume Damiand d63b44afd9 Examples are now ok. 2011-11-07 16:29:38 +00:00
Guillaume Damiand 847b2f89f3 Modifications of examples to follow modif of api. 2011-10-24 09:55:24 +00:00
Guillaume Damiand 77b48c85cf Modifs of examples to follow modifs in api 2011-10-23 11:43:25 +00:00
Guillaume Damiand 0f48127436 Modifs of examples to follow manual 2011-10-21 15:56:08 +00:00
Guillaume Damiand ce57df9945 Add a const 2011-10-14 18:41:55 +00:00
Guillaume Damiand 34f7291fa4 Add the Linear_cell_complex directory by copy of the previous branch in order to conserv the history 2011-10-14 17:53:30 +00:00
Guillaume Damiand b68c7da28b Remove directory Linear_cell_complex/ 2011-10-14 17:51:15 +00:00
Guillaume Damiand 025a6db5e6 Add Linear_cell_complex directory. 2011-10-14 15:46:50 +00:00