Sébastien Loriot
ff16bec071
clean up EXAMPLE_PATH
2022-05-23 16:52:17 +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
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
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
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