Mael Rouxel-Labbé
42f7671a5b
Add missing polyhedron OFF reading header
2020-01-29 11:09:55 +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é
135595ca92
Misc cleaning
2020-01-24 23:17:33 +01:00
Mael Rouxel-Labbé
260b28c461
Clean code (no real changes)
2020-01-24 21:38:14 +01:00
Mael Rouxel-Labbé
4d13f2800e
Remove undocumented, unused, deprecated functions (with replacements)
2020-01-24 19:26:24 +01:00
Mael Rouxel-Labbé
a59f148181
Use human-readable indentation (no real changes)
2020-01-24 18:36:25 +01:00
Mael Rouxel-Labbé
1f7cef9a31
Remove unused, undocumented, deprecated since 2002 OFF functions
2020-01-24 18:33:28 +01:00
Mael Rouxel-Labbé
fa6fa8bb79
Put some const& around named parameters
2020-01-24 18:33:10 +01:00
Mael Rouxel-Labbé
828e47f61e
Fix some header includes
2020-01-17 17:55:53 +01:00
Mael Rouxel-Labbé
d620198049
Merge branch 'CGAL_IO-maxGimeno-old' into CGAL_IO-maxGimeno
2020-01-17 12:34:08 +01:00
Guillaume Damiand
9a50c0f830
Merge branch 'master' into Surface_mesh_topology-gdamiand
2019-11-26 13:22:03 +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
254d60f642
First pass on removing license notice in header for GPL files
2019-10-19 15:23:19 +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
Guillaume Damiand
0707d80d63
Update basic viewer to avoid conflict with another external function.
2019-10-15 11:16:02 +02:00
Maxime Gimeno
137b0c076f
Add a test for GOCAD IO
2019-08-08 09:53:42 +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
Guillaume Damiand
7cd85f845b
Merge branch 'master' into Surface_mesh_topology-gdamiand
2019-07-10 15:32:21 +02:00
Guillaume Damiand
56abe3c367
Merge branch 'master' into Surface_mesh_topology-gdamiand
2019-06-28 13:28:50 +02:00
Guillaume Damiand
67307dcead
Merge master to remove conflicts; plus rephrase draw documentation following Sebastien comments.
2019-06-19 15:48:10 +02:00
Andreas Fabri
e2d19b0c8d
Replace NULL and Nullptr_t with nullptr and nullptr_t
2019-06-04 23:45:44 +02:00
Mael Rouxel-Labbé
2848158354
Fix typos
2019-05-20 08:54:04 +02:00
Sébastien Loriot
d60f5645aa
replace BOOST_FOREACH by c++ ranged-based for loop
...
some of the command used for the replacement:
ack --cpp BOOST_FOREACH -l | xargs sed -i -E "s/BOOST_FOREACH\(([a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack --cpp BOOST_FOREACH -l | xargs sed -i -E "s/BOOST_FOREACH\((const [a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack --cpp BOOST_FOREACH -l | xargs sed -i -E "s/BOOST_FOREACH\((const typename [a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack --cpp BOOST_FOREACH -l | xargs sed -i -E "s/BOOST_FOREACH\((typename [<>a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack "boost/foreach.hpp" -l --cpp | xargs sed -i '/boost\/foreach.hpp>/d'
2019-03-29 13:22:15 +01:00
Guillaume Damiand
379c90420b
Merge branch 'CMap-path_isotopy-gdamiand-old' into CMap-path_isotopy-gdamiand
2019-03-27 12:40:33 +01:00
Guillaume Damiand
14e32aba01
Merge branch 'CMap-path_isotopy-gdamiand-old' into CMap-path_isotopy-gdamiand
2018-12-14 10:01:38 +01:00
Andreas Fabri
5b62f06871
Fix merge conflicts
2018-11-12 13:02:52 +01:00
Guillaume Damiand
ae5b6e00ad
Bug fix in basic viewers when using EPEK.
...
For polyhedron, surface mesh and LCC viewers, we compute face and vertex normals in the basic viewers. These normals should be computed in a Vector_3 of a non exact kernel.
2018-10-15 14:58:52 +02:00
Guillaume Damiand
ade06be0f0
Comment a test to simplify debugging.
2018-09-18 16:57:17 +02:00
Guillaume Damiand
ddd7f8fa3b
Add an option to disable viewer when running ctest.
2018-09-07 13:29:38 +02:00
Guillaume Damiand
2c8af2ebcc
Update all draw_XXX functions to use specialized version, allowing to use different draw in a same program.
2018-09-06 18:43:32 +02:00
Maxime Gimeno
8d0a67095f
Merge branch 'master' into IntrinsicFaceGraph-V2
2018-08-01 15:40:36 +02:00
Sébastien Loriot
a69b9e138c
handle ambiguous overloads
2018-07-18 09:12:46 +02:00
Guillaume Damiand
bc4eca82b3
Need double cast
2018-06-13 10:47:44 +02:00
Guillaume Damiand
f6fd8cae4c
Remove a warning; when using test suite, compile all the code but run nothing.
2018-06-13 09:14:18 +02:00
Guillaume Damiand
59f797f066
Update the 5 basic viewers to remove factorized functions, and to define different versions in order to remove default template parameters.
2018-06-11 13:09:50 +02:00
Maxime Gimeno
fdeb5621ca
replace cast in unsigned long int to std::size_t to fix warnings.
2018-06-07 13:55:22 +02:00
Maxime Gimeno
10c277ea2d
Use special args if running testsuite to avoid execution errors.
2018-06-07 13:35:28 +02:00
Maxime Gimeno
fd15c8e040
Fix Polyhedron example
2018-05-29 11:57:13 +02:00
Andreas Fabri
4b14990209
Fix warnings; Remove typename in non-template code
2018-05-29 11:11:50 +02:00
Guillaume Damiand
b2c0a3f740
Remove a &=
2018-05-29 11:11:50 +02:00
Guillaume Damiand
cc5a0f6150
Remove a *=
2018-05-29 11:11:49 +02:00
Guillaume Damiand
c62fb2b01e
Move include iostream.
2018-05-29 11:11:49 +02:00
Guillaume Damiand
b361e78a99
Add missing include
2018-05-29 11:11:49 +02:00
Guillaume Damiand
39de8ac459
Add licence includes
2018-05-29 11:11:49 +02:00
Guillaume Damiand
d8a62aa2c8
Update licence headers of new files.
2018-05-29 11:11:49 +02:00
Guillaume Damiand
dba44f48a1
Harmonize the 5 basic viewers.
2018-05-29 11:11:49 +02:00
Guillaume Damiand
53769e98a7
* Add draw examples in the 5 concerned packages (Polyhedron, Surface_mesh, T2, T3, LCC)
...
* Update FindQGLViewel to add a target.
2018-05-29 11:11:49 +02:00
Guillaume Damiand
6e83b034dc
Rename file for basic viewers.
2018-05-29 11:06:07 +02:00
Guillaume Damiand
73905ce8dd
Avoid to run the viewer for the CGAL test suite.
2018-05-29 11:06:07 +02:00
Guillaume Damiand
5d375eff74
Update all basic viewers to have the correct behavior when CGAL_USE_BASIC_VIEWER is not defined.
2018-05-29 11:06:07 +02:00
Guillaume Damiand
5e5a9611db
Protect the code of the basic viewers; rename display into draw; add a draw function that display an error message if the basic viewer is not defined.
2018-05-29 11:04:57 +02:00
Guillaume Damiand
a59c5f6398
Update all basic viewers to allow to have a color functor as parameter.
2018-05-29 11:04:57 +02:00
Guillaume Damiand
d881a203e2
Update LCC, Polyhedron and Surface mesh viewers to follow last modification of basic viewer.
2018-05-29 11:02:00 +02:00
Guillaume Damiand
f70c6fed86
Update basic viewer to: (1) use a generic class that can maybe be used also in demos; (2) use same name to add mono/colored objects.
2018-05-29 11:02:00 +02:00
Guillaume Damiand
8870e304a3
Update basic viewer; now it works for LCC, Polyhedron and Surface_mesh.
2018-05-29 11:01:59 +02:00
Guillaume Damiand
0e6eded6b7
Update basic viewer.
2018-05-29 11:01:59 +02:00
Guillaume Damiand
b7f5c709f0
rename filename for polyhedron viewer
2018-05-29 11:01:59 +02:00
Maxime Gimeno
132cf694a0
remove is_valid() from the graph_traits
2018-05-03 12:03:14 +02:00
Andreas Fabri
76ccc9ab6f
Convex_hull_3: Remove dependency on package Polyhedron
2018-03-28 14:59:22 +01:00
Laurent Rineau
237735ab73
Merge pull request #2946 from afabri/CGAL-dependencies-GF
...
Move properties from Mesh_3 to BGL, Polyhedron_3 and Surface_mesh
2018-03-27 10:35:23 +02:00
Andreas Fabri
b918ab4ba7
Move internal class from Polyhedron to BGL
2018-03-24 11:41:30 +01:00
Andreas Fabri
598fd59ea1
fix Polyhedron demo
2018-03-22 18:01:50 +01:00
Andreas Fabri
8c41669fb7
move properties from Mesh_3 to BGL, Polyhedron_3 and Surface_mesh
2018-03-22 16:37:37 +01: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
Laurent Rineau
9d227d0fba
Merge pull request #2758 from maxGimeno/BGL-Document_graph_has_property-GF
...
BGL: Document graph_has_property
2018-02-19 14:26:33 +01:00
Maxime Gimeno
7fa4b380d2
fixes in includes logic.
2018-02-02 12:08:05 +01:00
Maxime Gimeno
c3215b9331
Move graph_has_property from namespace boost to namespace CGAL and provide some doc for it.
2018-01-22 12:43:29 +01:00
Andreas Fabri
22bd2815a3
Polyhedron
2018-01-17 17:13:53 +00:00
Andreas Fabri
de166d8be7
Fix testsuite
2017-11-29 10:51:06 +00:00
Sébastien Loriot
ff26773f7b
remove include directive for checking GPL compliance in LGPL headers
2017-11-12 10:21:35 +01:00
Sébastien Loriot
ee57fc2d6c
add SPDX identifier for files under the GPL-3+ license
2017-11-12 10:17:51 +01:00
Sébastien Loriot
0698f79aff
add SPDX identifier for files under the LGPL-3+ license
2017-11-12 10:17:50 +01:00
Laurent Rineau
f8760d591b
Merge pull request #2136 from afabri/Polygon_mesh_processing-accelerate_isotropic_remeshing-GF
...
Polygon_mesh_processing: Accelerate Isotropic_remeshing
2017-07-21 10:45:32 +02:00
Laurent Rineau
89acad2d14
Merge pull request #2101 from afabri/BGL-read_write_off-GF
...
BGL: Add generic functions read_off() and write_off()
2017-07-17 12:45:07 +02:00
Andreas Fabri
70b13af39c
Do not pollute the boost namespace
2017-07-12 12:11:34 +02:00
Andreas Fabri
3ff34b4b23
cleanup
2017-07-11 20:32:23 +02:00
Andreas Fabri
886bd840cf
Make the dynamic property map an implementation detail
2017-07-11 20:32:23 +02:00
Andreas Fabri
c35a018135
Move add and remove of property maps in namespace internal (realizing that it is wrong to claim that it works for any FaceGraph
2017-07-11 20:31:34 +02:00
Andreas Fabri
1a91e52275
Remove unused parameter
2017-07-11 20:31:34 +02:00
Laurent Rineau
a4a30648f7
Fix warnings
2017-07-11 20:31:34 +02:00
Jane Tournois
20c8e9a321
rename default to default_value
...
default is a c++ keyword
2017-07-11 20:31:33 +02:00
Jane Tournois
67cd206f20
Dynamic_polyhedron_property_map needs a default constructor,
...
and we specify remove() to avoid ambiguities
2017-07-11 20:31:33 +02:00
Andreas Fabri
be45f81fc8
Add support for halfedges
2017-07-11 20:31:27 +02:00
Andreas Fabri
2f082f844b
Add the same for edges and faces
2017-07-11 20:31:27 +02:00
Andreas Fabri
5e5a3d9e97
Add generic property map for Polyhedron_3
2017-07-11 20:31:27 +02:00
Andreas Fabri
94d05c2af7
Make polyhedron_stitching_plugin work for Surface_mesh
2017-07-10 16:03:05 +02:00
Andreas Fabri
3e3c33bcf0
Add generic functions read_off() and write_off()
2017-06-30 18:12:13 +02:00
Andreas Fabri
d6816a7368
Move Mesh_3 specific properties to Mesh_3
2017-05-31 16:08:26 +02:00
Andreas Fabri
b5b69f48a5
Capitalize Static_property_map and add a comment that it is different from boost::static_property_map
2017-05-29 13:24:09 +02:00
Maxime Gimeno
95960c3b58
Fix after rebase
2017-05-29 13:24:08 +02:00
Laurent Rineau
2c2ad9ff6d
Move properties from <CGAL/Mesh_polyhedron_3.h>...
...
... to `<CGAL/boost/graph/PMP_properties_Polyhedron_3.h>`.
2017-05-29 13:24:06 +02:00
Maxime Gimeno
8b9eae7f44
Fix rebase
2017-05-29 13:22:35 +02:00
Laurent Rineau
d50e391577
Move properties from <CGAL/Mesh_polyhedron_3.h>...
...
...to `<CGAL/boost/graph/PMP_properties_Polyhedron_3.h>`.
Conflicts:
Mesh_3/include/CGAL/Mesh_polyhedron_3.h
2017-05-29 13:20:41 +02:00
Laurent Rineau
13e420732c
Merge pull request #1840 from afabri/BGL-reserve-GF
...
BGL: Add helper function reserve(G,nv,ne,nf)
2017-02-08 17:32:22 +01:00
Sébastien Loriot
50510c05ea
add include directive for license of all GPL header files
...
done using:
ack-grep "^GPL" */package_info/*/license.txt -l | awk -F "/" '{print $1}' > /tmp/gpl_packages
for i in `cat /tmp/gpl_packages | \
grep -v Operations_on_polyhedra | \
grep -v Algebraic_kernel_for_circles | \
grep -v Algebraic_kernel_for_spheres | \
grep -v Polyhedron_IO`;
do
echo $i
python Scripts/developer_scripts/add_license_in_pkg_header.py $i
done
python Scripts/developer_scripts/add_license_in_pkg_header.py Operations_on_polyhedra Polygon_mesh_processing
python Scripts/developer_scripts/add_license_in_pkg_header.py Algebraic_kernel_for_circles Circular_kernel_2
python Scripts/developer_scripts/add_license_in_pkg_header.py Algebraic_kernel_for_spheres Circular_kernel_3
python Scripts/developer_scripts/add_license_in_pkg_header.py Polyhedron_IO Polyhedron
2017-01-19 15:20:25 +01:00
Sébastien Loriot
6926578b15
add reserve to MutableFaceGraph
2017-01-18 18:19:25 +01:00
Sébastien Loriot
9ae7b37845
Merge pull request #1745 from sloriot/Polyhedra_corefinement-enhancements-sloriot
...
Add corefinement operations in PMP
2017-01-12 12:05:18 +01:00
Sébastien Loriot
e3fec8035d
put_get_helper expect pmap::reference as first template parameter
2017-01-11 15:32:26 +01:00
Sébastien Loriot
c9bbc4e8d1
make polyhedron external index maps mutable lvalue
2017-01-10 15:05:16 +01:00