Andreas Fabri
e2fbd2d46d
Stream_support: No longer a need for replacement of istream >> double for VC++
2017-01-13 18:39:40 +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
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
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