Mael Rouxel-Labbé
80b98fafed
Update header guard after move
2020-01-17 17:13:38 +01:00
Mael Rouxel-Labbé
29251da753
Get rid of 'CGAL_ALPHA_SHAPE_3_H' checks in VRML Alpha shape output
2020-01-17 15:54:59 +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
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
Andreas Fabri
4581f1b7a8
Morte replacements
2019-06-05 08:39:55 +02:00
Sébastien Loriot
f62624c4f9
replace cpp11::tuple by std::tuple
2019-03-29 13:28:33 +01:00
Marc Glisse
45505a3c68
Copy relative_precision_of_to_double from Lazy_exact_nt to Lazy_alpha_nt_3.
2018-11-11 12:03:09 +01:00
Mael Rouxel-Labbé
7ea3a8044e
Merge branch 'Periodic_3_mesh_3-Feature-MBogdanov-old' into Periodic_3_mesh_3-Feature-MBogdanov
2018-06-05 14:39:18 +02:00
Andreas Fabri
887766a0e1
Postfix class names with _2 and _3 as they are different
2018-05-09 09:54:57 +01:00
Mael Rouxel-Labbé
a0427ec756
Fixed abusing Triangulation_cell_base_3 for Delaunay triangulations
...
TriangulationCellBase_3 does not request a circumcenter;
DelaunayTriangulationCellBase_3 does.
Delaunay_triangulation_3 only compiled because
Triangulation_cell_base_3 (and Triangulation_ds_cell_base_3 !)
provided circumcenter() operators and DT3 inherited T3's TDS.
- The circumcenter() functions are removed where they shouldn't exist
- DT3 uses DT_cell_base_3 as cell base instead of T_cell_base_3
- Concepts/Classes that supposedly only required TriangulationCellBase_3
and then built Delaunay triangulations with that (Alpha Shapes, etc.)
are upgraded to request DelaunayTriangulationCellBase_3 (anyway, it
wouldn't compile if you actually provided a model of
TriangulationCellBase_3)
- Fixed various wrong templates in classes/concepts such as
MeshVertexBase_3 not refining RegularTriangulationVertexBase_3
and (only in the doc) defaulting to Triangulation_vertex_base_3
- Removed the deprecated class (for 4+ years) T_cell_base_with_circumcenter
2018-04-26 13:21:53 +02:00
Mael Rouxel-Labbé
ba3a59ed5a
Merge branch 'Periodic_3_mesh_3-Feature-MBogdanov-old' into Periodic_3_mesh_3-Feature-MBogdanov
2017-11-30 15:54:00 +01:00
Mael Rouxel-Labbé
91ba96c71b
Fixed typo
2017-11-19 01:43:23 +01:00
Sébastien Loriot
8cdfad0d08
add missing URL and Id tags
2017-11-15 22:58:57 +01:00
Sébastien Loriot
ee57fc2d6c
add SPDX identifier for files under the GPL-3+ license
2017-11-12 10:17:51 +01:00
Mael Rouxel-Labbé
d0318957f2
Fixed a bunch of Alpha shape 3-related headers
2017-08-23 17:16:07 +02:00
Mael Rouxel-Labbé
3640902c6f
Misc minor changes
2017-08-23 17:15:44 +02:00
Mael Rouxel-Labbé
dba83ba5bf
Fixed a few Alpha Shapes 2 headers
2017-08-23 16:40:55 +02:00
Mael Rouxel-Labbé
406f41af78
Added CGAL_DEBUG macro
2017-08-23 16:31:17 +02:00
Mael Rouxel-Labbé
63d293765f
Added an assertion to forbid using ExactComparisonTag with periodic triangulations
...
When we set the exact comparison tag to true, we use a lazy evaluation
of predicates and store pointers to the arguments of the predicates (that is,
pointer to points). However, the points are -- in the case of periodic --
only temporary objects and it is thus dangerous to take pointers to those
temporary values because the pointers quickly become invalid.
Thus, periodic triangulations are not allowed to use the exact tag.
A possible way to make it work is to define a small class:
Periodic_triangulation_with_stored_real_points that would inherit the base
(periodic) triangulation but store all the points of its simplices.
Then, the function point(face_handle, int) would return an entry of that
container, of which it would be safe to take a pointer.
2017-08-23 16:19:32 +02:00
Mael Rouxel-Labbé
72908fc076
Readability changes in Alpha_Shapes_3
2017-08-23 11:04:21 +02:00
Mael Rouxel-Labbé
4a9ac3cd0c
Fixed 3D Alpha Shapes's Geomview output to work with all triangulations
2017-07-31 14:37:56 +02:00
Mael Rouxel-Labbé
e57e138e98
Formatting change
2017-07-31 14:37:56 +02:00
Mael Rouxel-Labbé
a1c57031ba
P3RT3 can now be used with Alpha Shapes 3
2017-07-31 12:52:22 +02:00
Mael Rouxel-Labbé
68d3a3eabf
Modified the way weird point types are handled when ExactAlphaComparisonTag=true
...
Instead of requiring an implicit conversion, we require that Cartesian_converter
can convert from Traits::Point_23 to Exact_kernel::Point_23
Also it will not compile (static_assert) if this functor is not provided instead
of silently defaulting to ExactAlphaComparisingTag = false
2017-06-28 10:16:23 +02:00
Mael Rouxel-Labbé
11786a7b90
Fixed minor mistakes from a rebase
2017-06-28 10:16:23 +02:00
Mael Rouxel-Labbé
1b3a608b30
Fixed not getting Alpha shapes 2 predicates and constructions from Lazy alpha NT
2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé
cdb447a22f
Use Kernel_traits<Traits::Pt> to deduce the kernel rather than Traits::Kernel
2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé
4e4f1ed4c0
Avoided a default traits construction
2017-06-28 10:14:35 +02:00
Mael Rouxel-Labbé
871cce116e
Removed Regular_triangulation_euclidean_traits_3 usage in Lazy_alpha_nt_3
...
Regular_triangulation_euclidean_traits are deprecated (and do not do anything).
2017-06-28 10:14:35 +02:00
Mael Rouxel-Labbé
3e25674957
Weighted alpha shape traits are not based on RT_euclidean_traits anymore
...
Similarly to Regular_triangulation_euclidean_traits, the Kernel concept has now
absorbed all the functors that are needed by the alpha shape traits concept and
the weighted alpha shape traits can thus simply be empty shells.
2017-06-28 10:14:35 +02:00
Mael Rouxel-Labbé
7a7ac15f42
Fixed weighted Alpha_shapes_3 TDS construction
...
When weighted, Alpha_cell_base_3 must use Regular_triangulation_cell_base_3
as base
2017-06-28 10:14:35 +02:00
Mael Rouxel-Labbé
9cd0f31d71
Temporarily silenced weighted alpha shape traits depreciation warnings
2017-05-16 10:28:09 +02:00
Mael Rouxel-Labbé
cd2a562ffa
Fixed improper guards against the inclusion of deprecated headers
2017-05-16 10:17:41 +02: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
Laurent Rineau
bbf430b0b1
Merge pull request #585 from afabri/Kernel-Weighted_point-GF
...
Introduce Kernel::Weighted_point_3 together with functors
2016-12-20 19:52:02 +01:00
Sébastien Loriot
632d1f368d
initialize pointers
2016-11-29 11:57:32 +01:00
Sébastien Loriot
4c5270752b
rename template parameter
2016-11-29 11:52:52 +01:00
Sébastien Loriot
c8117a76f4
replace static_vector by a small struct
2016-11-24 15:42:47 +01:00
Sébastien Loriot
810fbd323f
Use a static_vector instead of a shared_ptr<vector>
2016-11-24 11:50:42 +01:00
Sébastien Loriot
10dd2175ac
remove non-needed unsigned
2016-11-24 11:37:08 +01:00
Sébastien Loriot
bc85850104
use an optional for exact_nt
2016-11-24 09:51:04 +01:00
Sébastien Loriot
a46dfa29d0
avoid throwing an assertion
2016-11-24 09:45:45 +01:00
Sébastien Loriot
cf71b05937
add an overload of CGAL::to_double for Lazy_alpha_nt_3
2016-11-24 09:41:41 +01:00
Andreas Fabri
e5e0cdd5f9
fix a typedef
2016-11-22 17:48:53 +01:00
Andreas Fabri
ecf44b08d7
Take the Point type from the underlying vertex type
2016-11-22 16:09:08 +01:00
Andreas Fabri
9f96b59bb9
Take the type Point from the underlyinng triangulation
2016-11-22 16:08:19 +01:00
Andreas Fabri
e5219a1725
Take the type Point from the underlyinng triangulation
2016-11-22 16:07:51 +01:00
Andreas Fabri
d35c6c913d
Use Weighted_point_mapper_3
2016-11-21 15:33:27 +01:00