Commit Graph

55 Commits

Author SHA1 Message Date
Andreas Fabri 09f3236d38 Polyline_simplification 2018-01-17 22:08:12 +00:00
Sébastien Loriot 8cdfad0d08 add missing URL and Id tags 2017-11-15 22:58:57 +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 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
Andreas Fabri 85d4431c0c Fix package Polyline_simplification: include headers 2016-09-30 15:23:14 +02:00
Andreas Fabri 147ebae4d6 Fix bug in polyline simplification:
We had hardwired that we use Exact_predicates_tag which is slow for EPEC
in particular with Quotient<MP_float> or leda::real

We determine the appropriate tag using Algebraic_structure_traits<FT>::Is_exact
2016-09-14 16:16:28 +02:00
Sébastien Loriot 9aaa3a81e6 insert in the queue if the cost become computable 2016-08-30 11:34:43 +02:00
Sébastien Loriot 3b583dfc3f if the cost is undefined, remove the element from the queue 2016-08-30 11:34:43 +02:00
Andreas Fabri a630f21ce5 fix Polyline simplification 2016-02-01 17:26:02 +01:00
Andreas Fabri eb8d2f5752 fixed three documentation typos 2015-09-22 09:26:10 +02:00
Andreas Fabri dcbab4e0d4 use CGAL_assert and assertion_code 2015-08-20 22:28:49 +02:00
Andreas Fabri 23af7d6d8d polish manual 2014-12-22 13:42:50 +01:00
Andreas Fabri 4924a7ef3f remove unused variables
they are really no longer needed, as they are now computed inside the cost fct
2014-12-13 08:51:20 +01:00
Andreas Fabri 136523b2d3 Make changes after Laurent's review 2014-12-08 09:27:08 +01:00
Sébastien Loriot 3b6cf0eb13 fix signature of functor 2014-11-14 15:10:58 +01:00
Sébastien Loriot d8d2152513 remove unused variable 2014-11-14 10:41:13 +01:00
Laurent Rineau 685a43f854 Fix a bug in Scaled_squared_distance_cost 2014-11-07 18:19:12 +01:00
Laurent Rineau 80c0a72682 Fix warnings 2014-11-07 17:57:38 +01:00
Laurent Rineau 112ef5c86c fix compilation errors 2014-11-07 17:45:27 +01:00
Andreas Fabri 93ce24993b changes after Laurent's review: double-free, and PolylineSimplificationTraits_2 added 2014-11-07 14:29:36 +01:00
Laurent Rineau 15ce20092d Minor improvements 2014-11-07 10:47:08 +01:00
Andreas Fabri 0e535324f0 cleanup 2014-11-06 15:50:05 +01:00
Andreas Fabri 45d24aed03 Complete the list of \param, as only documenting one gives a warning 2014-11-05 10:33:31 +01:00
Jane Tournois 225b174b80 fix typos 2014-11-04 19:43:24 +01:00
Jane Tournois 299391c770 minor fixes 2014-11-04 19:41:31 +01:00
Andreas Fabri 9b85ad7d97 typos 2014-11-04 12:34:24 +01:00
Andreas Fabri 42d04ea13f take into account Jane's review 2014-11-04 12:24:12 +01:00
Andreas Fabri 42b954e224 fixes in examples and the demo 2014-10-30 16:47:43 +01:00
Andreas Fabri 0bf0d13087 second pass after Jane's review 2014-10-30 16:23:41 +01:00
Andreas Fabri ad5fa2d93f first pass after Jane's review 2014-10-30 15:24:40 +01:00
Andreas Fabri 17e5d01052 Add a function that allows to simplify an iterator range of points 2014-08-25 16:27:19 +02:00
Andreas Fabri c365d5b67a When simplifying a polygon we only mark the first vertex as unremovable.
bug fix: the first point was written out again at the end.
2014-08-25 12:36:44 +02:00
Andreas Fabri becb81b1be fix a bug; remove debug printout 2014-08-22 17:13:50 +02:00
Sébastien Loriot b9f31b29a8 add missing typename 2014-08-08 19:07:53 +02:00
Andreas Fabri f31854ab1d Small changes plus a major bug fix (unless I misunderstood something)
The small changes make the models of distance function correspond to the concept

The bug:
The documentation of the distance functions states that one computes
a distance for the points on the original subcurve. Before the
fix we only looked at the points which are in the current subcurve.
2014-08-08 16:39:17 +02:00
Andreas Fabri 52e0f095dc Wrap forward declaration with #ifndef DOXYGEN_RUNNING 2014-08-08 15:04:44 +02:00
Andreas Fabri ff3ad888c3 Polyline_simplification uses Constrained_triangulation_plus_2 2014-05-21 20:27:17 +02:00
Andreas Fabri 06bc7e7666 remove obsolete concepts 2013-04-16 17:52:40 +02:00
Andreas Fabri e4306a0d3d fixed -> unremovable; fixed is no longer used in Polyline_constrained_trioangulation 2013-04-16 16:01:09 +02:00
Andreas Fabri 94567d8745 wip 2013-04-16 15:09:05 +02:00
Andreas Fabri 42e28dd13f move file in the right package 2013-04-16 12:55:08 +02:00
Andreas Fabri 5e08e87d3d Make the example more interesting.
Fix const correctness.
Fix the Subconstraint_iterator.
Improve the manual.
2013-04-03 15:28:46 +02:00
Andreas Fabri 530adb1b9e doxygen fixes 2013-04-02 11:15:04 +02:00
Andreas Fabri af17f69077 fix typo 2013-03-29 16:18:42 +01:00
Andreas Fabri b441accf1f Improve documentation 2013-03-29 16:11:23 +01:00
Andreas Fabri 82fddb4770 Merge branch 'Triangulation_2-NewPolylineConstraint-GF' of ssh://scm.cgal.org/var/git/cgal into Triangulation_2-NewPolylineConstraint-GF 2013-03-29 14:58:09 +01:00
Andreas Fabri b2d4c3a8df improve doxygen manual 2013-03-27 18:00:01 +01:00
Laurent Rineau 23e0af999b Fix a compilation error (FT shadowed a template parameter) 2013-03-27 16:37:25 +01:00
Philipp Möller 8529612009 Drop some never implemented members from the hierarchy.
Remove keep_points from PCT and PHierarchy.
Document the effect of the fixed member in simplify.
2012-05-14 13:09:03 +00:00
Philipp Möller a6d55f9c46 Adapted the demo and two Leftover costs to changes in the iterators
value_type.
2012-05-11 08:48:27 +00:00