Commit Graph

301 Commits

Author SHA1 Message Date
Mael Rouxel-Labbé 2848158354 Fix typos 2019-05-20 08:54:04 +02:00
Sébastien Loriot 124012d9f9 replace cpp11::array by std::array 2019-03-29 13:28:33 +01:00
Sébastien Loriot f62624c4f9 replace cpp11::tuple by std::tuple 2019-03-29 13:28:33 +01:00
Sébastien Loriot 2ce16d14b5 remove workaround code for cpp11 in triangulation packages 2019-03-29 10:41:50 +01:00
Sebastien Loriot 21d53cd984
Merge pull request #3172 from sloriot/Triangulation-fix_IO
Fix vertex istream operator
2018-11-12 09:58:14 +01:00
Sébastien Loriot e91acb5520 correctly fix the warning 2018-11-09 09:03:52 +01:00
Sébastien Loriot 2e2ddb7880 fix conversion warning 2018-11-08 15:42:38 +01:00
Maxime Gimeno a7a998cbda add binary management to Point_d, Weighted Point_d and Vector_d and test 2018-10-11 15:06:58 +02:00
Maxime Gimeno dfd5d383fc WIP 2018-10-05 17:01:13 +02:00
Sébastien Loriot 8282e7f0ba move eol to the triangulation operator 2018-10-04 15:52:55 +02:00
Sébastien Loriot 3ed89cbbab reuse the first full cell in case it already exist.
when a triangulation is cleared, a full cell is always
created when adding the infinite vertex
2018-10-04 15:16:40 +02:00
Sébastien Loriot 4ed546edce add line break after each vertex 2018-10-04 15:06:13 +02:00
Marc Glisse 0bf71d0aa1 I/O for Vector_d and Weighted_point_d 2018-10-04 13:50:35 +02:00
Marc Glisse f64ae1b240 Move is>>point_d from Triangulation to NewKernel_d. 2018-10-04 13:50:34 +02:00
Mael Rouxel-Labbé d88f69a02a Fixed compilation of Triangulation::finite_facets_begin()/end() 2018-08-08 11:51:31 +02:00
Sébastien Loriot d66081a122 fix vertex istream operator 2018-06-15 09:39:55 +02:00
Sébastien Loriot 483f69728e Refresh branch 2018-02-12 22:21:38 +01:00
Simon Giraudot 6269309d86 Use CGAL include for boost counting/transform iterators everywhere 2018-01-23 11:09:52 +01:00
Andreas Fabri 257b180351 Triangulation 2018-01-18 13:56:10 +00:00
Andreas Fabri f972c6da7a Nef 2018-01-18 10:46:12 +00:00
Laurent Rineau 42b11ddf29 Revert the merge of PR #2478
This reverts the merge commit 46cc91e787 onto
488c3e2879.
2018-01-04 17:54:08 +01:00
Sébastien Loriot 8cdfad0d08 add missing URL and Id tags 2017-11-15 22:58:57 +01: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 46cc91e787 Merge pull request #2478 from mtola/master
fix bug -> 2x 2 missing "inline" to prevent duplicate symbols during …
2017-10-13 17:06:22 +02:00
Laurent Rineau 00d444e84c Merge pull request #2462 from sloriot/CGAL-fix_warnings_g++7
Fix some warnings
2017-10-13 16:54:52 +02:00
Sébastien Loriot c3e7ade8b4 fix warnings 2017-09-25 09:09:54 +02:00
Mael Rouxel-Labbé aaeaf35380 Introduced the tag "Periodic_tag" to mark distinguish periodic triangulations 2017-08-23 16:18:05 +02:00
Clement Jamin c7bd6a7403 Include licence check header 2017-06-23 10:41:05 +02:00
Clement Jamin 3539f899a0 Unused header 2017-06-21 10:25:28 +02:00
Clement Jamin 9b46105579 Get rid of Bare_point_d in the adapter and in Regular_triangulation 2017-06-20 12:41:22 +02:00
Clement Jamin 08835f5195 This was commited by error 2017-06-20 11:30:17 +02:00
Clement Jamin a8d785e771 Fix errors & warnings from testsuite 2017-06-20 11:19:43 +02:00
Clement Jamin f1971bf9ba Fix errors & warnings from testsuite 2017-06-19 15:04:14 +02:00
Clement Jamin fb84e3d8a6 Fix min/max compilation 2017-06-19 14:02:20 +02:00
Clement Jamin 5b9562ea84 Merge branch 'Triangulation-add_regular_tri-cjamin_mglisse-old' into Triangulation-add_regular_tri-cjamin_mglisse 2017-06-16 11:09:07 +02:00
Andreas Fabri 8cbbe0e165 Remove dependencies of Triangulation_3 on Triangulation_2 2017-04-06 11:08:37 +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
Jane Tournois 0f569a8fd6 introduce Has_nested_type_Bare_point to keep backward compatible
it is needed when Regular_triangulation_euclidean_traits is used the first
template parameter for Regular_triangulation (both 2d and 3d)
2016-11-03 14:57:10 +01:00
Sébastien Loriot 2041104ade remove non used files
Both header files removed are more or less empty.
Regular_triangulation in dD is on its way in another package.
2016-10-06 09:53:32 +02:00
Andreas Fabri 8bffd68e84 Package Triangulation: Add an #include 2016-09-30 15:22:26 +02:00
Clement Jamin 3704a59422 Fix warning (unused types and variables) 2016-09-28 18:13:20 +02:00
Clement Jamin e4e781e044 Point_drop_weight_d => Construct_point_d 2016-09-22 17:53:27 +02:00
Marc Glisse 8aa0ede187 Point_weight_d -> Compute_weight_d 2016-09-21 19:38:42 +02:00
Marc Glisse 9f061d8ff9 Unused local typedefs. 2016-09-21 19:28:33 +02:00
Clement Jamin 49fda9d7e6 This file should never have been commited 2016-09-21 15:33:37 +02:00
Clement Jamin e79d8f461e Don't write std::endl in binary mode 2016-09-08 17:08:56 +02:00
Clement Jamin d3c838e4cd Remove more const & other minor fixes 2016-09-08 16:15:38 +02:00
Clement Jamin 867e6d1158 Remove useless const 2016-09-08 15:52:38 +02:00
Clement Jamin ef03b187c3 Undocumented 2 functions 2016-09-07 16:28:21 +02:00
Clement Jamin c709bd54f0 Regular_triangulation_euclidean_traits => Regular_triangulation_traits_adapter 2016-09-07 15:51:12 +02:00
Clement Jamin ded46066c1 Fix identation 2016-09-06 15:23:28 +02:00
Clement Jamin 7ce61ee678 operator>> for Vector_d 2016-06-01 14:50:31 +02:00
Clement Jamin ec16393b39 Fix Linux compilation error 2016-06-01 14:42:17 +02:00
Mael Rouxel-Labbé d984aca010 Fix trailing whitespace 2016-06-01 14:34:42 +02:00
Clement Jamin 993bef7774 Add a comment to explain how Regular_triangulation_euclidean_traits works
+ remove misleading template parameter list in the doc
2016-05-27 11:10:29 +02:00
Clement Jamin 890b4ef0aa Doc fixes + make the use of Regular_triangulation_euclidean_traits automatic
Partially reverts commit ab30798119
2016-05-27 10:58:48 +02:00
Clement Jamin 5b0f8e15be Document number_of_hidden_vertices + clarify user manual 2016-05-25 18:26:37 +02:00
Clement Jamin 81e2e215fa Monique's review, incl. renaming of power_test
+ better handling of the insertion of points at the same position (incl. test)
2016-05-20 18:00:16 +02:00
Clement Jamin 5ddfba30fd Remove useless and undocumented "circumcenter()" member function 2016-05-20 15:10:00 +02:00
Clement Jamin 9487c71ad1 Merge branch 'Triangulation-add_regular_tri-cjamin_mglisse-old' into Triangulation-add_regular_tri-cjamin_mglisse 2016-05-18 19:41:22 +02:00
Clement Jamin ab30798119 Make the use of Regular_triangulation_euclidean_traits explicit 2016-05-18 17:27:30 +02:00
Andreas Fabri ab9c7cf51f Replace static with CGAL_STATIC_THREAD_LOCAL_VARIABLE 2016-04-07 16:35:43 +02:00
Andreas Fabri b9dafe6745 apply the fix proposed in Issue #557 2015-12-17 11:02:35 +01:00
Clement Jamin 1ff70ff716 Fix doc 2015-12-09 11:13:50 +01:00
Clement Jamin f07e7181b5 Useless line 2015-12-09 10:26:33 +01:00
Clement Jamin a884ff3a1d Optimization 2015-12-08 17:34:44 +01:00
Clement Jamin 232efb9823 Hide Regular_triangulation_euclidean_traits from the doc and use it internally
The user can now pass Epick_d directly to Regular_triangulation.
Regular_triangulation_euclidean_traits is used internally to adapt the
functors.
2015-10-27 17:27:46 +01:00
Clement Jamin 2b689787fe Regular_triangulation_euclidean_traits now satisfies SpatialSortingTraits_d 2015-10-27 16:36:30 +01:00
Clement Jamin 077e9c43eb Add missing new_vertex() function 2015-10-21 11:15:42 +02:00
Clement Jamin 409b2773d4 Move misplaced header inclusion 2015-10-16 10:04:48 +02:00
Clement Jamin 0083ea06bc Missing typedef and typename 2015-09-07 17:38:33 +02:00
Clement Jamin 278c0c93e8 Missing using 2015-09-07 17:16:06 +02:00
Clement Jamin b6793e6c7a Missing using 2015-09-07 17:12:54 +02:00
Clement Jamin 816b036564 Missing typedef 2015-09-07 17:10:14 +02:00
Clement Jamin 0d2ea9f2f3 Move code around 2015-09-04 13:15:14 +02:00
Clement Jamin 76297ebca3 Clean-up Regular_triangulation_euclidean_traits (unused types, etc.) 2015-09-04 08:55:54 +02:00
Clement Jamin cd9aeb3c3b Remove unused includes 2015-09-04 08:42:28 +02:00
Clement Jamin 950978b2cf Clean-up Regular_triangulation_euclidean_traits 2015-09-03 18:20:52 +02:00
Clement Jamin 3833fe8883 Fix return type + add comments 2015-09-02 18:51:00 +02:00
Clement Jamin fd265e1e4f Missing const 2015-07-21 18:02:16 +02:00
Clement Jamin 80d046bc81 Merge branch 'Triangulation-add_regular_tri-cjamin_mglisse-old' into Triangulation-add_regular_tri-cjamin_mglisse 2015-07-20 12:17:03 +02:00
Laurent Rineau 7e6e3f62ba Fix a link error "multiple definition of"
Trivial fix for bug #158
2015-07-10 12:29:23 +02:00
Clement Jamin 2c1f647107 Forgot to fix Triangulation accordingly (see previous commit)
(cherry picked from commit 35555fd3f9)
2015-07-06 20:02:27 +02:00
Clement Jamin 5531f6f169 Definitely removed the "infinite vertex at position 0" constraint...
... and fixed the regular triangulation at the same time.
Even though this constraint had been dropped, the code was still
expecting the infinite vertex to be at position 0 in the cells.
Now, it's not the case anymore, the infinite vertex can be anywhere.
This is particularly useful for the 2D case, because the constraint made
the orientation of the "rightmost" infinite cell wrong.

(cherry picked from commit 48b8382de3)
2015-07-06 19:07:11 +02:00
Clement Jamin ef9b73ca2e Bugfix: ==
(cherry picked from commit aa81039e07)
2015-06-25 20:40:47 +02:00
Clement Jamin 63a5536699 Bugfix in RTd: in dimension 2, the points were never hidden
(cherry picked from commit fa3b2d9bea)
2015-06-25 20:40:33 +02:00
Clement Jamin c32373e75b Rename variable to avoid confusion + remove useless initialization 2015-01-12 17:49:25 +01:00
Clement Jamin d775cde6e6 Better bug fix
Handles the case where an existing point is at the same place as
the point we're trying to insert.
2015-01-12 17:47:09 +01:00
Clement Jamin f320bdee43 Temporary bug fix
Do not insert a point when an already existing point in at the same place.
TODO: something better when the weight is different.
2015-01-12 14:56:03 +01:00
Clement Jamin af405ac7a6 Add output_full_cell 2015-01-12 14:51:21 +01:00
Clement Jamin 10f7b688eb Add output_weighted_point 2015-01-12 11:10:33 +01:00
Clement Jamin bb654aec95 Fix the FIXMEs: "infinite vertex is NOT at index 0 a priori" 2015-01-12 08:49:47 +01:00
Clement Jamin 43d81bb12b Missing param 2015-01-09 15:02:46 +01:00
Mael Rouxel-Labbé 7a11937b97 Fixed TDS's incident_faces() using the wrong index for the first vertex
(and added consts)

(cherry picked from commit e312d7ddae0188ed0d99b4247f73871a57124f41)
2015-01-09 14:57:46 +01:00
Clement Jamin 81f68efb7e Oops. This fixes the previous bug fix (wrong place). 2014-12-18 11:00:12 +01:00
Clement Jamin 2f4bb69e0a Merge branch 'Triangulation-add_regular_tri-cjamin_mglisse-old' into Triangulation-add_regular_tri-cjamin_mglisse 2014-12-18 10:59:01 +01:00
Clement Jamin 6694b8adfb Bugfix: we can't call infinite_vertex() like this 2014-12-18 10:56:09 +01:00
Clement Jamin d605eff325 Restore 4-space identations 2014-12-18 10:24:44 +01:00