Maxime Gimeno
45d6bd05c9
un-doc the NP versions of the soup functions
2020-04-30 15:44:01 +02:00
Maxime Gimeno
841f7a2016
WIP tests NP
2020-04-29 11:23:07 +02:00
Maxime Gimeno
55361fe782
fix color and texture reading in OFF
2020-04-28 16:53:22 +02:00
Maxime Gimeno
5679c42ce8
add tests for bgl read/write
2020-04-28 14:08:41 +02:00
Maxime Gimeno
e0b0f0b244
Dopcument NPs in BGL
2020-04-28 12:09:46 +02:00
Maxime Gimeno
83a929f7bb
Fix soup off writer + doc NPs
2020-04-28 11:20:16 +02:00
Maxime Gimeno
c8c196fe9c
Doc and overloads fixes
2020-04-28 10:30:51 +02:00
Maxime Gimeno
07b13dae6c
add missing overloads for vtp
2020-04-27 16:20:06 +02:00
Maxime Gimeno
067c456073
add some doc for STL
2020-04-27 13:53:40 +02:00
Maxime Gimeno
db4c886bbf
Add overloads for PLY
2020-04-27 13:23:48 +02:00
Maxime Gimeno
3d4eb3a5be
add missing overloads in OFF
2020-04-27 12:13:46 +02:00
Maxime Gimeno
c5e512db08
OBJ doc fixes
2020-04-27 12:06:47 +02:00
Maxime Gimeno
64d523abf5
Fixes in the doc of GOCAD
2020-04-27 12:03:19 +02:00
Maxime Gimeno
ac48cb0cf5
GOCAD
2020-04-24 15:31:29 +02:00
Maxime Gimeno
a2a1ebde39
fixes in vtp
2020-04-24 12:45:55 +02:00
Maxime Gimeno
6e309fa34b
WIP VTP for soups
2020-04-23 15:14:35 +02:00
Maxime Gimeno
80e39d13f9
WIP
2020-04-22 16:57:59 +02:00
Maxime Gimeno
e269931284
small doc fixes
2020-04-20 15:18:11 +02:00
Maxime Gimeno
ba86b13ac9
Massive addition of enable/disable_ifs
2020-04-17 16:05:43 +02:00
Maxime Gimeno
00ffbe2caf
WIP Ply : added feature and tests for vertex and face colors.
2020-04-17 13:06:32 +02:00
Maxime Gimeno
b69b7a88df
WIP PLY with in np in SS
2020-04-10 16:40:34 +02:00
Maxime Gimeno
3a0f59732b
WIP read_PLY with nps
2020-04-03 15:21:25 +02:00
Maxime Gimeno
a40605fbbf
WIP ply BGL reader
2020-04-03 14:55:38 +02:00
Maxime Gimeno
69a2a23cc6
rename IO functions in point_set packages
2020-04-01 14:33:14 +02:00
Maxime Gimeno
8a535e5e55
Replace std::vector by ranges in Stream_support IO function APIs
2020-03-27 12:54:03 +01:00
Maxime Gimeno
4e6fb685c6
Merge remote-tracking branch 'mine/CGAL_IO-maxGimeno' into HEAD
2020-03-27 11:11:10 +01:00
Maxime Gimeno
9c0648a004
Merge tag 'master_before_no_tws_nor_tabs' into CGAL_IO-maxGimeno
2020-03-27 11:05:43 +01:00
Sébastien Loriot
8bb22d5b2c
extra run of the script to remove tabs and trailing whitespaces
...
right after the merge of the 5.0 release branch
+ manual fix of the files (indentation was changed in the meantime):
* Spatial_sorting/include/CGAL/Multiscale_sort.h
* Spatial_sorting/test/Spatial_sorting/test_multiscale.cpp
2020-03-26 14:26:59 +01:00
Sébastien Loriot
8b153fb495
Merge branch 'cgal/releases/CGAL-5.0-branch'
...
whitespace+tab removal, merged with option -Xignore-space-change
2020-03-26 14:22:32 +01:00
Sébastien Loriot
0779373835
extra run of the script to remove tabs and trailing whitespaces
...
right after the merge of 4.14 release branch
+ manual fix on one line in:
* Arrangement_on_surface_2/include/CGAL/IO/Arr_text_formatter.h
* .travis/generate_travis.sh
2020-03-26 14:16:06 +01:00
Sébastien Loriot
590612a563
run the script to remove tabs and trailing whitespaces
2020-03-26 13:25:16 +01:00
Maxime Gimeno
0f56294ebc
fix read_PLY and add a test to bgl for the ply writing
2020-03-18 17:29:02 +01:00
Maxime Gimeno
f3dfd786e5
remove the UV parts of the BGL write_PLY and add NPs for the vpm and vimap. Missing doc. Also fix the STL_ASCII reader.
2020-03-18 15:52:15 +01:00
Mael Rouxel-Labbé
b7325c51ca
Re-apply some changes from #4212
2020-03-17 09:03:39 +01:00
Mael Rouxel-Labbé
30d4754a04
Merge remote-tracking branch 'cgal/master' into CGAL_IO-maxGimeno
2020-03-17 09:03:12 +01:00
Sebastien Loriot
0c8e9cb0c1
Merge pull request #4212 from maxGimeno/Demo-Save_the_scene_entirely-maxGimeno
...
CGAL 3D Demo: Enhancement of the Scene Saving System
2020-03-16 16:35:45 +01:00
Maxime Gimeno
d8fd359399
Merge remote-tracking branch 'cgal/master' into Demo-Save_the_scene_entirely-maxGimeno
2020-02-24 16:41:34 +01:00
Maxime Gimeno
c85c7ea6e9
rephrase \attention
2020-02-19 13:45:02 +01:00
Maxime Gimeno
6719b0db89
Add checks and doc for version < 2
2020-02-18 10:52:16 +01:00
Mael Rouxel-Labbé
7f6bf9b3cb
Add skeletons for CGAL::read_PS, CGAL::read_PM, PMP::read_PM
2020-01-29 11:44:03 +01:00
Mael Rouxel-Labbé
ae1c28c885
Move 3MF FaceGraph reading from SS to BGL
2020-01-29 11:34:32 +01:00
Mael Rouxel-Labbé
9de1e305cd
Move a facegraph ply reader to where it belongs (SS --> BGL)
2020-01-29 11:33:20 +01:00
Mael Rouxel-Labbé
624cf89863
Some const correctness
2020-01-29 11:32:43 +01:00
Mael Rouxel-Labbé
41271b67f6
Improvements to CGAL i/o across the board
2020-01-29 10:00:07 +01:00
Mael Rouxel-Labbé
b1da380064
Rework Surface_mesh IO
2020-01-28 18:36:30 +01:00
Mael Rouxel-Labbé
09bb265b22
Add the skeleton of texture reading in OFF's file scanner
2020-01-28 12:10:59 +01:00
Maxime Gimeno
fe252ae596
inline functions
2020-01-28 12:09:52 +01:00
Mael Rouxel-Labbé
88e9727717
Introduce NPs for polygon soup reading
...
Enable filling pmaps of surface mesh on reading
Also can write pmaps (off / obj)
2020-01-28 09:03:50 +01:00
Mael Rouxel-Labbé
1edf1e066c
Integrate File_scanner_OFF_impl into the header
2020-01-27 11:03:53 +01:00
Mael Rouxel-Labbé
9e2289c63d
Clean code
2020-01-25 18:18:31 +01:00
Mael Rouxel-Labbé
9247fdab02
Add a polygon soup obj reader
2020-01-25 15:05:47 +01:00
Mael Rouxel-Labbé
7a4839e0e9
Get rid of File_writer_OFF_impl (merge into header)
2020-01-25 15:04:54 +01:00
Mael Rouxel-Labbé
5906e3c341
Don't copy structs in auto loop
2020-01-25 13:00:52 +01:00
Mael Rouxel-Labbé
d8053f8198
Use file writer for WRL output
2020-01-25 13:00:43 +01:00
Mael Rouxel-Labbé
97eddd9135
Fix some I/O returns
2020-01-24 23:28:04 +01:00
Mael Rouxel-Labbé
87e85c2634
Fix missing CGAL_EXPORT
2020-01-24 23:17:52 +01:00
Mael Rouxel-Labbé
135595ca92
Misc cleaning
2020-01-24 23:17:33 +01:00
Mael Rouxel-Labbé
8f82c1b7a4
Start fixing PLY namespaces
2020-01-24 18:32:46 +01:00
Mael Rouxel-Labbé
7bb2788d6f
Use polygon soup OFF reader in polygon mesh OFF reader
2020-01-24 18:13:09 +01:00
Mael Rouxel-Labbé
423ae6ec84
Re-organize and improve BGL IO
2020-01-24 17:48:02 +01:00
Mael Rouxel-Labbé
6a5972cc3b
Continue reorganization of CGAL I/O
2020-01-23 16:33:23 +01:00
Mael Rouxel-Labbé
3c833674fb
Move documentation to /include
2020-01-20 13:06:13 +01:00
Mael Rouxel-Labbé
ec1b4bb6e1
Use sensible file indentation (no real changes)
2020-01-20 11:58:20 +01:00
Mael Rouxel-Labbé
75581cad76
Get rid of io_impl.h
2020-01-20 11:54:00 +01:00
Mael Rouxel-Labbé
0e82e7f9ee
Uniformize indentation / code (no real changes)
2020-01-20 11:07:28 +01:00
Mael Rouxel-Labbé
85e7eb1fab
Get rid of some _impl.h
2020-01-20 10:49:09 +01:00
Mael Rouxel-Labbé
490a726ec0
Clean file IO code in Stream_support (no real changes)
2020-01-20 10:42:46 +01:00
Mael Rouxel-Labbé
e317c689aa
Misc compilation fixes
2020-01-17 18:28:57 +01:00
Mael Rouxel-Labbé
3bfc9ab9ea
Update code to new API (I/O function returns a bool)
2020-01-17 18:09:51 +01:00
Mael Rouxel-Labbé
322c8786da
Remove OFF_reader.h and Writer_OFF.h
...
- Writer_OFF.h is simply unused and useless
- OFF_reader.h is transfered to OFF.h for clarity
2020-01-17 18:05:25 +01:00
Mael Rouxel-Labbé
828e47f61e
Fix some header includes
2020-01-17 17:55:53 +01:00
Mael Rouxel-Labbé
93968e685e
Add a convenience header for OBJ I/O headers
2020-01-17 17:10:18 +01:00
Mael Rouxel-Labbé
220a4454ab
Regroup OpenInventor I/O headers
2020-01-17 17:10:02 +01:00
Mael Rouxel-Labbé
06c6659981
Add STL.h as a convenience header regrouping STL I/O headers
2020-01-17 17:02:14 +01:00
Mael Rouxel-Labbé
f0027e7250
Regroup VTK I/O
2020-01-17 17:01:12 +01:00
Mael Rouxel-Labbé
6f10eb1599
Regroup 3MF
2020-01-17 17:00:09 +01:00
Mael Rouxel-Labbé
3ca94b1c78
Move Writer_OFF (which is completely unused...) to IO/OFF
2020-01-17 16:49:40 +01:00
Mael Rouxel-Labbé
345529e4f6
Get rid of deprecated files that were not documented in the first place
2020-01-17 16:46:35 +01:00
Mael Rouxel-Labbé
548149da48
Move Alpha_shape_3_VRML_2_ostream to Alpha_shape_3 and make it GPL
...
The code uses Alpha_shape_3 which is GPL, so the license change is
not too extreme.
2020-01-17 15:38:03 +01:00
Mael Rouxel-Labbé
1d8124e27f
Move two VRML-files into IO/VMRL + add convenience header
2020-01-17 15:16:50 +01:00
Mael Rouxel-Labbé
9c9ac95e75
Fix licenses
2020-01-17 14:20:06 +01:00
Mael Rouxel-Labbé
d620198049
Merge branch 'CGAL_IO-maxGimeno-old' into CGAL_IO-maxGimeno
2020-01-17 12:34:08 +01:00
Maxime Gimeno
b59e55731c
add misisng namespace
2020-01-13 10:30:33 +01:00
Maxime Gimeno
6c35826afd
Fixes and apply to multipolygon
2020-01-03 10:51:19 +01:00
Maxime Gimeno
4c36c04fd6
Merge remote-tracking branch 'cgal/master' into Demo-Save_the_scene_entirely-maxGimeno
2019-12-19 11:26:55 +01:00
Andreas Fabri
9a330fd140
Stream_support: Fix reading WKT POLYGON
2019-12-05 16:17:37 +01:00
Sébastien Loriot
b9a079b530
remove cpp11/cpp0x
2019-11-04 11:34:53 +01:00
Sébastien Loriot
52164b1fba
First pass on removing license notice in header for LGPL files
2019-10-19 15:40:30 +02:00
Sébastien Loriot
7356421d80
introduce Commercial license SPDX tag
2019-10-19 12:15:19 +02:00
Sébastien Loriot
9bd9c68b83
update LGPL[23]+ and GPL[23]+ SPDX tags
...
ack -l --no-svg "SPDX-License-Identifier: GPL-3.0\+" | xargs sed -i "s/SPDX-License-Identifier: GPL-3.0+/SPDX-License-Identifier: GPL-3.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: LGPL-3.0\+" | xargs sed -i "s/SPDX-License-Identifier: LGPL-3.0+/SPDX-License-Identifier: LGPL-3.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: GPL-2.0\+" | xargs sed -i "s/SPDX-License-Identifier: GPL-2.0+/SPDX-License-Identifier: GPL-2.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: LGPL-2.0\+" | xargs sed -i "s/SPDX-License-Identifier: LGPL-2.0+/SPDX-License-Identifier: LGPL-2.0-or-later/"
2019-10-18 21:57:54 +02:00
Maxime Gimeno
80b7a5575c
Empty Polyhedron_IO.
2019-09-27 10:35:39 +02:00
Maxime Gimeno
af5773cf4e
Integration of WS Server to the demo. Sessions handled and Remove the point_sets and polylines management from the 3mf plugin
2019-09-26 14:59:36 +02:00
Maxime Gimeno
5a03f5d7c7
Continue working on the table
2019-09-25 15:52:18 +02:00
Maxime Gimeno
01c7259d0d
Fixing read_OBJ()
2019-09-24 13:42:38 +02:00
Maxime Gimeno
c8c46d6f00
Finished the `Supported file formats` page
2019-09-19 13:27:06 +02:00
Sebastien Loriot
eb712a67e9
Merge pull request #4094 from MaelRL/PMP-Snap_pp-GF
...
PMP: speed improvements for snap.h
2019-08-12 09:02:50 +02:00
Maxime Gimeno
6638d51fe8
- Unify the Facegraph builders (GOCAD and STL for now)
...
- Make a BGL STL_reader
- Add a test for it.
2019-08-09 13:53:33 +02:00
Maxime Gimeno
6dbf2d3d78
Move STL bgl writer into BGL, and replace it by a soup writer in Stream_support.
...
Write a SS test for read and write soups in STL
2019-08-09 12:09:20 +02:00
Maxime Gimeno
ebbe8571ee
Move GOCAD's IO BGL code to BGL.
2019-08-08 11:46:10 +02:00
Maxime Gimeno
9c794aa228
Fix GOCAD reader to not duplicate vertices
2019-08-08 10:23:09 +02:00
Maxime Gimeno
4aed6a9a54
move WKT traits files and make a GOCAD reader and writer from the one in the demo.
2019-08-07 16:41:44 +02:00
Maxime Gimeno
8f793736c7
Move LGPL stuff to Stream_support, and Polyhedron_IO GPL stuff to Polyhedron/include/CGAL/IO. Deprecate headers that need it.
...
As a consequence, Inventor and Polyhedron_IO are entirely deprecated.
2019-08-07 16:00:47 +02:00
Maxime Gimeno
914c37b72f
Move OFF files from Polyhedron_IO to Polyhedron/include/CGAL/IO
2019-08-07 15:25:26 +02:00
Maxime Gimeno
0a38d23764
Add all missing files.
...
Enable the STL_reader to read multiple "solid"s in a same soup.
2019-08-07 15:12:50 +02:00
Maxime Gimeno
5373b35b9f
Start regrouping in Stream Support and robustify readers.
2019-08-06 16:11:56 +02:00
Maxime Gimeno
2698704f87
Add vertex nomals in write_OBJ for Surface_mesh
2019-07-29 15:55:38 +02:00
Mael
9ba0870ebd
Merge branch 'master' into PMP-Snap_pp-GF
2019-07-18 17:43:04 +02:00
Sébastien Loriot
724e70b97f
Merge pull request #3984 from LiangliangNan/master
...
New package 'Polygonal Surface Reconstruction' and an extension of 'Solver Interface'
2019-07-18 17:05:25 +02:00
Sebastien Loriot
e4adb62011
Merge pull request #4078 from maxGimeno/Fix_some_warnings-GF
...
Fix warnings
2019-07-18 16:35:51 +02:00
Sebastien Loriot
fbf6fb375d
Merge pull request #4050 from sgiraudot/Surface_mesh-Fix_PLY_warning-GF
...
[Surface Mesh / PLY] Fix uninitialized warning and error on unhandled properties
2019-07-18 16:31:17 +02:00
Mael Rouxel-Labbé
f0b1052732
Add missing header includes
2019-07-18 15:54:32 +02:00
Maxime Gimeno
64253458aa
Fix warnings
2019-07-12 10:49:10 +02:00
Liangliang Nan
a9fd80cc7a
Update Stream_support/include/CGAL/IO/PLY.h
...
Replace <boost/property_map/property_map.hpp> by <CGAL/property_map.h>
Co-Authored-By: Sebastien Loriot <sloriot.ml@gmail.com>
2019-07-08 10:28:44 +02:00
Sébastien Loriot
983645a51a
match @{ and @}
2019-07-05 21:49:46 +02:00
Simon Giraudot
a712713111
Fix uninitialized warning
2019-07-03 09:58:37 +02:00
Liangliang Nan
655fa4b30d
Merge branch 'master' of https://github.com/CGAL/cgal
2019-06-25 14:23:17 +02:00
Laurent Rineau
33e7de45e9
Merge pull request #3919 from maxGimeno/Add_3mf_wrapper-GF
...
Stream_support: Add a 3mf wrapper
2019-06-20 14:21:11 +02:00
Laurent Rineau
8535a3c03c
Merge branch 'releases/CGAL-4.14-branch'
...
# Conflicts:
# Apollonius_graph_2/include/CGAL/Apollonius_graph_2/Apollonius_graph_2_impl.h
# Convex_hull_3/include/CGAL/convex_hull_3.h
# Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/Corefinement/face_graph_utils.h
# Polyhedron/demo/Polyhedron/Plugins/Mesh_3/Mesh_3_plugin_cgal_code.cpp
# Stream_support/include/CGAL/IO/Color.h
2019-06-20 14:20:37 +02:00
Liangliang Nan
4588ba5d9d
Merge branch 'master' of https://github.com/CGAL/cgal
2019-06-19 15:08:53 +02:00
Maxime Gimeno
86ca13a388
change behavior when soup is not orientable in the demo.
2019-06-17 14:11:32 +02:00
Laurent Rineau
be0d07d150
Merge pull request #3979 from afabri/CGAL-null_ptr-GF
...
Replace NULL and Nullptr_t with nullptr and nullptr_t
2019-06-17 14:10:35 +02:00
Maxime Gimeno
c5174f693c
Rename soup function
2019-06-17 14:07:27 +02:00
Maxime Gimeno
1970d94c53
Add a function to Surface_mesh that reads a range of surface_meshes from a 3mf file.
2019-06-17 14:03:55 +02:00
Maxime Gimeno
5c6f20e1ec
add a writing function for meshes
2019-06-06 13:04:47 +02:00
Liangliang Nan
d4b4640139
corrected references (using the new names of the packages)
2019-06-06 00:30:01 +02:00
Liangliang Nan
3b9c73c917
using the new Shape_detection implementation (instead of the deprecated Shape_detection_3)
2019-06-05 21:10:39 +02:00
Liangliang Nan
fadaee63a8
integrated PolyFit
2019-06-05 17:50:37 +02:00
Andreas Fabri
b17b655086
Add for
2019-06-05 07:33:37 +02:00
Andreas Fabri
e2d19b0c8d
Replace NULL and Nullptr_t with nullptr and nullptr_t
2019-06-04 23:45:44 +02:00
Andreas Fabri
4e1f2cf017
Replace BOOST_FOREACH with C++11 for
2019-06-04 17:13:53 +02:00
Maxime Gimeno
79008f1618
Fix warnings
2019-05-28 14:03:27 +02:00
Maxime Gimeno
a85b09051e
add missing includes in Color.h
2019-05-28 09:31:10 +02:00
Maxime Gimeno
c4d774efb8
Fix return values of bool functions
2019-05-22 15:20:54 +02:00
Maxime Gimeno
1a08685a2f
Add build_items and components to work with real case data
2019-05-17 15:39:03 +02:00
Maxime Gimeno
1fba61107d
Add an IO plugin for the 3mf
2019-05-16 11:26:22 +02:00
Maxime Gimeno
04c5313a1c
Add reading functions for polylines and point clouds
2019-05-16 11:10:35 +02:00
Maxime Gimeno
a36c7fe39b
Write a 3mf wrapper
2019-05-16 11:10:35 +02:00
Laurent Rineau
008a75d439
Merge pull request #3636 from sgiraudot/Surface_mesh-PLY_IO-GF
...
[Small Feature] Surface Mesh PLY IO
2019-05-06 15:46:07 +02:00
Laurent Rineau
ee4a6c5de2
Merge pull request #3686 from lrineau/Number_types-headers_dependency_hell-GF
...
Reduce inclusions of <CGAL/basic.h> and <CGAL/number_type_basic.h>
2019-05-06 15:46:02 +02:00
Simon Giraudot
207a432dfd
Merge remote-tracking branch 'mine/Surface_mesh-PLY_IO-GF' into Surface_mesh-PLY_IO-GF
2019-04-23 12:08:44 +02:00
Andreas Fabri
937cd0ea24
Fix license header
2019-04-15 13:15:01 +02:00
Andreas Fabri
864ba4249d
Merge branch 'Surface_mesh-PLY_IO-GF-old' into Surface_mesh-PLY_IO-GF
2019-04-12 16:19:53 +02:00
Maxime GIMENO
41033a80be
Merge branch 'master' into Graphics_view-Fix_demo_IO-GF
2019-04-12 16:10:36 +02:00
Sébastien Loriot
c8a3fdaff6
Merge pull request #3625 from sgiraudot/Stream_support-Enhance_color-GF
...
[Small Feature] Reworked CGAL::Color
2019-04-12 15:54:30 +02:00
Sebastien Loriot
08251247c2
Merge pull request #3831 from afabri/PSP-cleanup-GF
...
Point Set Processing: cleanup
2019-04-12 15:34:45 +02:00
Sebastien Loriot
fd273fe850
Merge pull request #3779 from afabri/Polyhedron-read_off-GF
...
Polyhedron: read_OFF() must not set the badbit if there are 0 vertices
2019-04-12 15:27:24 +02:00
Simon Giraudot
717137e48f
Merge remote-tracking branch 'mine/Surface_mesh-PLY_IO-GF' into Surface_mesh-PLY_IO-GF
2019-04-09 15:11:58 +02:00
Simon Giraudot
d314711eaf
Merge remote-tracking branch 'mine/Stream_support-Enhance_color-GF' into Stream_support-Enhance_color-GF
2019-04-09 15:00:56 +02:00
Andreas Fabri
a2075494da
Move trace.h
2019-04-08 16:16:49 +02:00
Andreas Fabri
b404898d67
Add operator==()
2019-04-03 11:51:30 +02:00
Simon Giraudot
8333df9a0a
Fix missing LaTeX delimitors
2019-04-03 11:51:30 +02:00
Simon Giraudot
c78aa4f72c
Remove now useless Color_impl.h file
2019-04-03 11:51:30 +02:00
Simon Giraudot
9a2953d825
Fix Color IO in binary + handle alpha
2019-04-03 11:51:29 +02:00
Simon Giraudot
4cd0e075d6
Fix missing bracket and add undocumented functions r,g,b,a
2019-04-03 11:51:29 +02:00
Simon Giraudot
e7492734f3
Move doc of CGAL::Color to header and rewrite class
2019-04-03 11:51:29 +02:00
Sébastien Loriot
82c13e6e74
remove cpp11 workaround in kernel related packages
2019-03-29 10:41:50 +01:00
Andreas Fabri
5d58bde7f2
Polyhedron: Fix Issue #3108
2019-03-19 17:39:04 +01:00
Maxime Gimeno
0b31e6e5d8
Merge remote-tracking branch 'cgal/master' into Graphics_view-Fix_demo_IO-GF
2019-03-07 14:01:02 +01:00
Simon Giraudot
110c84bc53
Fix missing class name
2019-02-26 14:14:51 +01:00
Simon Giraudot
1f54c5e0af
Merge remote-tracking branch 'mine/Surface_mesh-PLY_IO-GF' into Surface_mesh-PLY_IO-GF
2019-02-26 14:03:27 +01:00
Simon Giraudot
a825e5b699
Fix missing LaTeX delimitors
2019-02-26 13:50:53 +01:00
Simon Giraudot
fc16f50f22
Remove now useless Color_impl.h file
2019-02-26 13:50:52 +01:00
Simon Giraudot
4672c637bb
Fix Color IO in binary + handle alpha
2019-02-26 13:50:52 +01:00
Simon Giraudot
4555385ac1
Fix missing bracket and add undocumented functions r,g,b,a
2019-02-26 13:48:59 +01:00
Simon Giraudot
3fb713de13
Move doc of CGAL::Color to header and rewrite class
2019-02-26 13:48:59 +01:00
Simon Giraudot
07bd0765f2
Fix FT type detection
2019-02-22 16:42:40 +01:00
Laurent Rineau
2559b79405
Reduce inclusions of <CGAL/basic.h> and <CGAL/number_type_basic.h>
2019-02-14 17:40:09 +01:00
Laurent Rineau
fdd8357915
Merge pull request #3580 from afabri/Stream_support-Color-GF
...
Fix warnings (Add/remove copy constructors, and other warnings)
Co-authored-by: Laurent Rineau <laurent.rineau@cgal.org>
Co-authored-by: Mael <mael.rouxel.labbe@geometryfactory.com>
Co-authored-by: Maxime GIMENO <maxime.gimeno@gmail.com>
2019-02-13 15:25:07 +00:00
Simon Giraudot
eaa29b9116
Merge branch 'Stream_support-Enhance_color-GF' into Surface_mesh-PLY_IO-GF
2019-01-25 11:41:53 +01:00
Simon Giraudot
3e8810f181
Remove now useless Color_impl.h file
2019-01-24 15:51:53 +01:00
Simon Giraudot
2d7ed851a1
Fix Color IO in binary + handle alpha
2019-01-24 15:21:09 +01:00
Simon Giraudot
9672358b94
Fix missing bracket and add undocumented functions r,g,b,a
2019-01-24 14:46:22 +01:00
Simon Giraudot
b3baaf7e92
Move doc of CGAL::Color to header and rewrite class
2019-01-24 14:16:19 +01:00
Simon Giraudot
37a8f12f05
Handle more types
2019-01-24 10:58:57 +01:00
Simon Giraudot
011f919ce6
Fix color binary alignment when writing 3 chars
2019-01-24 10:58:34 +01:00
Simon Giraudot
6789ca1c41
Some more modifications of the PLY interface
2019-01-23 11:25:35 +01:00
Simon Giraudot
12dfbd6353
Reorganize PLY IO functions/files
2019-01-22 10:00:23 +01:00
Maxime Gimeno
e107612c31
Fix pre processor test
2019-01-10 08:54:49 +01:00
Maxime Gimeno
743569f854
Also disable WKT if gcc version is <4.5
2019-01-09 16:32:08 +01:00
Andreas Fabri
6183456090
Remove assignemnt instead of adding copy constructor
2019-01-07 09:48:55 +01:00
Andreas Fabri
d248e61e04
Add copy constructor in order to avoid warning
2019-01-07 08:03:57 +01:00
Maxime Gimeno
c6835292d8
Add include of license
2018-12-12 16:50:51 +01:00
Maxime Gimeno
7b13f4a969
Add misisng license header, rename vtu functions and update change.md
2018-11-23 10:11:23 +01:00
Maxime Gimeno
6e4ab58edc
Put write_vtk in Polyhedron_IO
2018-11-20 15:15:53 +01:00
Maxime Gimeno
5731515056
always include cgal types to keep the dependencies (for travis)
2018-11-08 10:29:39 +01:00
Maxime Gimeno
080f63b1b8
Disable WKT for boost < 1.56
2018-11-07 11:58:50 +01:00
Maxime Gimeno
76c8c1f69f
Add misisng header for boost 1.55
2018-11-06 11:43:37 +01:00
Maxime Gimeno
96bb50b361
Clean-up
2018-11-05 11:25:07 +01:00
Maxime Gimeno
cbf3e04fa6
Doc fix.
2018-10-30 14:15:01 +01:00
Maxime Gimeno
da4bb1f26a
Clean-up
2018-10-30 12:10:58 +01:00
Maxime Gimeno
ea2043a842
remove remaining geometry.hpp
2018-10-30 12:08:50 +01:00
Maxime Gimeno
49b88e533f
Move and split vtk_io.h to Mesh_2 and Mesh_3 to avoid license and dependencies problems. Also fix vtu writer of VTK_io_plugin for polygon meshes.
2018-10-03 11:15:37 +02:00
Maxime Gimeno
223fa687c2
Add function for CDT. and use it in Triangulation_2 demo. Missing Doc
2018-08-27 16:29:47 +02:00
Maxime Gimeno
06db5dafbc
WIP integrate functions.
2018-08-27 14:56:18 +02:00
Maxime Gimeno
27b7c318fb
- Remove TODOs,
...
- Only support Cartesian kernels
- replace boost included header
2018-07-17 13:55:12 +02:00
Maxime Gimeno
8f3724c011
Add a global reading function
2018-05-15 10:04:23 +02:00
Maxime Gimeno
17f0e880c3
Change doc and remove it from the header to stop mistaking with the one in doc/ when doing fixes.
2018-05-15 10:04:23 +02:00
Maxime Gimeno
32e02c01d6
fix doc
2018-05-15 10:04:23 +02:00
Maxime Gimeno
df980abff6
Add WKT IO to 2D demos and add saving to stream_lines_2_demo
...
Also adds traits for Point_3 to be able to interract with weighted points through them.
2018-05-15 10:04:23 +02:00
Maxime Gimeno
94809fccd9
Add some doc
2018-05-15 10:04:23 +02:00
Maxime Gimeno
3e4b437816
fix misisng include
2018-05-15 10:04:23 +02:00
Maxime Gimeno
14ef2163c4
Move everything to Stream_support
2018-05-15 10:04:23 +02:00
Laurent Rineau
78e7060525
Merge pull request #2712 from afabri/CGAL-VC+warnlevel_4-GF
...
Deal with VC++ warnings of level /W4
2018-02-19 14:27:06 +01:00
Andreas Fabri
abe933a684
Address the warning concerning SCL_SECURE for VC++
2018-02-09 15:00:14 +00:00
Andreas Fabri
cbf3a16471
libs compile without warning
2018-01-17 15:02:32 +00:00
Sébastien Loriot
0698f79aff
add SPDX identifier for files under the LGPL-3+ license
2017-11-12 10:17:50 +01:00
Simon Giraudot
8043d342e7
Merge branch 'Classification-GF-old' into Classification-GF
2017-07-21 12:06:19 +02:00
Andreas Fabri
7c62b14fd0
Let's remove the manipulators again, as they are of little practical value
2017-06-30 18:13:42 +02:00
Andreas Fabri
fbdec23155
inline functions
2017-06-30 18:13:42 +02:00
Andreas Fabri
bddd05aef4
fix compilation errors
2017-06-30 18:13:42 +02:00
Andreas Fabri
388a7678e6
Add an undocumented manipulator which allows operator<< to dispatch OFF, PLY, etc
2017-06-30 18:13:40 +02:00
Simon Giraudot
3ce8e9fc64
Merge branch 'Classification-GF-old' into Classification-GF
2017-03-13 07:51:54 +01:00
Andreas Fabri
e2fbd2d46d
Stream_support: No longer a need for replacement of istream >> double for VC++
2017-01-13 18:39:40 +01:00
Simon Giraudot
310d81864e
Merge branch 'Classification-GF-old' into Classification-GF
2016-11-23 08:55:57 +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
Simon Giraudot
85a5ef28dc
Merge branch 'Point_set_classification-GF-old' into Point_set_classification-GF
2016-07-05 13:49:33 +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
d18db3c527
Half the time of reading float and double for VC++
2016-04-18 16:25:09 +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
Laurent Rineau
52d230565c
Remove files added but not used
2012-04-18 13:43:24 +00:00
Andreas Fabri
9d86cb2ea9
Fix for Windows 'min/max' bug
2012-01-18 10:10:14 +00:00
Laurent Rineau
cabc943d53
Missing exports
2011-10-18 16:46:54 +00:00
Sébastien Loriot
91a5327fa8
change LGPLv2 -> LGPLv3
2011-10-10 13:48:25 +00:00
Andreas Fabri
cbfe32ce37
Add declspecs for Visual C++ so that we can build dlls
2011-10-05 19:12:23 +00:00
Sébastien Loriot
dff6dda8b3
Remove from copyright holder
...
Freie Universitaet Berlin (Germany), Martin-Luther-University Halle-Wittenberg
(Germany) and RISC Linz (Austria) as they transfer the copyright to other
sites.
2011-09-21 19:46:31 +00:00
Philipp Möller
34d6ac52ec
Replaced [U]Integer* with boost::[u]int*_t in Polyhedron, Polyhedron_IO and Stream_support
2011-06-10 14:51:30 +00:00
Sébastien Loriot
49d3fd8430
correct type y= by z=
2010-12-08 09:43:42 +00:00
Marc Glisse
4174a8cce7
make Ostream_iterator assignable, as befits an output iterator
2010-12-05 09:32:16 +00:00
Andreas Fabri
778420c709
Put std:: before numeric_limits
2010-11-18 10:07:05 +00:00
Andreas Fabri
4372c2f5b3
Initialize huge std::size_t properly and not with -1, which triggers a warning
2010-11-18 09:59:39 +00:00
Marc Glisse
5ac4b18901
Use consistent integer types to avoid warnings.
2010-10-29 13:37:32 +00:00
Laurent Rineau
375baeee10
The badbit is for I/O error, and failbit is for logic errors.
...
My reference; http://www.cplusplus.com/reference/iostream/ios/clear/
2010-06-28 10:58:52 +00:00
Laurent Rineau
a528e215dc
ios::fail() is a more general test than bad()
2010-06-28 10:57:58 +00:00
Andreas Fabri
6988668606
Error handling when passing from ptrdiff_t to size_t
2010-06-28 10:53:01 +00:00
Andreas Fabri
63b759a9fd
ptrdiff_t -> size_t
2010-06-28 10:51:05 +00:00
Andreas Fabri
124b252def
Use istream::bad()
2010-06-28 10:19:08 +00:00
Andreas Fabri
8dc7ff13fb
int -> size_t
2010-06-28 08:32:45 +00:00
Andreas Fabri
a83ca3c44e
int -> size_t
2010-06-25 07:35:33 +00:00
Andreas Fabri
83795f53ca
int -> size_t
2010-06-22 13:15:46 +00:00
Andreas Fabri
21c0ba670f
Binary OFF format is 32bit, so we have to cast size_t
2010-06-22 11:54:07 +00:00
Sébastien Loriot
52317dd49f
add python script (replace_CGAL_NAMESPACE.py) to replace CGAL_BEGIN_NAMESPACE and CGAL_END_NAMESPACE
...
by namespace CGAL { and } //namespace CGAL. in all .h and .cpp files
in a directory.
Apply it to all packages in the trunk
Remove macro definition from the config.h file.
2010-06-09 07:37:13 +00:00
Sylvain Pion
85dc12f2a7
Remove empty lines at beginning and end of files
...
(apply Scripts/developer_scripts/remove_empty_lines.pl).
2010-02-01 12:55:28 +00:00
Andreas Fabri
81cf2e0dde
output for polyhedral surfaces
2009-03-16 11:15:49 +00:00
Sylvain Pion
2bdfec6cc0
Removal of remaining protect macros : those protecting other CGAL include files.
...
Done using the script Scripts/developer_scripts/cgal_conditional_include_remove.
2007-01-24 18:00:30 +00:00
Sylvain Pion
fb8595b94e
Cleanup : remove ancient CGAL_PROTECT_* macros.
...
It's the compiler's job to optimize preprocessing time.
2007-01-24 17:16:05 +00:00
Sylvain Pion
2a17eac977
- Remove unused argument name to remove warning in NDEBUG mode.
...
- Remove protect macros.
2006-03-17 15:50:13 +00:00
Laurent Saboret
db6a8f948c
Change CVS keywords to SVN style
2006-02-16 14:30:13 +00:00
Laurent Saboret
1aad55d4cb
Change CVS keywords to SVN style
2006-02-14 10:08:15 +00:00
Laurent Saboret
0a531b828d
Move packages to trunk root
2006-02-14 08:58:19 +00:00