Commit Graph

922 Commits

Author SHA1 Message Date
Sébastien Loriot 6c703f7fd8 Polygon_repair_2 -> Polygon_repair 2023-08-24 13:35:51 +02:00
Andreas Fabri 6f4804fd1e More fixes 2023-08-22 10:02:18 +01:00
Ken Arroyo Ohori c20d01c2d6 Merge branch 'CGAL:master' into gsoc2023-polygon_repair-kenohori 2023-08-21 03:38:46 -06:00
albert-github 93001308f4 Merge branch 'master' into feature/issue_7395
# Conflicts:
#	Arrangement_on_surface_2/doc/Arrangement_on_surface_2/Concepts/ArrangementPointLocation_2.h
#	Arrangement_on_surface_2/doc/Arrangement_on_surface_2/Concepts/ArrangementVerticalRayShoot_2.h
2023-08-18 11:10:42 +02:00
Sebastien Loriot b2be6dbbef fix istream for optional
Co-authored-by: Laurent Rineau <Laurent.Rineau@cgal.org>
2023-08-18 09:35:45 +02:00
Andreas Fabri 6c85e541f7 Fix doc typos 2023-07-20 11:25:25 +01:00
Andreas Fabri 12d420f827 Fix Stream_support/dependencies 2023-07-20 11:00:21 +01:00
Andreas Fabri 879b7ea139 Add WKT support for Multipolygon_with_holes 2023-07-20 10:51:51 +01:00
Mael Rouxel-Labbé 09a6a3e1c7 Add a hash for CGAL::IO::Color 2023-07-12 14:40:47 +02:00
albert-github 301728a8a9 issue #7395 Improvement of layout of model relations
- Completed the cgalModels part
2023-07-09 12:43:36 +02:00
Sébastien Loriot b66afab814 Merge remote-tracking branch 'sloriot/CGAL-using_c++17_stl' into HEAD 2023-07-05 11:29:35 +02:00
Sébastien Loriot 68813c5c63 Merge pull request #7403 from sloriot/CGAL-replace_boost_by_std
Replace boost by std
2023-07-05 11:08:36 +02:00
Sébastien Loriot b1465645ad fix variant output 2023-06-29 18:48:15 +02:00
Sébastien Loriot 9e22fdfcb8 iformat for optional 2023-06-29 18:08:57 +02:00
Sébastien Loriot 84abdc7582 add partial specialization of Output_rep for optional and variant 2023-06-29 10:43:21 +02:00
Sébastien Loriot dfc386d65b Merge branch 'master' into HEAD 2023-06-22 14:05:45 +02:00
Laurent Rineau 3851bc437e Merge pull request #7513 from sloriot/T23-exact_serialization
EPECK Triangulation serialization
2023-06-22 11:59:34 +02:00
Sébastien Loriot f936680600 Merge remote-tracking branch 'cgal/master' into HEAD 2023-06-15 18:48:39 +02:00
Sébastien Loriot 9cdfe70abb Merge remote-tracking branch 'sloriot/CGAL-toward_6.0' 2023-06-15 11:34:09 +02:00
Sébastien Loriot 71b4e4f08f boost::shared_ptr => std::shared_ptr 2023-06-15 10:57:01 +02:00
Sébastien Loriot bbc4d08ee0 Merge remote-tracking branch 'cgal/master' into HEAD 2023-06-15 10:47:07 +02:00
Sébastien Loriot c8a88b9014 remove CGAL_static_assertion* 2023-06-15 10:42:10 +02:00
Sébastien Loriot 852b3b664b expand -CGAL_CPP17_INLINE macro 2023-06-15 10:40:54 +02:00
Sébastien Loriot 2251c438fa enable exact serialization of triangulations with EPECK 2023-06-13 14:30:01 +02:00
Sébastien Loriot 1e6519e51a Merge remote-tracking branch 'cgal/5.5.x-branch' 2023-05-11 17:28:21 +02:00
Laurent Rineau 4f6398a4e2 Merge pull request #6575 from nh2/ply-property-lists
PLY: Support writing per-face/vertex property lists
2023-05-11 17:01:44 +02:00
Laurent Rineau 4d76e06383 Merge pull request #7392 from MaelRL/CGAL_IO-Obj_fixes-GF
Fix issues in OBJ I/O
2023-04-24 14:08:22 +02:00
Laurent Rineau 4fe208bdd3 Merge pull request #7392 from MaelRL/CGAL_IO-Obj_fixes-GF
Fix issues in OBJ I/O
2023-04-24 14:06:34 +02:00
Sébastien Loriot b039040f73 boost::is_convertible -> std::is_convertible 2023-04-23 22:37:07 +02:00
Sébastien Loriot 99e7f4806a boost::int -> std::int 2023-04-23 18:43:10 +02:00
Sébastien Loriot fc034c6a5d boost::unit -> std::uint 2023-04-23 18:40:39 +02:00
Mael Rouxel-Labbé d33fc1ad07 Add missing error message 2023-04-18 11:23:16 +02:00
Mael Rouxel-Labbé b7ca320000 Fix null char reading and backslash separated multi lines 2023-04-18 11:23:06 +02:00
Laurent Rineau 9e18cc6989
Unexpected backtick (#7378)
In the file: Arrangement_on_surface_2/index.html
we see:
```
The example below shows how to construct the same arrangement of five line segments built incrementally in Arrangement_on_surface_2/incremental_insertion.cpp` depicted in Figure 34.9 using the aggregate insertion
```
i.e. an unexpected backtick.
2023-04-12 09:55:42 +02:00
albert-github 8a0b21461d Unexpected backtick
- Corrected some more redundant / missing backticks
- correctes a spelling error (Boolean_set_operations_2/doc/Boolean_set_operations_2/CGAL/Boolean_set_operations_2/Gps_default_dcel.h)
2023-04-11 17:38:37 +02:00
Laurent Rineau 988d226d08 Merge pull request #6176 from afabri/CGAL-W4WX-GF
CGAL/IO/helpers.h: fix VC++ /W4 warning
2023-04-11 14:19:09 +02:00
Laurent Rineau a5052f4cd8 Merge pull request #6835 from MaelRL/CGAL-Clean_CMakeLists.txt-GF
Some CMakeLists.txts cleaning
2023-02-16 10:52:29 +01:00
Sébastien Loriot 1627150231 Merge remote-tracking branch 'cgal/5.5.x-branch' 2023-02-16 10:21:32 +01:00
Sébastien Loriot ec00fa30b2 Merge remote-tracking branch 'cgal/5.4.x-branch' into HEAD 2023-02-16 10:21:09 +01:00
Sébastien Loriot 097b14d055 add missing include directive 2023-02-16 10:20:31 +01:00
Mael 153c603209
Merge branch 'master' into CGAL-Clean_CMakeLists.txt-GF 2023-01-27 22:09:02 +01:00
Laurent Rineau 5f8930db8c Merge branch '5.5.x-branch'
# Conflicts:
#	Convex_hull_2/test/Convex_hull_2/ch_test_CH.cpp
#	Convex_hull_2/test/Convex_hull_2/ch_test_SC.cpp
#	Convex_hull_2/test/Convex_hull_2/ch_test_SH.cpp
#	Convex_hull_2/test/Convex_hull_2/ch_test_SS.cpp
#	Straight_skeleton_2/include/CGAL/constructions/Straight_skeleton_cons_ftC2.h
#	Straight_skeleton_2/include/CGAL/predicates/Straight_skeleton_pred_ftC2.h
2023-01-27 21:16:14 +01:00
Laurent Rineau afd56fe52b Merge pull request #7112 from afabri/T2_demo-read_WKT-GF
Triangulation_2 Demo: Read files with many WKT entities
2023-01-27 20:52:32 +01:00
Andreas Fabri aa8da893c2 Fix and simplify code 2022-12-14 08:20:44 +00:00
Mael 0ff7882997
Merge branch 'master' into feature/bug_documentation_spell_20221113 2022-12-06 22:21:06 +01:00
Mael 6538b22e06
Merge branch 'master' into CGAL-Clean_CMakeLists.txt-GF 2022-12-05 16:03:41 +01:00
Mael Rouxel-Labbé b5c21e1f5d Http -> https + update some dead links 2022-11-23 18:54:37 +01:00
albert-github c32b1f4127 spelling corrections
Some spelling corrections (Directories starting with `S` rest - `W`),
2022-11-16 13:22:39 +01:00
albert-github 45478184de spelling corrections
Some spelling corrections (Directories starting with `E`-` L`),
some backward work
some forward work
2022-11-15 13:39:40 +01:00
albert-github 17a84db90e Some obvious missing quotes
Some obvious missing quotes  (last set)
2022-09-25 18:00:08 +02:00
Mael Rouxel-Labbé 4fc486b195 Purge CMakeLists.txts from obsolete code / noise 2022-09-06 16:19:11 +02:00
Mael Rouxel-Labbé 7cb21c24b0 Uniformize message() for missing 3rd party libraries
STATUS for non-essential, NOTICE for important stuff
2022-09-06 16:07:31 +02:00
Sébastien Loriot 9dd8235dc5 more workarounds for MSVC 2015
[skip ci]
2022-08-10 23:50:39 +02:00
Sébastien Loriot 861588abe1 Merge 'sloriot/CGAL-std_type_traits' into master 2022-08-03 20:19:51 +02:00
Andreas Fabri 70a06b4696 Do not use CGAL::iterator_v<> as it is responsible for the ICE of VC2015 2022-06-27 08:58:17 +01:00
Sébastien Loriot aa9f5215c4 factorize 2022-06-24 17:21:37 +02:00
Andreas Fabri fe7d09ce90 Do not use is_iterator_v for VC2015 2022-06-24 15:24:28 +01:00
Laurent Rineau 9bf73ee910 Improve links 2022-06-13 16:27:43 +02:00
Laurent Rineau c132b6a11e Merge remote-tracking branch 'cgal/master' into Mesh_data_structure_3-new_package-jtournois 2022-06-13 16:26:34 +02:00
Sébastien Loriot 91671dae03 is_Range<>::value --> is_Range_v<> 2022-06-10 09:51:56 +02:00
Sébastien Loriot b96f6d5ce9 move is_iterator to type_traits 2022-06-10 09:43:59 +02:00
Sébastien Loriot 44250cb019 is_iterator_XXX<>::value --> is_iterator_XXX_v<> 2022-06-10 09:40:29 +02:00
Sébastien Loriot 4f5f8341cc use std::enable_if_t 2022-06-10 07:37:53 +02:00
Sébastien Loriot 5746e59b34 Merge cgal/master 2022-06-08 23:13:25 +02:00
Jane Tournois 355b52d21f rename TMDS_3 to SMDS_3, end. 2022-06-08 22:57:25 +02:00
Jane Tournois db30e44e43 add missing dependency 2022-06-08 22:53:18 +02:00
Jane Tournois 056f83d12a add link 2022-06-08 22:51:24 +02:00
Jane Tournois 231ade3816 fix links and license 2022-06-08 22:51:24 +02:00
Sébastien Loriot ff16bec071 clean up EXAMPLE_PATH 2022-05-23 16:52:17 +02:00
Niklas Hambüchen 59d70a5018 PLY: Support writing per-face/vertex property lists 2022-05-12 12:51:42 +02:00
Laurent Rineau 734c96e951 Merge branch 'master' into pr/lrineau/6558 2022-05-06 16:25:32 +02:00
Laurent Rineau 2288225448 Massive update of CMake policies to version 3.23 2022-05-06 09:34:35 +02:00
Laurent Rineau 299a8a9072 Add #include vector 2022-04-28 12:08:39 +02:00
Laurent Rineau 362c30f1bd Merge pull request #6454 from afabri/Stream_support-call_string_clear-GF
Stream_support: Make line a data member and call clear()
2022-03-31 16:57:58 +02:00
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
Sébastien Loriot 4f640c5bd6 add test failing from issue 6374 2022-03-03 11:14:19 +01:00
Charrière Maxime 98ee8d7560
Add CGAL::Color operator< and return values 2022-02-25 14:54:48 +01:00
Andreas Fabri 31ad9a98a4 Stream_support: clean up the examples for WKT 2022-02-22 15:06:03 +00:00
Laurent Rineau c85cb0d2d9 Merge pull request #6296 from afabri/Stream_support-set_index-GF
Stream_support: Fix File_scanner_OFF::scan_facet()
2022-02-08 23:44:32 +01:00
Laurent Rineau f9c05a0ba1 Merge pull request #6253 from afabri/P2T2-assert-GF
CGAL:   In testcode do not use CGAL_assertion  but assert
2022-02-02 16:38:22 +01:00
Laurent Rineau 5b42a501cc Merge pull request #6266 from afabri/CGAL-assertions_in_examples-GF
CGAL Examples: CGAL_assertion ->  assert

# Conflicts:
#	HalfedgeDS/examples/HalfedgeDS/hds_prog_compact2.cpp
#	Triangulation_2/examples/Triangulation_2/triangulation_print_OFF.h
2022-02-02 16:38:01 +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
Andreas Fabri 79a38d5cb9 CGAL Examples: CGAL_assertion -> assert 2022-01-24 10:19:04 +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
Andreas Fabri 8d749839d8 Deal with Stream_support 2022-01-18 18:41:42 +00: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
Sébastien Loriot 04ab5e2f1b remove doc dep 2021-12-16 19:05:42 +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
Laurent Rineau 3e877fa124 Merge pull request #6109 from afabri/CGAL-VC_max_warning-GF
PMP: Fix Warnings in Master
2021-11-18 12:27:21 +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
Sébastien Loriot ab48f63e30 update latest cmake version tested 2021-11-09 10:58:47 +01:00
Laurent Rineau 89f775c699 Merge pull request #6085 from lrineau/Stream_support-fix_examples_CMakeLists.txt-GF
Fix a bad merge from PR "Re-organize I/O #4255"
2021-11-04 18:21:54 +01:00
Laurent Rineau 584957eb19 Fix a bad merge from PR "Re-organize I/O #4255"
Before my fix, the CMakeLists.txt could be sum-up that way:

```cmake
find_package(CGAL REQUIRED)
find_package(Boost QUIET)

if(NOT Boost_FOUND)
  message(
    STATUS "This project requires the Boost library, and will not be compiled.")

    create_single_source_cgal_program( "Point_WKT.cpp" )
    # [...]
else ()
  message(STATUS "This project requires the CGAL library, and will not be compiled.")
  return()
endif()
```

So, on *all platform*, as Boost is mandatory and always found, the
behavior was to display "This project requires the CGAL library, and
will not be compiled." and return, without configuring any target.

I have simplified the `CMakeLists.txt` to the simplest:

```cmake
cmake_minimum_required(VERSION 3.1...3.20)
project(Stream_support_Examples)

find_package(CGAL REQUIRED)

create_single_source_cgal_program( "Point_WKT.cpp" )
```

- `cmake_minimum_required` is mandatory and must be the first line,
- `project` is mandatory,
- `find_package(CGAL REQUIRED)`: no need to test `CGAL_FOUND`, because
  CGAL is required anyway. No need to search for Boost, because that is
  an implementation detail of CGAL, and the CMake file
  `CGALConfig.cmake` deals with that dependency
- and then the declaration of the targets.
2021-10-27 12:03:36 +02:00
Sébastien Loriot 1857a25d28 Merge remote-tracking branch 'cgal/master' into CGAL_data-moving_files 2021-10-06 13:50:31 +02: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
Sébastien Loriot 8350dea94a char* -> std::string 2021-10-04 09:49:24 +02:00
Sébastien Loriot 47028cd184 automatically move data files in data dir + update paths
Done for OFF/OBJ/STL/XYZ/PWN/PLY
2021-10-04 09:42:49 +02: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
Sébastien Loriot 814c9138ef Merge remote-tracking branch 'cgal/5.3.x-branch' 2021-08-12 10:38:11 +02:00
Sebastien Loriot c25c7c4668
Merge pull request #5882 from sloriot/Data-Ply_edge_prop
Update PLY files to valid format
2021-08-12 10:24:32 +02:00
Sébastien Loriot cff3cdb40e Merge remote-tracking branch 'cgal/5.2.x-branch' into HEAD 2021-08-12 10:23:57 +02:00
Sébastien Loriot 84fac01b06 fix doc: constants -> functions
since e3e0efb
2021-08-04 15:29:22 +02:00
Sébastien Loriot aee767b2e3 update to valid format 2021-07-30 10:07:33 +02:00
Maxime Gimeno 8aa6bb3953 fix test WKT. 2021-07-22 09:00:21 +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
albert-github 2a54687e77 Correction of hyperlinks
The link checker gave a number of redirects and incorrect links.
- the redirects have been solved ass far as possible
- the incorrect links have been checked and corrected where possible, others  have been reported through issues;
2021-06-04 13:52:14 +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 516d921ea8 add misisng dependency 2021-05-12 16:29:05 +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 12f0e412b5 write_vtu -> write_VTU 2021-05-04 15:12:36 +02:00