Commit Graph

54318 Commits

Author SHA1 Message Date
Sébastien Loriot b2b7e5cb7c bugfix to avoid assuming Monge_via_jet_fitting has default template parameters 2014-01-23 10:32:30 +01:00
Sébastien Loriot 596e57a1b0 trivial doc polish (avoid long description to be generated) 2014-01-22 15:31:06 +01:00
Laurent Rineau b8f76c4f63 Merge branch 'Polygon_2-patch_from_a_user-lrineau'
All Polygon_2::erase() overloads now return an iterator or a circulator,
to make them more convenient (and STL-like).

That patch is a non-significant contribution (as regard the owernship of
code) from a CGAL-discuss user.

Tested in CGAL-4.4.-Ic-91.
2014-01-22 11:34:58 +01:00
Laurent Rineau af6d87353c Merge branch 'Mesh_3-fix_poly_only-lrineau'
Enhance test/Mesh_3/test_meshing_polylines_only.cpp
  - It was far too verbose.
  - It was not really testing anything but the absence of assertions.

Tested in CGAL-4.4-Ic-91.
2014-01-22 11:31:49 +01:00
Laurent Rineau 72c87fde4f Merge branch 'AABB_tree-fix_set_shared_data-lrineau'
Fix the untested AABB_tree function set_shared_data().

Tested in CGAL-4.4-Ic-91.
2014-01-22 11:29:30 +01:00
Andreas Fabri a020773bbc fix #include in the manual 2014-01-17 12:42:52 +01:00
Sébastien Loriot db43325f3a fix doc typo 2014-01-16 07:34:29 +01:00
Laurent Rineau 1f9afe3ab0 Merge branch 'CGAL-fix_warnings-lrineau'
Fix a few warnings about unused types or variables.

Tested in CGAL-4.4-Ic-90.
2014-01-15 14:26:19 +01:00
Laurent Rineau b91fd06754 Merge branch 'Mesh_2-fix_Filter_Circulator-lrineau'
Fix a bug in the constructor of Filter_circulator, in Mesh_2.

Bug detected by The Intel Compiler 14.0.

Tested in CGAL-4.4-Ic-85.
2014-01-14 14:31:34 +01:00
Sébastien Loriot 222c2fb55d update changes 2014-01-14 14:21:17 +01:00
Sébastien Loriot 8803608ffd Merge branch 'Partition_2-EPECK_friendly-local'
Bug fix making possible the use of a Lazy kernel with partition algorithms
Tested in CGAL-4.4-Ic-89
Approved by the Release Manager
2014-01-14 14:20:00 +01:00
Laurent Rineau 41d2286b75 Doc bug-fix about the section 'Non const access'
The section 'Non const access' of the documentation of Triangulation_2
was including const methods. I move the const method in the section
'Access Functions'.
2014-01-14 14:12:03 +01:00
Laurent Rineau 2c2ec8d54c Doc bug-fix: wrong name for constructor
One of the constructors of Regular_triangulation_2 was still named 'rt'.
2014-01-14 14:10:57 +01:00
Sébastien Loriot 69eff06691 add a default constructor to Primitive_vertex to make it work with Lazy
also add a test showing the issue
2014-01-13 19:12:20 +01:00
Laurent Rineau 48f9c4c06c Fix AABB_tree use of set_shared_data
That function set_shared_data is never tested in CGAL, happened not to
be callable using its documented API. I do not understand why there is
an additional template parameter 'PrimtiveType'. That commit removes it.

(cherry picked from commit 99790a0d39864c3d2e72d18876f41603ab94a5a5)
2014-01-13 18:56:48 +01:00
Sébastien Loriot 244e0fe1cf add missing targets to the testsuite 2014-01-13 17:42:10 +01:00
Laurent Rineau 2d1e025918 Minor update to changes.html
- Remove mentions of CGAL-4.3.1 (will not exist),
- Remove the dummy change to Vanilla package.
2014-01-13 13:35:41 +01:00
Laurent Rineau cb6ce3f448 Fix a typo: missing space 2014-01-10 16:44:33 +01:00
Laurent Rineau 6330632723 Fix various warnings about unused variables/types 2014-01-10 13:25:23 +01:00
Sébastien Loriot 7981d7e334 update changes 2014-01-10 00:29:06 +01:00
Sébastien Loriot a72ee0c2a0 Merge branch 'Surface_mesh_segmentation-sloriot'
Introduces the Triangulated Surface Mesh Segmentation Package
See also wiki/Features/Surface_mesh_segmentation
Tested in 4.4-Ic-84

Approved by the release manager

Conflicts:
	Documentation/biblio/how_to_cite.html
	Documentation/biblio/manual-4.3.bib
	Manual/doc_tex/Manual/geom.bib
2014-01-10 00:15:18 +01:00
Sébastien Loriot bb45eeaac4 set release number introducing the segmentation package 2014-01-09 23:52:48 +01:00
Sébastien Loriot 4c0a266c9f remove TODO file 2014-01-09 23:47:50 +01:00
Laurent Rineau 3ed92e1c1a Merge branch 'STL_Extension-Boolean_tag_Boost_Integral_Constant-lrineau'
Small feature:
  cgal.org/wiki/Features/Small_Features/Boolean_tag_is_a_Boost_Integral_Constant

Now CGAL::Boolean_tag<true> and CGAL::Boolean_tag<true> are model of the
Boost concept "Integral Constant".

Tested in CGAL-4.4-Ic-84.
2014-01-09 17:54:28 +01:00
Laurent Rineau 972befcc01 Merge branch 'CGAL-fix_io_bad-lrineau'
Fix the uses of std::basic_ios::bad() across the whole CGAL code, and
use fail() instead.

Tested in CGAL-4.4-Ic-84.
2014-01-09 17:52:46 +01:00
Laurent Rineau ecd44ef651 Cosmetic changes
My coding style has evolved a lot since 2002!
2014-01-09 14:21:12 +01:00
Laurent Rineau 2c236ff01d Fix a bug in the constructor if Filter_circulator
The Intel Compiler 14.0, with -O2 or -O3, triggers a bug in the old
version of the code. After the construction of the filtered circulator,
`test(*this)` was not guaranteed. I am not sure if the bug is in the
code or in the compiler, but the constructor was an ugly piece of
code! (*this) was used in the body of the constructor in non obvious
ways. An object is reputed constructed once the internalizers are
evaluated, as far as I know, so probably the previous version of the
code was valid. However, that sound strange to copy an object inside the
body of the constructor of that object. Maybe that confused the
compiler.

Anyway, I have modified the implementation of that constructor in a
cleaner way, and I have added an assertion (that was failing with the
old implementation).
2014-01-09 14:15:45 +01:00
Laurent Rineau afd4cfbfef Fix a typo
Equal_2 is not related to Point_3.
2014-01-08 16:10:58 +01:00
Sébastien Loriot d481ded8ba use timers in graph cut only if CGAL_SEGMENTATION_BENCH_GRAPHCUT is defined 2014-01-08 10:25:48 +01:00
Sébastien Loriot 077fa0c933 remove trailing whitespaces 2014-01-08 10:10:21 +01:00
Sébastien Loriot 97e7162948 add documentation pictures 2014-01-06 17:53:14 +01:00
Laurent Rineau 9e0a6ccca5 Merge branch 'Algebraic_kernel_d-RS_address_leaks-penarand'
Fix memory leaks in RS number types.

Tested in CGAL-4.4-Ic-79.
(+ a trivial fix a warning commited afterward)
Approved by the Release Manager.
2014-01-06 16:00:10 +01:00
Laurent Rineau 19ecf8e545 Trivial fix of a warning 2014-01-06 15:59:30 +01:00
Laurent Rineau 34fa0bcde9 Merge branch 'CGAL-fix_warnings-lrineau'
Fix a few warnings -Wunused-local-typedefs.

Tested in CGAL-4.4-Ic-79.
Approved by the Release Manager.
2014-01-06 15:45:31 +01:00
Laurent Rineau be467e7958 This operator>> is really badly written.
When istream::getline reaches the EOF, it sets the failbit. Then it must
be cleared, so that a successful read does not return a failed stream.
2014-01-06 15:36:57 +01:00
Laurent Rineau 983480e222 Trivial bug-fix: fix a warning about unused parameter 2014-01-06 14:27:09 +01:00
Luis Peñaranda cad0a49f30 Revert "avoid more -Wall warnings in g++ 4.7"
This reverts commit ed04ff7c18. Basically,
I changed in the reverted commit the assert() by CGAL_assertion(), and
added some CGAL_assertion_code().
2014-01-03 10:53:46 -03:00
Laurent Rineau 92fbeb4926 Merge remote-tracking branch 'origin/CGAL_ipelets-hyperbolic-odevil'
Small feature:
  http://cgal.org/wiki/Features/Small_Features/Hyperbolic_ipelets

Tested in CGAL-4.4-Ic-76.
Approved by the release manager.

Conflicts:
	Installation/changes.html
2014-01-03 12:19:12 +01:00
Laurent Rineau 55f8095430 Fix a typo in a link of the doc
1/ Use explicit linking instead of implicit one.
2/ Fix the typo:   AK_d_1::AlgebraicReal_1 -> AK_d_1::Algebraic_real_1
2014-01-03 11:49:30 +01:00
Luis Peñaranda 77da387fe5 Test correctly inexact coefficient types.
The algebraic structure tests are performed following the exactness of
the coefficient type (it was assumed before that the type was exact). If
it is inexact, the polynomial traits are not tested to avoid wrong
errors.
2014-01-01 11:40:24 -03:00
Laurent Rineau 3e93d0bfc6 Fix test of AABB_tree (use of an epsilon)
The test 'aabb_naive_vs_tree_distance_triangle_test' failed
something. It was due to a test using an epsilon, with a too-low epsilon
value (1e-8). I managed to reproduce the bug, and the quantity compared
to the epsilon value was about 1.8e-8. I increase the epsilon value to
1e-7, and add a few lines that show the compared values, when the test
fails.

Trivial bug-fix.
2013-12-31 15:15:24 +01:00
Luis Peñaranda 352b029aab fixed years-old bug in tests
The bug came from assuming that the bound type was exact. Now, the
algebraic structure of the bound type can be correctly tested.
2013-12-30 23:53:16 -03:00
Sébastien Loriot 3c8f1ee532 fix last warning in the demo 2013-12-23 16:49:48 +01:00
Sébastien Loriot 4257839c64 shorten example name to please windows test suite 2013-12-23 16:49:48 +01:00
Sébastien Loriot 3a0853a27b fix warnings 2013-12-23 16:49:47 +01:00
Sébastien Loriot 98f0bc2d86 add timer in the demo 2013-12-23 16:49:47 +01:00
Sébastien Loriot c4a1ac227a int -> size_t in benchmark and demo 2013-12-23 16:49:47 +01:00
Sébastien Loriot b1bf39b318 fix include filename 2013-12-23 16:49:47 +01:00
Sébastien Loriot 0a9ea00685 update include directives 2013-12-23 16:49:46 +01:00
Sébastien Loriot ad44ab3a92 remove compilation warnings 2013-12-23 16:49:46 +01:00