Commit Graph

180 Commits

Author SHA1 Message Date
Simon Giraudot 07bd0765f2 Fix FT type detection 2019-02-22 16:42:40 +01:00
Laurent Rineau 2559b79405 Reduce inclusions of <CGAL/basic.h> and <CGAL/number_type_basic.h> 2019-02-14 17:40:09 +01:00
Laurent Rineau fdd8357915
Merge pull request #3580 from afabri/Stream_support-Color-GF
Fix warnings (Add/remove copy constructors, and other warnings)

Co-authored-by: Laurent Rineau <laurent.rineau@cgal.org>
Co-authored-by: Mael <mael.rouxel.labbe@geometryfactory.com>
Co-authored-by: Maxime GIMENO <maxime.gimeno@gmail.com>
2019-02-13 15:25:07 +00:00
Simon Giraudot eaa29b9116 Merge branch 'Stream_support-Enhance_color-GF' into Surface_mesh-PLY_IO-GF 2019-01-25 11:41:53 +01:00
Simon Giraudot 3e8810f181 Remove now useless Color_impl.h file 2019-01-24 15:51:53 +01:00
Simon Giraudot 2d7ed851a1 Fix Color IO in binary + handle alpha 2019-01-24 15:21:09 +01:00
Simon Giraudot 9672358b94 Fix missing bracket and add undocumented functions r,g,b,a 2019-01-24 14:46:22 +01:00
Simon Giraudot b3baaf7e92 Move doc of CGAL::Color to header and rewrite class 2019-01-24 14:16:19 +01:00
Simon Giraudot 37a8f12f05 Handle more types 2019-01-24 10:58:57 +01:00
Simon Giraudot 011f919ce6 Fix color binary alignment when writing 3 chars 2019-01-24 10:58:34 +01:00
Simon Giraudot 6789ca1c41 Some more modifications of the PLY interface 2019-01-23 11:25:35 +01:00
Simon Giraudot 12dfbd6353 Reorganize PLY IO functions/files 2019-01-22 10:00:23 +01:00
Maxime Gimeno e107612c31 Fix pre processor test 2019-01-10 08:54:49 +01:00
Maxime Gimeno 743569f854 Also disable WKT if gcc version is <4.5 2019-01-09 16:32:08 +01:00
Andreas Fabri 6183456090 Remove assignemnt instead of adding copy constructor 2019-01-07 09:48:55 +01:00
Andreas Fabri d248e61e04 Add copy constructor in order to avoid warning 2019-01-07 08:03:57 +01:00
Maxime Gimeno c6835292d8 Add include of license 2018-12-12 16:50:51 +01:00
Maxime Gimeno 7b13f4a969 Add misisng license header, rename vtu functions and update change.md 2018-11-23 10:11:23 +01:00
Maxime Gimeno 6e4ab58edc Put write_vtk in Polyhedron_IO 2018-11-20 15:15:53 +01:00
Maxime Gimeno 5731515056 always include cgal types to keep the dependencies (for travis) 2018-11-08 10:29:39 +01:00
Maxime Gimeno 080f63b1b8 Disable WKT for boost < 1.56 2018-11-07 11:58:50 +01:00
Maxime Gimeno 76c8c1f69f Add misisng header for boost 1.55 2018-11-06 11:43:37 +01:00
Maxime Gimeno 96bb50b361 Clean-up 2018-11-05 11:25:07 +01:00
Maxime Gimeno cbf3e04fa6 Doc fix. 2018-10-30 14:15:01 +01:00
Maxime Gimeno da4bb1f26a Clean-up 2018-10-30 12:10:58 +01:00
Maxime Gimeno ea2043a842 remove remaining geometry.hpp 2018-10-30 12:08:50 +01: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 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
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 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 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
Andreas Fabri abe933a684 Address the warning concerning SCL_SECURE for VC++ 2018-02-09 15:00:14 +00:00
Andreas Fabri cbf3a16471 libs compile without warning 2018-01-17 15:02:32 +00:00
Sébastien Loriot 0698f79aff add SPDX identifier for files under the LGPL-3+ license 2017-11-12 10:17:50 +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
Andreas Fabri 73ff40470c Make variable const 2016-11-02 16:30:21 +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 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
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 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 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
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
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
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 b1c417e7b7 fix reading of doubles. There may be a + after the e 2015-04-22 10:10:03 +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 2916850771 use iformat for reading doubles 2014-11-26 16:53:50 +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
Andreas Fabri c537e4ed64 Use the workaround only for VC++ and only starting from VC10 2014-04-11 16:51:04 +02:00
Andreas Fabri afdeb14bd7 Add a replacement for operator>>(istream&, double&) 2014-04-10 13:10:41 +02:00
Laurent Rineau a04891ff93 WARNFIX: fix some warnings triggered by -Wconversion on g++ 2012-08-09 16:06:54 +00:00
Philipp Möller 88963525b6 Merged iostream into Stream_support 2012-06-22 14:43:58 +00:00