Commit Graph

553 Commits

Author SHA1 Message Date
Andreas Fabri 96f1e69c71 Stream_support: Move string out of the loop and call clear() 2022-03-28 13:42:55 +01:00
Mael Rouxel-Labbé fd950dad36 Better choice of kernel functors 2022-03-15 12:27:22 +01:00
Mael Rouxel-Labbé 3182689f30 Make write_STL (and write_polygon_mesh) compile with sqrt-less kernels 2022-03-15 00:45:56 +01:00
Laurent Rineau 89e4e4a367 Merge pull request #6376 from sloriot/Stream_support-fix_STL_binary
fix stl binary
2022-03-09 11:35:13 +01:00
Laurent Rineau 78f9324d13 Merge pull request #6376 from sloriot/Stream_support-fix_STL_binary
fix stl binary
2022-03-09 11:33:17 +01:00
Sébastien Loriot 72853c00da remove unused variable 2022-03-04 15:29:34 +01:00
Sébastien Loriot eb505ae8b8 remove unused variable 2022-03-04 06:04:39 +01:00
Sébastien Loriot fef50179e0 allow ASCII files with many spaces on the first lines 2022-03-03 16:05:24 +01:00
Sébastien Loriot 733c8de28b do not try to read after the 80 char for the header
Since the next "word" to be read is a INT32 in binary mode, the char read
from it does not mean anything
2022-03-03 11:14:50 +01:00
Charrière Maxime 98ee8d7560
Add CGAL::Color operator< and return values 2022-02-25 14:54:48 +01:00
Andreas Fabri 8d3f4fb20b untabify 2022-02-02 07:43:47 +00:00
Andreas Fabri a5110493f8 Stream_support: Fix File_scanner_OFF::scan_facet() 2022-02-02 07:38:42 +00:00
Laurent Rineau 4c7719cd85 Merge pull request #6241 from sloriot/CGAL-warnings
Fix warnings
2022-01-21 14:40:16 +01:00
Laurent Rineau d33971d04a Merge pull request #6241 from sloriot/CGAL-warnings
Fix warnings
2022-01-21 14:38:40 +01:00
Sébastien Loriot 4fa136d17c fix maybe uninitialized warning 2022-01-17 09:07:09 +01:00
Sébastien Loriot 10b0af3092 rename macro since Named_function_parameter is part of STL_Extension 2022-01-13 14:43:34 +01:00
Sébastien Loriot 6cfcc37f49 fix again the extra endcond 2022-01-13 11:35:27 +01:00
Sébastien Loriot c169c41240 Merge remote-tracking branch 'maxGimeno/PMP-Example_of_new_mp_function-maxGimeno' into HEAD 2022-01-12 13:33:49 +01:00
Laurent Rineau 72b0a64a71 Merge pull request #5998 from afabri/Convex_hull-Index_triangle_set-GF
Convex_hull_3: output into a polygon soup
2022-01-12 12:24:10 +01:00
Sébastien Loriot 75b03e6c0a use_default_values() -> default_values() 2022-01-10 18:36:37 +01:00
Sébastien Loriot 6d3176e061 move Named_parameters class in STL_extension
helpers stay in BGL because it depends on BGL tags
2022-01-07 15:12:22 +01:00
Sébastien Loriot 9112001f33 fix doc 2022-01-06 19:11:54 +01:00
Sébastien Loriot f974016e73 replace overloads with default parameters (Stream_support) 2022-01-05 15:15:32 +01:00
Sébastien Loriot a6d9b99466 move macros in BaseDoxyfile 2022-01-04 11:10:09 +01:00
Laurent Rineau e481ec1a88 Merge pull request #6199 from albert-github/feature/bug_stream_support_endcond
Missing \endcond in Stream_support package
2022-01-03 16:25:59 +01:00
Sébastien Loriot 2a99174563 remove exe flag 2021-12-27 09:21:09 +01:00
albert-github a20887f1fa Missing \endcond in Stream_support package
We get the warning:
```
include/CGAL/IO/GOCAD.h:41: warning: Conditional section with label 'SKIP_IN_MANUAL' does not have a corresponding \endcond command within this file.
```

Added \endcond in Stream_support package at an in my opinion sensible place.
2021-12-27 07:34:06 +01:00
Andreas Fabri d721a0c15b Fix VC++ /W4 warning 2021-12-14 14:35:52 +00:00
Andreas Fabri 115fa5ab39 Remove Geomview from the manual and the demos 2021-12-14 14:01:21 +00:00
Laurent Rineau c199795670 Merge pull request #6104 from sloriot/Property_map-fix_id_map_mutable
restore mutable property of the pmap
2021-11-18 12:27:23 +01:00
Sébastien Loriot 32f40d82a7 workaround -Wmaybe-uninitialized
The init is legit as it prevents the reader to
do a useless loop and the writer to write
random number

In case of failing to read a face index or the number of faces,
the error bit in the stream is set anyway and the user has to
check it
2021-11-11 15:21:50 +01:00
Sébastien Loriot 4eb1464aed fix Identity_map mutability and fix CGAL code using it 2021-11-09 11:37:24 +01:00
Andreas Fabri 197c0a2471 code bugfix after test; doc bug fix: SequenceContainer -> RandomAccessContainer (also in Stream_support) 2021-10-05 08:40:47 +01:00
Laurent Rineau 7fc986f581 Merge pull request #5992 from afabri/CGAL-safe_functions-GF
Deal with memset, memcpy, fscanf...    and their safe equivalents
2021-09-29 11:46:44 +02:00
Laurent Rineau ad79d37410 Merge pull request #6014 from MaelRL/CGAL-IO_Clarify_binary_text-GF
CGAL IO: Clarify binary warning
2021-09-29 11:46:30 +02:00
Mael Rouxel-Labbé 5578bf43ff Misc cleaning 2021-09-27 15:35:40 +02:00
Mael Rouxel-Labbé c8cc0747fa Clarify binary warning 2021-09-27 15:33:42 +02:00
Andreas Fabri 3b7754f796 CGAL_TRACE() -> CGAL_TRACE_STREAM 2021-09-23 17:00:10 +02:00
Andreas Fabri b23b0b0d63 vfprintf -> vprintf_s 2021-09-23 17:00:10 +02:00
Sebastien Loriot 4610cf3c66
Merge pull request #5904 from sloriot/CGAL-remove_config_flags
Replace macros with inline functions and remove a config flag
2021-09-10 17:38:50 +02:00
Sébastien Loriot 98e471849b moving files from internal to PKG/internal 2021-08-26 11:33:39 +02:00
Sébastien Loriot 31a0557f58 add questions 2021-08-13 16:45:28 +02:00
Maxime Gimeno a3d1765ab4 Merge remote-tracking branch 'cgal/master' into CGAL-Clean_up_boost_versions-maxGimeno 2021-07-19 14:18:40 +02:00
Mael Rouxel-Labbé 01b2f0783a Harmonization of ASCII/BINARY/PRETTY formatting within io.h 2021-07-06 10:37:07 +02:00
Mael Rouxel-Labbé 78ff9185b3 Harmonize ASCII usage across all packages 2021-06-23 23:34:32 +02:00
Mael Rouxel-Labbé a34debc92b Uniformize os/is/s/i stream parameter name in Stream_support/io
+ remove extra backticks in NP doc
2021-06-23 23:32:06 +02:00
Laurent Rineau 2c4a5db3ce Merge pull request #5631 from GilesBathgate/STL_ext-fix_uncaught_exceptions_cleanup-GilesBathgate
Fix uncaught exceptions cleanup
2021-05-18 18:14:14 +02:00
Maxime Gimeno e6c767d5c9 Simplify the GNUC versions tests 2021-05-12 15:45:07 +02:00
Maxime Gimeno 393ae7dae6 Clean-up boost_version reqs 2021-05-12 15:03:53 +02:00
Sébastien Loriot 4e519a3c7a move documented IO functions in IO namespace 2021-05-05 13:15:37 +02:00
Sébastien Loriot 699c87daef fix IO namespace 2021-05-04 19:08:10 +02:00
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