Commit Graph

59109 Commits

Author SHA1 Message Date
Andreas Fabri 941f73f3c0 use CGAL_assert and assertion_code
(cherry picked from commit dcbab4e0d4)
2015-08-23 20:33:32 +02:00
Laurent Rineau 667f7108cf Release announcement for 4.6.2 2015-08-20 11:42:00 +02:00
Laurent Rineau 0219900e98 This branch targets CGAL-4.6.2, if there is one. 2015-08-03 15:56:04 +02:00
Sebastien Loriot 6cde2ecbc3 Merge pull request #213 from sloriot/Intersection_2-fix_rectangle_triangle
Fix do_intersect(Triangle_2,Iso_rectangle_2) in case no vertex is on bounded side
2015-07-30 17:28:32 +02:00
Sébastien Loriot 6b0067f7ef fix intersection test in case no vertex is on bounded side 2015-07-29 18:17:27 +02:00
Sebastien Loriot 94378e2036 Merge pull request #192 from sloriot/Convex_hull_3-hs_inter_with_constr
fix halfspace intersection for a kernel with exact constructions
2015-07-24 16:06:01 +02:00
Sébastien Loriot 387ad98343 add new line at end of test file 2015-07-24 15:50:42 +02:00
Sébastien Loriot f3f73d10a1 fix halfspace intersection for a kernel with exact constructions 2015-07-23 09:13:41 +02:00
Laurent Rineau d797f6a538 Merge pull request #161 from lrineau/STL_Extension-fix_issue_139-lrineau
Fix a miscompilation by clang-3.6.x
2015-07-15 17:00:35 +02:00
Laurent Rineau 17857e15d3 Same patch for <CGAL/Concurrent_compact_container.h>
Patch similar to the previous commit.
2015-07-15 11:33:51 +02:00
Laurent Rineau c774546e1b A better fix, using operator->() 2015-07-14 18:02:40 +02:00
Laurent Rineau 74cfacf554 Merge pull request #159 from lrineau/Triangulation-fix_issue_158-lrineau
dD Triangulation: Make non-template methods inline
2015-07-14 17:02:28 +02:00
Laurent Rineau 2591e6cc7d Fix a miscompilation by clang-3.6.x
Fix issue #139
2015-07-03 17:28:11 +02:00
Laurent Rineau bb4ee56a39 Make non-template methods inline
Avoid linking errors such as:

   In function 'CGAL::operator>>(std::istream&,
   CGAL::No_vertex_data&)':MeshSimplicial.cpp:(.text+0x490): multiple
   definition of 'CGAL::operator>>(std::istream&, CGAL::No_vertex_data&)'

Fix issue #158.
2015-07-03 17:05:01 +02:00
Marc Glisse adff1e473d Document that Triangulation only works with Epick_d.
(cherry picked from commit b71335b4fe)
2015-06-29 12:29:11 +02:00
Laurent Rineau 81eda79252 Merge pull request #140 from lrineau/Mesh_3-demo_fix_QGLViewer-2.6.0-lrineau
Fix for libQGLViewer>=2.6.0
2015-06-28 18:20:50 +02:00
Laurent Rineau ad01608c2c Fix for libQGLViewer>=2.6.0
Fix #138
2015-06-26 18:04:25 +02:00
Laurent Rineau b4875fc99a changes for CGAL-4.6.1 2015-06-25 14:58:30 +02:00
Laurent Rineau 71ab8ea9aa Merge pull request #132 from lrineau/Installation-fix_configure_component-pmoeller_rebased_4.6
Use `get_filename_component` to manipulate paths

This caused a bug in CMake>=3.3.0 when `file(GLOB)` is not adding multiple
slashes. The lack of trailing slashes is guaranteed and documented in
`get_filename_component`.
2015-06-24 16:35:07 +02:00
Laurent Rineau 06a17381a6 Fix the use of get_filename_component
For CMake<=2.8.11, the option DIRECTORY must be renamed to PATH, the
legacy name of the option.
2015-06-23 11:22:01 +02:00
Philipp Möller 61e61220eb Use get_filename_component to manipulate paths
This caused a bug in CMake>=3.3.0 when file(GLOB) is not adding multiple
slashes. The lack of trailing slashes is guaranteed and documented in
get_filename_component.
2015-06-23 11:13:09 +02:00
Laurent Rineau eddb96aff9 Merge pull request #126 from afabri/Triangulation_2-fix_plus_2-GF
Fix a bug in CDT_plus_2
2015-06-22 12:51:15 +02:00
Laurent Rineau 1d8c6116d2 Merge pull request #125 from lrineau/Mesh_3-fix_with_gcc44_cpp11-lrineau
Fix a compilation error with gcc44 -std=c++0x
2015-06-22 12:50:58 +02:00
Andreas Fabri c80a9aaa6c Fix a bug in CDT_plus_2
Fix issue #122
2015-06-17 18:52:30 +02:00
Laurent Rineau b221fd0328 Fix an incoherent indentation 2015-06-17 12:24:01 +02:00
Laurent Rineau 21a699368d Fix a compilation error with gcc44 -std=c++0x
Should fix issue https://github.com/CGAL/cgal/issues/121

The error was that the "domain" class returns a `CGAL::Point_3<K>`, the
triangulation uses `CGAL::Weighted_point<CGAL::Point_3<K>, double>`, and
one piece of code from Mesh_3 in <CGAL/Mesh_3/Refine_facets_3.h> uses an
implicit conversion from

    tuple<something_A, something_B, CGAL::Point_3<K> >
to

    tuple<something_A, something_B, CGAL::Weighted_point<P, double> >

and plugs that into a `boost::optional`. For some reason, the g++-4.4
compiler does not like that, but recent g++ compilers accept the code.

The fix is to use an explicit conversion from `Point_3` to
`Weighted_point<Point_3, double>`.
2015-06-17 12:21:15 +02:00
Simon 7bb2046372 This should solve issue #41.
(cherry picked from commit bc125c525c)
2015-06-17 12:07:51 +02:00
Simon 195f11a98f Explicitely call the constructor of Surface_patch to prevent compilation failures with g++.
(cherry picked from commit f9e4a9faff)
2015-06-17 12:04:13 +02:00
Laurent Rineau 8caf689860 Merge pull request #115 from lrineau/Number_types-oldgmp-glisse
Fixes a bug: emulate `mpn_sqr` on old versions of GMP (GMP < 4.3.2).

Fixes bug #113
2015-06-10 12:00:42 +02:00
Andreas Fabri 053761c350 fix a -strict-ansi warning
(cherry picked from commit 307c86910b)
2015-06-08 12:32:45 +02:00
Laurent Rineau e9a8f51677 Merge pull request #106 from lrineau/Installation-fix_support_for_gcc_5_and_later-lrineau
Add -frounding-math for gcc 4 *and later*
2015-06-05 16:43:27 +02:00
Laurent Rineau 93e6f64245 Merge pull request #99 from afabri/BGL-bugfix_4.6.1_Face_around_face_iterator-GF
Fix Face_around_face_iterator
2015-06-05 16:42:58 +02:00
Laurent Rineau cb385a771b Add -frounding-math for gcc 4 *and later*
Fix issue #104
2015-06-03 10:44:18 +02:00
Andreas Fabri 56c16d581c use CGAL naming conventions 2015-06-01 12:35:52 +02:00
Andreas Fabri c30a000ce3 bug fix. The iterator did not dereference to opposite faces 2015-05-29 09:16:32 +02:00
Laurent Rineau a2337c902d Merge pull request #82 from sloriot/Convex_hull_3-fix_halfspace_intersections-sloriot
Convex_hull_3, fix halfspace intersections
2015-05-19 15:50:11 +02:00
Laurent Rineau 42ca4a3567 Merge pull request #86 from lrineau/afabri-CGAL-array_as_property_map-GF-rebased-on-CGAL-4.6
Rename get() to get_pointee_or_identity()
2015-05-18 11:21:28 +02:00
Andreas Fabri 0b73aefeae remove example that revealed the problem 2015-05-13 16:18:31 +02:00
Andreas Fabri ed2ce94660 get() -> get_pointee_or_identity() 2015-05-13 16:18:31 +02:00
Andreas Fabri 8c20bd91c2 Replace CGAL::get() with CGAL::get_pointee_or_identity() and remove using get:: 2015-05-13 16:18:31 +02:00
Andreas Fabri 7d60976754 remove target that does not exist 2015-05-13 16:18:31 +02:00
Andreas Fabri 3d9f15c973 Add an example that works with built-in array as property map; Add using ::get 2015-05-13 16:18:31 +02:00
Laurent Rineau 03f80dd33e Merge pull request #61 from afabri/Stream_support-parse_plus_in_exponent-GF_4.6
fix reading of doubles. There may be a + after the e
2015-05-13 16:03:12 +02:00
Sébastien Loriot 6554279e9a fix the test for the dimension of the affine hull of the dual points 2015-05-12 10:21:53 +02:00
Sébastien Loriot 8bd72701a1 fix warning 2015-05-12 09:31:48 +02:00
Sébastien Loriot 06be9cf705 bug-fix: fix the orientation of the convex polyhedron 2015-05-11 22:37:29 +02:00
Sébastien Loriot 274bdd6357 bug-fix: always find a point interior even in release mode
assertions are deactivated in release mode
2015-05-11 22:06:13 +02:00
Sébastien Loriot b3cd542eb4 link less 2015-05-11 21:51:15 +02:00
Sébastien Loriot 877dba1dfa simplify check 2015-05-11 21:49:08 +02:00
Sébastien Loriot c3694ea631 fix iterator type 2015-05-11 21:21:29 +02:00