Commit Graph

70199 Commits

Author SHA1 Message Date
Laurent Rineau 7edc04cbf3 Merge pull request #1556 from maxGimeno/Polyhedron_demo-Enhance_raw_image_manipulation-GF
Polyhedron_demo: Enhance the raw image management
2016-10-17 10:01:01 +02:00
Laurent Rineau 5bde261394 Merge pull request #1427 from afabri/SDG_2-static-GF
SDG_2: No need for thread local storage as readonly
2016-10-17 10:00:57 +02:00
Laurent Rineau 8dda7b3cd1 Merge pull request #1362 from sloriot/Kernel_23-add_compound_assignement_operator_for_vectors
Add compound assignment operators for 2D and 3D vector classes
2016-10-17 10:00:53 +02:00
Laurent Rineau 7a2bf13a4f Merge pull request #1553 from maxGimeno/Polyhedron_demo-Fix_cut_plugin-GF
Polyhedron_demo: Fix the cut_plugin
2016-10-17 10:00:19 +02:00
Laurent Rineau 2e4354f2e6 Merge pull request #1421 from afabri/Nef_3-static-GF
Nef_3: Make variables atomic
2016-10-17 09:59:36 +02:00
Laurent Rineau c6a0dd92ea Merge pull request #1422 from afabri/Cone_spanners-static-GF
Cone_spanners: No need for thread local storage as readonly
2016-10-17 09:59:33 +02:00
Laurent Rineau ef99eb7d01 Merge pull request #1549 from maxGimeno/Polyhedron_demo-Fixes_for_the_UI-GF
Polyhedron_demo: Fixes for the UI behavior
2016-10-17 09:59:30 +02:00
Laurent Rineau 9356ed39d4 Merge pull request #1548 from afabri/Number_types_Gmpzf_tss-GF
Number_types / Gmpzf: make static variable thread local
2016-10-17 09:59:26 +02:00
Laurent Rineau 0ab0966ada Merge pull request #1545 from afabri/Number_types_Counted_number_fix-GF
Number_types/Counted_number: Use atomic static variables
2016-10-17 09:59:23 +02:00
Laurent Rineau 9dc09d5b5f Merge pull request #1544 from afabri/Number_types_Interval_nt_fix-GF
Interval_nt: Declare the static object const.
2016-10-17 09:59:20 +02:00
Laurent Rineau d43015c0ef Merge pull request #1543 from afabri/BGL_remove_graph_traits_CMap-GF
Remove files that are here accidentally according to Guillaume
2016-10-17 09:59:17 +02:00
Laurent Rineau e9d6031385 Merge pull request #1541 from maxGimeno/Polyhedron_demo-Fix_spheres_in_polylines-GF
Polyhedron_demo: Fix spheres in polylines
2016-10-17 09:59:13 +02:00
Maxime Gimeno 3ba5277d97 Clean-up 2016-10-17 09:36:44 +02:00
Marc Glisse 12618d3d56 Use 1/2 instead of .5 as file input for Epeck.
That's what all the other testcases in the directory do, so I assume it
is ok.
2016-10-15 22:39:23 +02:00
Marc Glisse 2c31c41529 Specify the type for expression templates. 2016-10-15 19:54:51 +02:00
Marc Glisse 1c6cf4b557 Replace ?: with 'if' for expression templates. 2016-10-15 19:48:25 +02:00
Marc Glisse 3816bc4e4b Specify the right type for make_root_of_2...
It compiled but was causing an infinite recursion.
2016-10-15 18:40:02 +02:00
Marc Glisse 5bee5f5922 Workarounds for expression templates. 2016-10-15 18:21:54 +02:00
Marc Glisse 7ff83d79e7 strcmp returns 0 when strings match, invert. 2016-10-15 17:44:44 +02:00
Andreas Fabri aac821a61d Deal with an empty range as input 2016-10-15 08:18:01 +02:00
Andreas Fabri ca609917db Explain in a comment in the code 2016-10-15 08:12:03 +02:00
Andreas Fabri 26fdc0c160 The same for the 3D Circular Kernel 2016-10-14 18:27:08 +02:00
Andreas Fabri ab77943606 Add a dummy field to the variant to work around an ICL bug 2016-10-14 17:47:18 +02:00
Maxime Gimeno 29d7a375bc Restore the spheres, grid, intersections and CNC state when reloading a c3t3_item. 2016-10-14 16:58:20 +02:00
Marc Glisse 31d6b482f5 Workaround for expression templates. 2016-10-14 14:51:37 +02:00
Maxime Gimeno 6e68b0f9d0 Upgrades :
- default value for empty fields for scaling is now 1
- apparition of a 'undo' feature
- fields are not cleared when the transformation is applied
- addition of the missing tooltips
- fix the BBox of the transform_items so the scene 'sees' them
2016-10-14 11:14:02 +02:00
Marc Glisse 06673205d2 Specialize for gmpxx. 2016-10-14 10:19:17 +02:00
Andreas Fabri 37c6367058 Forgot to go from error to warning for the hierarchy 2016-10-14 08:40:07 +02:00
Marc Glisse 030d81e3f7 Fixes for FT=mpq_class.
In particular, the constructor from std::string is explicit.
test_nef_3_io_EPEC is still broken because of that.
2016-10-14 00:37:11 +02:00
Marc Glisse 2868790cf4 Workarounds for expression templates.
Theses are just tests and already look ugly, don't try to be clever here.
2016-10-13 23:58:29 +02:00
Marc Glisse 9ad33d47bd Specify the type for expression templates.
Get_rational_type<mpz_class> is still wrong, it should be mpq_class
instead of Quotient<mpz_class>, but I don't know if I am supposed to
define an (undocumented) arithmetic kernel for gmpxx...
2016-10-13 23:40:59 +02:00
Marc Glisse 678f9572f7 More ugly workarounds for expression templates. 2016-10-13 23:11:26 +02:00
Maxime Gimeno d9f5d0ff8d Make the transformMatrix() function a transformMatrix(double*) function. 2016-10-13 16:54:09 +02:00
Andreas Fabri 27d40d45b0 turn the error in a warning again 2016-10-13 15:41:32 +02:00
Luis Peñaranda bceff2255f Avoid also MPFR 3.1.3. Improve error message. 2016-10-13 10:17:59 -03:00
Marc Glisse 232fc7ecf0 Help type deduction for expression template number types. 2016-10-13 11:25:59 +02:00
Laurent Rineau 74bed855b4 updated crontab (automated commit) 2016-10-13 10:41:56 +02:00
Andreas Fabri 82d72949af what did I do 2016-10-13 10:36:17 +02:00
Laurent Rineau 907a2766a7 Merge pull request #1516 from sloriot/PMP-remove_doc_table
Remove the requirement table
2016-10-13 10:20:28 +02:00
Andreas Fabri 21209d97b2 CGAL_USE_TYPE() to avoid warnings 2016-10-13 10:19:10 +02:00
Andreas Fabri 64a901a863 Add the documentation for Kd_tree::build() and unify it with AABB_tree::build.
The latter was in a Section 'Advanced' (not \cgalAdvanced, just a \heading).
They are now both in the Section `Creation`.
2016-10-13 10:07:48 +02:00
Andreas Fabri 5ca5877104 Initialize numbers in operator>>(istream&, Point/Vector/..)
When we do not do that, and after the reading access a coordinate
some versions of g++ warn on -Wmaybe-uninitialized

The initialization costs nothing compared to the IO operation itself.
2016-10-13 09:14:17 +02:00
Marc Glisse 60806b035b Specify the number type, for expression templates. 2016-10-13 08:49:22 +02:00
Marc Glisse 606840f1e1 Specify the number type, for expression templates. 2016-10-13 08:34:11 +02:00
Luis Peñaranda 07fb6dd2a4 Abort compilation if MPFR is 3.1.4 or 3.1.5.
Those two versions have a bug in memory allocation. The bug appears when
changing the allocation functions back and forth. In the beginning, MPFR
3.1.4 and 3.1.5 gather the GMP allocation functions and always use them. If
they are changed, MPFR does never notice that. This behavior was removed in
a patch to 3.1.5, what means that everything should be OK with MPFR 3.2.0.
2016-10-12 18:36:01 -03:00
Guillaume Damiand 9aae106124 Add explicit call to base contructor to avoid warning. 2016-10-12 08:22:37 -04:00
Andreas Fabri bf1c992a8a Qualify optional with boost:: as GCC6 sees an ambiguity 2016-10-12 12:11:00 +02:00
Laurent Rineau afb8d3693d Fix a bug in Intersect_3()(Plane_3, Segment_3)
That bug has been detected by a warning:
https://cgal.geometryfactory.com/CGAL/testsuite/CGAL-4.10-Ic-16/Intersections_3/TestReport_lrineau_Ubuntu-latest-GCC6-CXX1z.gz
```
/mnt/testsuite/include/CGAL/Intersections_3/intersection_3_1_impl.h: In function 'typename CGAL::Intersection_traits<K, typename K::Plane_3, typename K::Segment_3>::result_type CGAL::internal::intersection(const typename K::Plane_3&, const typename K::Segment_3&, const K&) [with K = CGAL::Simple_cartesian<CGAL::Gmpq>]':
/mnt/testsuite/include/CGAL/Intersections_3/intersection_3_1_impl.h:1105:13: warning: this statement may fall through [-Wimplicit-fallthrough]
             }
             ^
/mnt/testsuite/include/CGAL/Intersections_3/intersection_3_1_impl.h:1107:9: note: here
         case ON_NEGATIVE_SIDE:
         ^~~~
/mnt/testsuite/include/CGAL/Intersections_3/intersection_3_1_impl.h:1071:9: warning: this statement may fall through [-Wimplicit-fallthrough]
         switch (target_side) {
         ^~~~~~
/mnt/testsuite/include/CGAL/Intersections_3/intersection_3_1_impl.h:1090:5: note: here
     case ON_NEGATIVE_SIDE:
     ^~~~
```

Now, the incorrect fallthrough is replaced by the return of the empty
set.
2016-10-12 11:20:07 +02:00
Sébastien Loriot 14030d4c49 remove unused variable 2016-10-12 10:52:02 +02:00
Maxime Gimeno a931941669 Clean-up 2016-10-12 10:00:34 +02:00