Commit Graph

326 Commits

Author SHA1 Message Date
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
Sébastien Loriot 2f9408f867 rename link name to match package name 2018-10-08 10:28:55 +02:00
Sébastien Loriot ea240cfac5 use \PkgXXX instead of \PkgXXXSummary 2018-10-08 10:28:44 +02:00
Sébastien Loriot a2e8a1c68f add the suffix Ref to doxygen link to reference 2018-10-08 10:26:56 +02:00
Maxime Gimeno 49b88e533f Move and split vtk_io.h to Mesh_2 and Mesh_3 to avoid license and dependencies problems. Also fix vtu writer of VTK_io_plugin for polygon meshes. 2018-10-03 11:15:37 +02:00
Maxime Gimeno 223fa687c2 Add function for CDT. and use it in Triangulation_2 demo. Missing Doc 2018-08-27 16:29:47 +02:00
Maxime Gimeno 06db5dafbc WIP integrate functions. 2018-08-27 14:56:18 +02:00
Maxime Gimeno 27b7c318fb - Remove TODOs,
- Only support Cartesian kernels
- replace boost included header
2018-07-17 13:55:12 +02:00
Maxime Gimeno b4bed9f60c fix doc 2018-06-26 16:30:03 +02:00
Andreas Fabri 2616b89a7b Switch to WKT in the polyline simplification demo 2018-05-15 10:04:24 +02:00
Maxime Gimeno 8f3724c011 Add a global reading function 2018-05-15 10:04:23 +02:00
Maxime Gimeno 17f0e880c3 Change doc and remove it from the header to stop mistaking with the one in doc/ when doing fixes. 2018-05-15 10:04:23 +02:00
Andreas Fabri fe04283add polish 2018-05-15 10:04:23 +02:00
Maxime Gimeno 32e02c01d6 fix doc 2018-05-15 10:04:23 +02:00
Maxime Gimeno df980abff6 Add WKT IO to 2D demos and add saving to stream_lines_2_demo
Also adds traits for Point_3 to be able to interract with weighted points through them.
2018-05-15 10:04:23 +02:00
Maxime Gimeno 9fa8cfac54 update dependencies 2018-05-15 10:04:23 +02:00
Maxime Gimeno 94809fccd9 Add some doc 2018-05-15 10:04:23 +02:00
Maxime Gimeno 3e4b437816 fix misisng include 2018-05-15 10:04:23 +02:00
Maxime Gimeno 14ef2163c4 Move everything to Stream_support 2018-05-15 10:04:23 +02:00
Laurent Rineau 0a74393dcf Commit all new dependencies files 2018-03-06 18:44:48 +01:00
Laurent Rineau 78e7060525 Merge pull request #2712 from afabri/CGAL-VC+warnlevel_4-GF
Deal with VC++ warnings of level /W4
2018-02-19 14:27:06 +01:00
Laurent Rineau 9b06a70e91 Merge pull request #2819 from afabri/CGAL-remove_SCL_SECURE_NO_DEPRECATE-GF
Address the warning concerning SCL_SECURE for VC++
2018-02-19 14:26:23 +01:00
Andreas Fabri abe933a684 Address the warning concerning SCL_SECURE for VC++ 2018-02-09 15:00:14 +00:00
Maxime Gimeno 688b5dd06e Move dependencies creation to package_info and add dependencies to git 2018-02-02 12:08:05 +01:00
Maxime Gimeno 8bde832931 Fix METIS headers in BGL 2018-02-02 12:08:05 +01:00
Maxime Gimeno a676d5a60e Try to fix errors in classification checks 2018-02-02 12:08:05 +01:00
Maxime Gimeno acd0a72edf Modify travis script to test dependencies 2018-02-02 12:08:05 +01:00
Maxime Gimeno ae36b452bc Add dependencies of all packages 2018-02-02 12:08:05 +01:00
Andreas Fabri cbf3a16471 libs compile without warning 2018-01-17 15:02:32 +00: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
Sébastien Loriot ee57fc2d6c add SPDX identifier for files under the GPL-3+ license 2017-11-12 10:17:51 +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
Simon Giraudot 8043d342e7 Merge branch 'Classification-GF-old' into Classification-GF 2017-07-21 12:06:19 +02:00
Andreas Fabri 7c62b14fd0 Let's remove the manipulators again, as they are of little practical value 2017-06-30 18:13:42 +02:00
Andreas Fabri fbdec23155 inline functions 2017-06-30 18:13:42 +02:00
Andreas Fabri bddd05aef4 fix compilation errors 2017-06-30 18:13:42 +02:00
Andreas Fabri 388a7678e6 Add an undocumented manipulator which allows operator<< to dispatch OFF, PLY, etc 2017-06-30 18:13:40 +02:00
Simon Giraudot 3ce8e9fc64 Merge branch 'Classification-GF-old' into Classification-GF 2017-03-13 07:51:54 +01:00
Andreas Fabri e2fbd2d46d Stream_support: No longer a need for replacement of istream >> double for VC++ 2017-01-13 18:39:40 +01:00
Simon Giraudot 310d81864e Merge branch 'Classification-GF-old' into Classification-GF 2016-11-23 08:55:57 +01:00
Laurent Rineau 16345ba7bc Merge pull request #1651 from afabri/Stream_support-static-GF
Stream_support: Make variable const
2016-11-18 11:00:19 +01:00
Andreas Fabri 72a77d7fd8 revive io.cpp and only remove the initialization 2016-11-02 17:37:39 +01:00
Andreas Fabri 73ff40470c Make variable const 2016-11-02 16:30:21 +01:00
Andreas Fabri 198210cade Add IO:: namespace in order to fix links 2016-11-01 16:12:51 +01:00
Laurent Rineau a34934eab7 Missing #include
Plus rewrap a long line of comments.
2016-10-26 14:54:54 +02:00
Marc Glisse fa61ad20c3 Use Fraction_traits::Compose in read_float_or_quotient. 2016-10-26 13:10:55 +02: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
Laurent Rineau 7b6addbb55 Merge pull request #1519 from lrineau/Mesh_3-fix_conversion_warnings-lrineau
Mesh_3: fix conversion warnings
2016-10-05 13:03:15 +02:00
Laurent Rineau 1aefb3b0f3 include <CGAL/config.h>, not <CGAL/basic.h> 2016-09-30 15:23:14 +02:00
Laurent Rineau 7dbc756d42 Mesh_3: Fix other conversion warnings 2016-09-29 14:39:11 +02:00
Sébastien Loriot 7e2ee496de update project name of cmake scripts of tests 2016-09-08 00:26:37 +02:00
Simon Giraudot 85a5ef28dc Merge branch 'Point_set_classification-GF-old' into Point_set_classification-GF 2016-07-05 13:49:33 +02:00
Sébastien Loriot c951fe0fca Merge pull request #1035 from lrineau/CGAL-fix_Wconversion_warnings-GF
Fix -Wconversion warnings, and issues detected by those warnings
2016-06-24 13:30:48 +02:00
Laurent Rineau 8ce45aa47c Improve the documentation of `is_specialized` 2016-06-15 18:10:15 +02:00
Laurent Rineau 18e5092ce7 Document `is_specialized` 2016-06-15 18:10:14 +02:00
Laurent Rineau fa5cb831c9 Add Output_rep<T,F>::is_specialized...
.. that allows `Dump_c3t3` to detect if a type can be streamed, using
either `operator<<` or `Output_rep<T>`.
2016-06-15 18:10:14 +02:00
Sébastien Loriot e123c29ca2 remove exe flag 2016-05-26 17:03:00 +02:00
Sébastien Loriot 5b826d5a2b clean up 2016-05-23 11:26:04 +02:00
Maxime Gimeno 3dfa4cb2c4 Fix for alpha values 2016-05-12 17:11:29 +02:00
Maxime Gimeno b8ecd34eb5 Fix facet color reading 2016-05-12 17:11:28 +02:00
Maxime Gimeno 2f780958d8 Use an array instead of a switch for the color-map 2016-05-12 17:11:28 +02:00
Maxime Gimeno 1c0a8e3f4e warning fix 2016-05-12 17:11:28 +02:00
Maxime Gimeno c14c5b9129 Clean up 2016-05-12 17:11:27 +02:00
Maxime Gimeno f3de4dfe01 Clean up 2016-05-12 17:11:27 +02:00
Maxime Gimeno 128adc4c32 Addition of a color management of the not oriented OFF with colors 2016-05-12 17:11:26 +02:00
Maxime Gimeno f04a6f98ce Finished the management of the per-vertex color 2016-05-12 17:09:44 +02:00
Maxime Gimeno 3f5b9db863 Addition of the selection_color 2016-05-12 17:09:44 +02:00
Andreas Fabri 4b7373d301 u_char -> unsigned char ; Do not qualify get() with boost:: 2016-05-12 17:09:44 +02:00
Maxime Gimeno 92abf686b3 WIP : add color to IO_OFF 2016-05-12 17:09:14 +02:00
Sebastien Loriot 3309e2a533 Merge pull request #1073 from afabri/Stream_support-parse_plus_in_exponent-GF
fix reading of doubles. There may be a + after the e
2016-05-12 16:33:30 +02:00
Sébastien Loriot 8767142527 rename test file 2016-05-11 17:19:10 +02:00
Laurent Rineau 9ea630eeb1 Merge changes from 'releases/CGAL-4.8-branch'
- Merge pull request #1023 from mglisse/NewKernel_d-solve_check-glisse
- Merge pull request #1025 from CGAL/Stream_support-Fix_io.h-lrineau
2016-04-22 15:41:59 +02:00
Laurent Rineau 73e2ccae64 Fix -Wconversion in Stream_support 2016-04-22 12:36:26 +02:00
Laurent Rineau 55e6c179a4 Update io.h
Fix #1024.
2016-04-20 11:59:25 +02:00
Andreas Fabri d18db3c527 Half the time of reading float and double for VC++ 2016-04-18 16:25:09 +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
Sébastien Loriot 45406a5296 Merge pull request #788 from bo0ts/Installation-split_config-pmoeller
Split CGALConfig.cmake and CGALExports.cmake
2016-03-06 15:36:55 +01:00
Andreas Fabri 00cf5f937d inline; clean CMakeLists 2016-02-25 12:21:03 +01:00
Andreas Fabri 1baa329711 operator>>(Lazy_exac_nt) calls new function read_float_or_quotient 2016-02-24 16:35:07 +01:00
Andreas Fabri 2e243418fa fix indentation 2016-02-18 11:54:48 +01:00
Andreas Fabri af9b2ee0de If we are already at EOF we do nothing to skip until EOL 2016-02-18 11:48:20 +01:00
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
Philipp Möller 0a04a3a48f Use CGAL_DOC_VERSION 2016-02-11 15:37:54 +01:00
Philipp Möller 71b4e9c515 Use CGAL_FULL_VERSION in all Doxyfile.in 2015-12-17 16:33:28 +01:00
Philipp Möller 88c0db55ca Empty example paths should not result in warnings 2015-12-10 17:00:26 +01:00
Philipp Möller 81a8f982dc Handle the easy INPUT cases
If INPUT is just PKG/doc/PKG, handle it automatically.
2015-12-10 17:00:26 +01:00
Sebastien Loriot 2e493f297b Merge pull request #389 from afabri/CGAL-Qt3-GF
Remove Qt3 based demos
2015-10-23 17:08:49 +02:00
Guillaume Damiand cf1c0ea0ca Merge branch 'CGAL_headers_only-gdamiand_cjamin-OLD' into CGAL_headers_only-gdamiand_cjamin 2015-10-01 09:12:55 +02:00
Andreas Fabri 3532cf956a remove some Qt3 directories 2015-09-29 14:26:23 +02:00
Laurent Rineau f9917c487e CMake 2.8.11 2015-07-13 12:36:43 +02:00
Andreas Fabri c5e12ae747 rename file to avoid cmake target name clash 2015-04-29 09:14:57 +02:00
Andreas Fabri 44dbc70b92 chmod 2015-04-22 12:42:37 +02:00
Andreas Fabri b1c417e7b7 fix reading of doubles. There may be a + after the e 2015-04-22 10:10:03 +02:00
Andreas Fabri fdae976e7e fix reading of doubles. There may be a + after the e 2015-04-20 17:58:42 +02:00
Guillaume Damiand 7f468a6b14 Bug fix 2015-03-16 17:37:05 +01:00
Guillaume Damiand 6b3fbfb5ef io static methods 2015-03-16 17:14:56 +01:00
Clement Jamin beaec12af1 Use get_mode() 2015-03-16 14:34:10 +01:00
Guillaume Damiand 9c78897ba5 Merge branch 'CGAL_headers_only-gdamiand_cjamin-old' into CGAL_headers_only-gdamiand_cjamin 2015-03-16 14:00:43 +01:00
Andreas Fabri f05a19035c #include <cctype> for isspace() 2014-12-04 14:22:49 +01:00
Laurent Rineau af90b1d6bc Restore the initial indentation incorrectly modified by this branch 2014-12-04 13:45:26 +01:00
Laurent Rineau 9ef939e1cf Fix Input_rep<double>
- EOF was not handled.
- sscanf may not recognize a double
2014-12-04 13:01:08 +01:00
Andreas Fabri a668af3628 unset the failbit if everything went fine 2014-12-03 19:08:57 +01:00
Andreas Fabri 679f6de9b7 As the exponent can be negative we have to check for '-' too 2014-11-30 23:00:17 +01:00
Andreas Fabri a1a0f5c17d Input_rep<double> now reads a string (0-9eE\.)* 2014-11-27 11:14:52 +01:00
Andreas Fabri 4347d26b71 extract(istream& , double&) was not documented and got removed 2014-11-27 08:51:14 +01:00
Andreas Fabri 2916850771 use iformat for reading doubles 2014-11-26 16:53:50 +01:00
Andreas Fabri 563bc4621e add loop for benching 2014-11-24 17:24:54 +01:00
Andreas Fabri f50bbd72c4 Use iformat and Input_rep<double> instead of an additional function 2014-11-24 17:10:46 +01:00
Andreas Fabri 36f1514957 Add a generic template function extract(istream&, T&) 2014-11-13 20:34:58 +01:00
Guillaume Damiand e8fe29c79c Ok for the compilation version header only (only for the treated files). 2014-10-31 17:09:48 +01:00
Guillaume Damiand 15b1cfdcb7 Color_impl and io_impl ok 2014-10-30 19:37:47 +01:00
Guillaume Damiand 5895d2b9e0 Add io_impl 2014-10-30 18:51:03 +01:00
Guillaume Damiand 1182319f5d Redo all the modifs to remove all the cpp files from cgal.
First step where all the XXX.cpp are copied into XXX_impl.h files.
The macro CGAL_HEADER_ONLY allows to know if impl files need to be
included or not into header files; and allow to decide if functions are
in impl files are inline or not.

Next step: process with static variables for the header only version.
2014-10-30 16:05:22 +01:00
Laurent Rineau 36d8b5bd18 Convert source files encoding to utf-8
All non-ASCII files should be encoded in UTF-8. So far, the ZSH script
`Scripts/developer_scripts/detect_wrong_encoding` detects wrong encoding
in source/header files of include/, src/, and doc/.
2014-08-01 11:20:13 +02:00
Andreas Fabri c537e4ed64 Use the workaround only for VC++ and only starting from VC10 2014-04-11 16:51:04 +02:00
Andreas Fabri 15609db9ff polish 2014-04-10 14:28:16 +02:00
Andreas Fabri afdeb14bd7 Add a replacement for operator>>(istream&, double&) 2014-04-10 13:10:41 +02:00
Sébastien Loriot 0fa2cacb60 remove doc_tex documentation (including developer manual) and old manual tools 2013-12-03 17:27:02 +01:00
Sébastien Loriot e8975dbac7 function documentation fixes
remove the repetition of the name of the function in its brief description
 add parenthesis for function matching "function\s+`[a-z0-9_]`"
2013-09-03 14:25:50 +02:00
Laurent Rineau bc03aaf30b Put doc/ in the global dont_submit file 2013-08-20 10:57:03 +02:00
Sébastien Loriot 4d9ab18fa0 add missing namespace 2013-08-07 17:36:06 +02:00
Sébastien Loriot 2dfe8a3d73 workaround for a doxygen bug: remove space after /!* to avoid a verbatim env
this happens if you have an empty line or the text directly after /!*
to find them in the generated documentation, grep for "pre class=\"fragment\""
(a few of them are legitimate however)
2013-07-25 14:58:53 +02:00
Ross Hemsley 4d9caf3763 Added names that were missing into the Doxyfile.in entries.
Also modified Installation/CMakeLists.txt to push the version number variable to the parent level
so that it can be accessed by the documentation
2013-05-30 17:55:43 +02:00
Philipp Möller d4e379ba82 Small fixes in the generated Doxyfile.in 2013-05-30 15:32:33 +02:00
Philipp Möller 4d469821f7 Generated Doxyfile.in and dependencies 2013-05-30 14:13:47 +02:00
Sébastien Loriot e2e19cfbb0 rename Stream_support doc directory from IOstream to Stream_support 2013-05-29 14:16:05 +02:00
Sébastien Loriot a007839e41 according to the doxygen doc a \anchor must be placed on a \page or \mainpage
create a group for stream operator so that we can refer to them
2013-05-29 13:37:08 +02:00
Laurent Rineau 008ccc5b48 Add missing #include <cassert> 2013-04-25 11:20:36 +02:00
Laurent Rineau b6ffa7c425 Merge branch 'CGAL-fix_warnings-GF'
That branch was successfully tested in CGAL-4.2-Ic-205.
2013-03-27 12:23:31 +01: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
Alexandros Konstantinakis-Karmis 3b1d281efb Abbreviations trigger end of \brief description
Fixes bug #15482:
https://gforge.inria.fr/tracker/index.php?func=detail&aid=15482&group_id=52&atid=13845
2013-03-13 11:58:56 +01:00
Sébastien Loriot e991fe72ad really add last missing classified reference manual pages 2013-03-13 10:57:01 +01:00
Laurent Rineau 26a7e70785 New license.txt files (eol changes)
The new version 2.13.0 of licensecheck has changed the spaces at eol.
2013-02-19 16:46:39 +01:00
Sébastien Loriot ebd2f15dd1 follow up of 601fd3b9: adding missing () in see also for functions 2013-01-09 19:48:43 +01:00
Sébastien Loriot 6e63d3cfa8 adding missing () in see also for functions 2013-01-09 19:48:42 +01:00
Sébastien Loriot 5ec28b1cf4 replacing the usage of section in user man by \cgalHeading macro call 2013-01-07 18:04:37 +01:00
Philipp Möller 75f69570dc Change the titles of mainpages to "User Manual"
This leads to a slightly odd result in the search for "User Manual",
but makes the pages themselves more consistent.
2012-12-13 14:47:09 +01:00
Sébastien Loriot 9576be3c3b add doc in dont_submit 2012-11-27 08:42:02 +01:00
Sébastien Loriot ae8362b7d6 replace \cgalModels ::FOO by \cgalModels `FOO`
using:
 perl  -pi -e 's/\\cgalModels\s+::([A-Za-z0-9_:]+)\s*$/\\cgalModels `$1`\n/'
2012-11-23 09:37:53 +01:00
Andreas Fabri d14037bf00 polish IO Stream 2012-11-22 11:54:02 +01:00
Sébastien Loriot 128b02abb8 update CGAL custom doxygen macros
corresponds to a run of the script Documentation/conversion_tools/rename_macros.sh
+manual edit of doxyassist.xml and pkglist_filter.py
2012-11-14 00:31:05 +01:00
Sébastien Loriot ae159cbdf3 replace markup #, ##, ### by \section, \subsection and \subsubsection
(script replacement)
2012-11-06 22:02:15 +00:00
Andreas Fabri 7a6634b5a7 No need for CGAL:: in user manuals 2012-10-31 20:11:16 +00:00
Andreas Fabri 9dd1045208 linking unlinking 2012-10-30 13:07:40 +00:00
Philipp Möller 31e9eadf8b Fix all PackageDescriptions to a newer layout 2012-10-19 15:52:31 +00:00
Andreas Fabri b03767cad4 rename tag to avoid clash 2012-10-11 13:47:34 +00:00