Commit Graph

502 Commits

Author SHA1 Message Date
Sébastien Loriot fbbf3863af remove extra IO 2021-05-04 18:25:16 +02:00
Sébastien Loriot f5e5ebe39b backward compatibility 2021-05-04 14:45:43 +02:00
Sébastien Loriot fb6f703b55 IO namespace for files in IO directories 2021-05-04 14:36:06 +02:00
Giles Bathgate 5ecd85248a Fix capitalisation of macro name. 2021-04-28 21:03:45 +01:00
Giles Bathgate 0ef8127c71 The CGAL_NOEXCEPT macro is no longer needed 2021-04-28 21:03:00 +01:00
Sebastien Loriot 076cb5fa13
Merge pull request #5573 from maxGimeno/Demo-Fixes-maxGimeno
Polyhedron Demo:  Trivial Warning
2021-04-17 10:53:46 +02:00
Maxime Gimeno ab492261fb obliterate the remaining comments in OFF writing. Good bye nice comments :( 2021-04-09 13:13:56 +02:00
Maxime Gimeno ae7559442a Remove operator>> and << from `File_header_OFF_extended`. 2021-03-10 13:54:09 +01:00
Mael Rouxel-Labbé 5efa544734 Merge remote-tracking branch 'cgal/master' into SDG-Fix_doc-GF 2021-02-22 17:19:40 +01:00
Maxime Gimeno 2dac31f36f Clean-up and fix doc 2021-02-05 14:14:11 +01:00
Maxime Gimeno df50c4cd0a replace WARNING: with NOTE: to avoid confusing the testsuite 2021-02-03 14:30:21 +01:00
Maxime Gimeno 7f537a19cb add missing headers 2021-02-03 08:59:54 +01:00
Maxime Gimeno 99d8d94631 add missing header 2021-02-02 09:36:38 +01:00
Maxime Gimeno 8e23769d8e Add missing overloads for set_default_stream_precision() 2021-01-29 09:28:51 +01:00
Maxime Gimeno 7bf9c14f72 Factorization 2021-01-28 10:01:52 +01:00
Maxime Gimeno 2d59464b2b remove os.precision(6) as it is the default. 2021-01-27 15:49:42 +01:00
Maxime Gimeno 41c823c083 replace default value of stream precision 2021-01-27 15:44:02 +01:00
Maxime Gimeno 7cf6a3bed0 Fix VRML_2 logic 2021-01-26 10:15:20 +01:00
Mael Rouxel-Labbé 1f45360d7a Merge remote-tracking branch 'cgal/master' into SDG-Fix_doc-GF 2021-01-26 09:05:24 +01:00
Maxime Gimeno 49f68654d6 WIP 2021-01-18 11:48:04 +01:00
Maxime Gimeno 5948bc846e Try to remove Filtered_kernel from the dependencies of BGL 2021-01-11 14:11:30 +01:00
Maxime Gimeno bcac80b15c Fixes and clean-up 2021-01-08 13:15:04 +01:00
Maxime Gimeno 00edae2400 More fixes 2020-12-10 12:55:04 +01:00
Maxime Gimeno f137b0e36d add misisng header 2020-12-10 09:13:21 +01:00
Maxime Gimeno 436a81b8f6 Restore old STL behavior (binary may start with `solid`" 2020-12-07 12:15:56 +01:00
Maxime Gimeno 8d9b58d2dd Fix read_STL() in binary_mode for ASCVII on Windows 2020-12-07 11:50:42 +01:00
Maxime Gimeno c76819d0a7 Check if a char is >0 before calling isdigit() because it asserts for negative numbers on windows. 2020-12-07 10:54:51 +01:00
Mael Rouxel-Labbé 6b87fe393d Fix various grammar issues 2020-12-05 11:11:33 +01:00
Maxime Gimeno d201bc7c96 Fix possible problems if a line is empty in scan_facet 2020-12-04 15:45:00 +01:00
Maxime Gimeno 70801754ce Extract the test of invalid NOFF because it is supposed to work for Polyhedron 2020-12-02 10:22:39 +01:00
Maxime Gimeno 7a568c6a0c Fmore fixes 2020-12-01 15:08:56 +01:00
Maxime Gimeno 37b5928df2 Fixes of warnings and errors 2020-12-01 11:33:35 +01:00
Giles Bathgate 9d442f26c7 Fix uncaught exception in VRML_2_ostream.h 2020-11-28 17:48:05 +00:00
Maxime Gimeno 2cd6d38764 Fix the conversion warning in OFF.h 2020-11-27 11:41:21 +01:00
Maxime GIMENO ff6238e478
Merge pull request #65 from GilesBathgate/fix-use-of-uninitialized-variable
Fix use of uninitialized variable in File_scanner_OFF.h
2020-11-27 09:18:55 +01:00
Sébastien Loriot 00488e7790 fix invalid init 2020-11-26 18:03:24 +01:00
Giles Bathgate 06a67b64a0 Fix use of uninitialized variable in File_scanner_OFF.h 2020-11-26 15:57:29 +00:00
Maxime Gimeno 54f89bc615 initialize data in File_writer_VRML_2 2020-11-26 15:52:45 +01:00
Maxime Gimeno fe48ffea42 Don't use FT() in Normal creation because Kernels based on Exact_integer can't construct from double. 2020-11-26 15:35:24 +01:00
Maxime Gimeno abed28fc12 fix warnings 2020-11-26 14:44:31 +01:00
Maxime Gimeno 512975b354 Finish fixing STL. 2020-11-26 10:33:35 +01:00
Maxime Gimeno 79977c45d8 WIP fix STL 2020-11-25 16:24:30 +01:00
Maxime Gimeno 277b8cc74b Fix OFF_reading 2020-11-25 13:40:19 +01:00
Andreas Fabri b16249b99a WIP to avoid seekg/tellg 2020-11-25 07:59:16 +00:00
Maxime Gimeno e76cc00c4f Fix reading of 0#red 2020-11-23 11:23:09 +01:00
Maxime Gimeno 493f034fda Fix some warnings 2020-11-23 11:06:59 +01:00
Maxime Gimeno 016adaa2a9 fix msvc2015 error 2020-11-18 12:58:15 +01:00
Maxime Gimeno 9f496e3e9d Fixes 2020-11-18 12:48:38 +01:00
Maxime Gimeno 3b70343590 Merge remote-tracking branch 'cgal/master' into CGAL_IO-maxGimeno 2020-11-16 16:19:43 +01:00
Maxime Gimeno 753982443c Fix 3mf I/O and tests 2020-10-27 12:38:10 +01:00
Maxime Gimeno 0149977558 Fix precision warning and add missinf ifdefs for polyhedron_iostream 2020-10-23 09:10:53 +02:00
Simon Giraudot 80a5deb8e9 Merge remote-tracking branch 'mine/Classification-Simpler_IO_for_ETHZ_Random_forest-GF' into Classification-Simpler_IO_for_ETHZ_Random_forest-GF 2020-10-19 07:59:47 +02:00
Mael Rouxel-Labbé 4b28101397 Misc IO fixes 2020-10-14 21:46:18 +02:00
Mael Rouxel-Labbé 5f1821f173 Fix constness loss 2020-10-14 19:26:15 +02:00
Mael Rouxel-Labbé 7922f048a4 Fixed VRML/Inventor stream API (need to be compatible with the generic writer) 2020-10-14 19:25:48 +02:00
Mael Rouxel-Labbé f963191842 Fix some writers not meeting the generic API requirements 2020-10-14 15:32:59 +02:00
Mael Rouxel-Labbé 0583a4862e Add precision support to Geomview streams 2020-10-14 15:32:27 +02:00
Mael Rouxel-Labbé 8e6f695e76 Fix issues in Inventor/VRML writers 2020-10-14 11:03:26 +02:00
Mael Rouxel-Labbé 1ef61f1a5a Fix oformat'ing doubles 2020-10-13 18:13:01 +02:00
Mael Rouxel-Labbé 550317e1fb Fixes for the polygon soup OBJ reader 2020-10-13 18:12:12 +02:00
Mael Rouxel-Labbé ec71a79fdf Fix some missing flushers 2020-10-13 18:02:28 +02:00
Maxime Gimeno 6c83e73cbc use std::int32_t 2020-10-08 15:29:21 +02:00
Simon Giraudot 30422d0ad8 Fix windows warnings 2020-10-06 13:12:26 +02:00
Maxime Gimeno 3ec968d0df Add signed version for PLY list type test 2020-10-06 11:26:21 +02:00
Simon Giraudot f5966e7f7f Add missig include 2020-10-06 08:31:28 +02:00
Simon Giraudot 0878f3ad8a Fix assertion 2020-10-05 10:44:02 +02:00
Simon Giraudot 7599bbede7 Better names for 32b size_t IO 2020-10-01 13:53:02 +02:00
Simon Giraudot 3655679431 Use cstdint and add useful variants of binary IO 2020-10-01 13:25:55 +02:00
Mael Rouxel-Labbé 4694a48913 Merge remote-tracking branch 'cgal/master' into CGAL_IO-maxGimeno 2020-09-22 11:35:25 +02:00
oboes 401d266a07 Fix error in HSV/RGB color conversion 2020-08-23 05:55:48 +02:00
Sébastien Loriot a13b96220f Merge remote-tracking branch 'cgal/releases/CGAL-5.0-branch' 2020-08-07 06:41:47 +02:00
Sébastien Loriot c8b73c9f01 Merge remote-tracking branch 'cgal/releases/CGAL-4.14-branch' into HEAD 2020-08-07 06:40:23 +02:00
Sébastien Loriot 4a1ad0c756 remove incorrect license include statement 2020-08-06 11:45:23 +02:00
Mael Rouxel-Labbé c14198a992 IO doc fixes 2020-08-04 17:55:21 +02:00
Mael Rouxel-Labbé 00ca0211e1 IO documentation fixes 2020-08-04 15:47:56 +02:00
Mael 9bd594bf99
Fix is_ascii() 2020-08-03 12:03:33 +02:00
Mael Rouxel-Labbé 1d016ecc7e IO doc fixes 2020-07-28 15:38:19 +02:00
Mael Rouxel-Labbé 0d66e19361 IO documentation fixes
See @sloriot's review:

https://cgal.geometryfactory.com/CGAL/Members/wiki/Features/Polgyon_soup_mesh_IO/2nd_round/Answer_to_review

(+ some commits before and after this one)
2020-07-24 17:06:00 +02:00
Mael Rouxel-Labbé 2bdb63b1ae Use "integer type" and not "std::size_t" for 3MF I/O 2020-07-24 10:49:56 +02:00
Mael Rouxel-Labbé 47955af9b4 Polygon > Triangle in 3MF I/O 2020-07-24 10:10:52 +02:00
Mael Rouxel-Labbé e6847245c2 `value type` --> `value_type` 2020-07-24 09:55:22 +02:00
Mael Rouxel-Labbé 2f0f61e104 Rephrase warning about std::ios::binary + add missing (LAS - always binary) 2020-07-24 09:40:13 +02:00
Mael Rouxel-Labbé 6189e23817 Fix parameter name / documentation inconsistency 2020-07-24 09:24:36 +02:00
Mael Rouxel-Labbé 6acac6907a Add a note about letter case in generic I/O functions 2020-07-24 09:23:54 +02:00
Mael Rouxel-Labbé 69068ba28c Some more binary/ASCII fixes 2020-07-21 11:44:18 +02:00
Mael Rouxel-Labbé 59a375b566 Fix missing includes 2020-07-17 18:07:13 +02:00
Mael Rouxel-Labbé 9a485ec975 Update some file headers 2020-07-17 17:59:31 +02:00
Mael Rouxel-Labbé 26c930bc20 Uniformize whether std::string or const char* is used in the doc 2020-07-17 15:16:32 +02:00
Mael Rouxel-Labbé 6d6d959d4d Enhance doc for generic I/O functions 2020-07-17 13:37:37 +02:00
Mael Rouxel-Labbé f3659c5d96 Switch 3MF to bool return type and clarify \return doc for IO functions 2020-07-17 13:19:18 +02:00
Mael Rouxel-Labbé 09ee52fa1b Remove obsolete warning about boost version (only 1.62+ is supported now) 2020-07-17 11:57:01 +02:00
Mael Rouxel-Labbé 2d51d86787 Make verbose a NP instead of a parameter + various fixes in CGAL 2020-07-16 20:22:26 +02:00
Mael Rouxel-Labbé 0fd8bbf920 Re-add doc of operator<<(stream, Class) in io.h 2020-06-26 16:21:09 +02:00
Mael Rouxel-Labbé ae4c2aaa9e IO doc fixes 2020-06-26 16:08:02 +02:00
Mael Rouxel-Labbé 50e3a838f3 Compilation fixes 2020-06-25 18:20:52 +02:00
Mael Rouxel-Labbé cc523c09d2 Fix missing overloads + document stream_precision/use_binary in SS/IO 2020-06-25 15:16:34 +02:00
Mael Rouxel-Labbé 26355e2e32 Uniformize capital / third person usage of \brief 2020-06-25 15:13:47 +02:00
Mael Rouxel-Labbé d5d8cca92b Various IO compilation fixes 2020-06-25 12:02:01 +02:00
Mael Rouxel-Labbé 31044f8e1e Fix not opening binary input with ios::binary when reading/writing PLY 2020-06-24 18:26:16 +02:00
Mael Rouxel-Labbé a5b167ed55 Fix not opening ifstream with ios::binary when use_binary is chosen 2020-06-24 17:41:55 +02:00