Commit Graph

159 Commits

Author SHA1 Message Date
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 2e2e94727e add operator for weighted point
required by ostream export
on the behalf of @afabri
2016-11-03 13:12:29 +01:00
Laurent Rineau 45e70a3304 Fix compilation errors with -DCGAL_TRIANGULATION_NO_ASSERTIONS 2016-11-03 13:10:27 +01:00
Laurent Rineau cd0335cda9 Fix warnings with CGAL_TRIANGULATION_NO_ASSERTIONS
Warnings about unused variables when `CGAL_TRIANGULATION_NO_ASSERTIONS`
is defined.
2016-10-07 14:33:44 +02:00
Andreas Fabri 9c6868a3a6 Fix package Periodic_3_Triangulation_3 2016-09-30 15:22:27 +02:00
Laurent Rineau e715dcaaa3 trivial typo 2016-09-14 16:02:13 +02:00
Sebastien Loriot ee093122bc Merge pull request #803 from afabri/Periodic_3-approx-GF
Periodic_3: Use static filters also for Epeck and make  it faster
2016-05-13 12:10:42 +02:00
Sébastien Loriot d6606ce607 add backward compatibility header 2016-05-13 12:05:54 +02:00
Andreas Fabri 2bae47aad9 More init_double 2016-04-15 20:42:12 +02:00
Andreas Fabri ad51e6fde3 resize the vector 2016-04-12 10:35:47 +02:00
Laurent Rineau 5dbc34f3a0 Follow-up to "Speed-up Triangulation_3::read_cells..."
Followup to:
> commit 535c5bb5b2
> Author: Laurent Rineau <laurent.rineau@cgal.org>
> Date:   Wed Apr 6 16:03:55 2016 +0200
>
>     Speed-up Triangulation_3::read_cells...
>
>     ... by a factor 5 for big triangulations! The old code was using:
>
>         std::map<size_t, Vertex_handle> V;
>         std::map<size_t, Cell_handle> C;
>
>     whereas the indices are contiguous: from 0 to n. `std::vector` is a lot
>     better for that use case!
2016-04-08 15:49:34 +02:00
Andreas Fabri 021f1b3151 Fix warning 2016-03-31 10:08:50 +02:00
Sébastien Loriot b960e41291 move non-user traits class files into internal 2016-03-08 14:38:40 +01:00
Sébastien Loriot 5762a02ffb remove deprecated traits class implementation 2016-03-08 14:21:47 +01:00
Sébastien Loriot 9c8cd5ad31 Make the boolean flag requirements optionals 2016-03-08 09:09:34 +01:00
Sébastien Loriot d00d06750d select traits using Has_filtered_predicates and Has_static_filters 2016-02-29 22:29:59 +01:00
Andreas Fabri ce406887f9 Use static filters also for Epeck and make it faster 2016-02-19 08:24:52 +01:00
Laurent Rineau 8c9b4975bc Fix a typedef 2015-08-18 18:46:51 +02:00
Laurent Rineau de7db3ca68 Merge pull request #111 from aympelle/Periodic_3_Delaunay_triangulation_traits_3-APelle
- Rename `Periodic_3_triangulation_traits_3` to `Periodic_3_Delaunay_triangulation_traits_3`.
- Rename the concept `Periodic_3TriangulationTraits_3` to `Periodic_3DelaunayTriangulationTraits_3`.
- Create `Periodic_3_triangulation_traits_3`.
- Create the concept `Periodic_3TriangulationTraits_3`.

https://cgal.geometryfactory.com/CGAL/Members/wiki/Features/Small_Features/rename_p3tt3_p3dtt3
2015-06-17 09:59:33 +02:00
Aymeric PELLE dab94dbcb5 Complete copyright years. 2015-06-10 14:11:47 +02:00
Aymeric PELLE 7be51168fd Fix copyright years. 2015-06-10 00:44:56 +02:00
Aymeric PELLE 72c30d6eef Add copyright info. 2015-06-09 18:44:15 +02:00
Aymeric PELLE 6e3e79977b Include P3TT3.h after declaring Filtered_periodic_predicate. 2015-06-08 17:30:30 +02:00
Aymeric PELLE 2abe69b7c0 Fix : add an include for removing an error on Windows. 2015-06-01 20:20:50 +02:00
Aymeric PELLE b4133b40ca P3DTT_base_3 inherites from P3TT_base_3 now.
Fix : P3TT_base_3 did have Delaunay functions.
CGAL_DEPRECATED is used on P3TT3.
2015-05-29 20:02:00 +02:00
Andreas Fabri 1631be5368 Merge branch 'Periodic_3-split_test_for_MSVC-GF'
Approved by the release manager
2015-01-15 12:40:36 +01:00
Andreas Fabri af09f13a81 do not test Lazy_exact_nt<Expr> 2015-01-12 12:28:07 +01:00
Aymeric PELLE f511291e38 Trivial warning fix : Fix Missing statement in P3T3::point(Cell_handle, int). 2015-01-12 11:56:38 +01:00
Andreas Fabri c42e1c8744 derecursify operator== 2015-01-09 16:15:35 +01:00
Aymeric PELLE 6d972f52ec Small changes in Periodic_3_Delaunay_triangulation_statically_filtered_traits_3.
Periodic_3_Delaunay_triangulation_statically_filtered_traits_3 inherits from
Periodic_3_triangulation_statically_filtered_traits_3 now.
2014-12-04 09:21:49 +01:00
Aymeric PELLE 5f1c440a2e Remove predicates unused by Periodic_3_triangulation_traits_3. 2014-12-03 19:10:32 +01:00
Aymeric PELLE 9519952035 Create Periodic_3_triangulation_traits_3.
Add class Periodic_3_triangulation_traits_3.
Add class Periodic_3_triangulation_filtered__traits_3.
Put Traits_with_offsets_adaptor in a separate header.
Put Periodic_3_construct_point_3 in a separate header.
Update tests.
2014-12-03 18:11:15 +01:00
Aymeric PELLE bc8853e6e5 Rename Periodic_3_triangulation_filtered_traits_3 Periodic_3_Delaunay_triangulation_filtered_traits_3.
The class Periodic_3_triangulation_filtered_traits_3 is renamed.
The class Periodic_3_triangulation_filtered_traits_base_3 is renamed.
New header file.
Periodic_3_triangulation_filtered_traits_base_3 is set deprecated.
2014-11-27 15:56:46 +01:00
Aymeric PELLE caa3164db5 Rename Periodic_3_triangulation_traits_3 Periodic_3_Delaunay_triangulation_traits_3.
Classes Periodic_3_triangulation_traits_3 and
Periodic_3_triangulation_traits_base_3 are renamed.
Tests, examples, ... are updated.
Doc is updated.
Periodic_3_triangulation_traits_3.h is set deprecated.
2014-11-26 18:23:21 +01:00
Aymeric PELLE 4910a198f2 periodic_inexact_locate stops also if the max num of turns is reached. 2014-04-15 15:11:07 +02:00
Aymeric PELLE 7259c76434 Fix warning : Some variables weren't unused in inexact_periodic_locate. 2014-04-09 17:01:49 +02:00
Aymeric PELLE c05c4c56f1 Fix bug in inexact_orientation.
We use construction_point() instead of doing a fail addition between
point and offset.
2014-04-07 10:11:36 +02:00
Aymeric PELLE acbeac0983 In p3T3, inexact_locate() is added. 2014-03-11 18:57:52 +01:00
Aymeric PELLE 2175dd4237 In P3T3, inexact_periodic_locate is done.
inexact_locate() have to be done now.
2014-03-11 18:46:06 +01:00
Aymeric PELLE bec402f3c3 The inexact_locate architecture is applied on periodic_locate function instead. 2014-03-11 17:24:37 +01:00
Aymeric PELLE bf2a73f220 Add inexact_locate() in P3T3. But, it does nothing for the moment. 2014-03-11 16:31:58 +01:00
Andreas Fabri 6c547e5663 Mainly added includes 2013-09-13 22:24:30 +02:00
Sébastien Loriot e3af5e6443 typo 2013-07-26 09:20:27 +02:00
Sébastien Loriot a59bc5edd5 Finish Philipp's patch on initializing arrays. 2013-07-25 07:53:57 +02:00
Nico Kruithof 0889773189 * Changed template parameter Predicate_ to Functor_ (for the traits classes of P2T2 and P3T3)
* Added side_of_bounded_circle to the predicates in the 2D traits classes
2013-07-15 13:06:45 +02:00
Sébastien Loriot 7baa997ce1 Merge branch 'Filtered_kernel-ring-glisse'
This branch adds an additional way to filter predicates that are only doing
operations using a ring number type. In case of failure, a RT is used rather
than an FT which speeds things up.

Successfully tested in CGAL-4.3Ic-37
2013-05-23 11:15:32 +02:00
Laurent Rineau d19578725b Fix warnings 2013-02-07 18:15:23 +01:00
Marc Glisse 571f370e28 Rename Exact_type_selector to Exact_field_selector. 2012-12-24 12:20:13 +01:00
Sébastien Loriot 0b4e9c67a4 inherits from Filtered_predicates rather than defining a completely new one
I just needed to added a constructor where the approximate predicates and exact
one needed to be provided (which is reasonable and cannot hurts thanks to the
explicit)
2012-12-21 11:09:39 +01:00
Philipp Möller 3e98c46535 Correct syntax for uniform initialization 2012-12-12 11:24:34 +01:00