Commit Graph

84 Commits

Author SHA1 Message Date
Mael Rouxel-Labbé 47e97bb5ab Added some stronger (yet natural) preconditions to filter_collinear_points()
The range of points must describe a Polygon that is not completely flat,
thus:
- at least three points
- points are not all collinear (up to the tolerance)
2018-07-13 11:36:48 +02:00
Mael Rouxel-Labbé 867ee52bc5 Fixed erroneous early return in filter_collinear_points 2018-07-13 11:36:23 +02:00
Sébastien Loriot 742a615527 fix doc warnings triggered essentially by the improvement of doxygen 2018-04-25 23:36:21 +02:00
Andreas Fabri df747793a6 Add a very short section on polygons with holes 2018-04-12 15:13:23 +01:00
Laurent Rineau cd6fe20bd4 Merge branch 'releases/CGAL-4.11-branch' 2018-03-26 11:03:37 +02:00
Mael Rouxel-Labbé fb1b8d6797
Fixed missing include 2018-03-16 10:49:11 +01:00
Mael Rouxel-Labbé f9b68b670d Replaced boost prior with CGAL::cpp11::prev 2018-03-13 10:10:11 +01:00
Mael Rouxel-Labbé 2c68965397 Return the output iterator 2018-03-13 10:10:02 +01:00
Mael Rouxel-Labbé ea0b061b24 Fixed missing include 2018-03-13 10:00:48 +01:00
Mael Rouxel-Labbé b26422705d Cleaning 2018-03-12 15:06:52 +01:00
Mael Rouxel-Labbé c05f9b056c Added a function to filter almost collinear points in a Polygon_2
undocumented
2018-03-12 14:45:24 +01:00
Mael Rouxel-Labbé 4d67ff3d8b Avoid a segfault when is_simple() is called with an empty polygon/range 2018-03-12 11:13:35 +01:00
Andreas Fabri e5118d1401 Declare several operator() used for comparisons const 2018-02-23 15:34:15 +00:00
Sébastien Loriot 483f69728e Refresh branch 2018-02-12 22:21:38 +01:00
Laurent Rineau 8531694fe5 Merge pull request #2762 from sloriot/Polygon-doc_missing_functions
Some functions did not appear in the doc
2018-01-29 18:08:41 +01:00
Andreas Fabri dc2f37a4ae disable/enable warnings 2018-01-24 08:59:20 +00:00
Sébastien Loriot cce1826792 remove incomplete command 2018-01-23 14:23:27 +01:00
Laurent Rineau f2391a30a5 Merge pull request #2562 from afabri/Filtered_kernel-Do_intersect_2-GF
Add Static Filters for the Exact Construction Kernel
2017-12-19 16:29:53 +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 2b7bd7c4b8 Fix compilation errors 2017-10-30 17:24:51 +01:00
Andreas Fabri a2fc6e1830 Make Partition_2 work with g++ 2017-10-30 12:55:21 +01:00
Laurent Rineau 583ed73fd5 Merge pull request #2296 from sloriot/Polygon_2-fix_RA_for_NRAC
Make random accessor working even if the base container is not random…
2017-07-28 18:45:30 +02:00
Sébastien Loriot 2f3aaa63b9 make random accessor working even if the base container is not random access 2017-07-25 08:26:33 +02:00
Laurent Rineau 376c2dd002 Merge pull request #1852 from maxGimeno/Doxygen_compare-GF
Compare two documentation outputs
2017-06-13 10:18:28 +02:00
Andreas Fabri a7e8772234 Update Polygon_2.h
fix typo
2017-06-07 12:42:31 +02:00
Sébastien Loriot c735e9107e add a precondition 2017-04-27 15:53:49 +02:00
Maxime Gimeno 60d0a39d42 fixes 2017-01-24 14:46:36 +01:00
Maxime Gimeno 82860688d1 Fix the doc to avoid diffs between 1.8.4 and 1.8.13 outputs 2017-01-24 09:39:23 +01:00
Sébastien Loriot befe820313 move Polygon_with_holes_2 in the Polygon package
with the agreement from TAU
2016-10-03 15:32:31 +02:00
Laurent Rineau 1aefb3b0f3 include <CGAL/config.h>, not <CGAL/basic.h> 2016-09-30 15:23:14 +02:00
Andreas Fabri 8bdf0d7cf4 Update Polygon_2_algorithms.h
fix typos
2016-05-18 15:19:17 +02:00
Sébastien Loriot 6d5a92ebcb try to improve cgalRequires removal 2015-11-23 22:06:06 +01:00
Maxime Gimeno 7b4267c162 Replacement of cgalRequires
-fix for #291
2015-11-23 22:06:06 +01:00
Guillaume Damiand ebc4300334 Header only for random.cpp.
For the header only version, the global variable default_random no more exist => we need to replace all occurences of default_random by a call to the global function get_default_random().
As usual, no modification for the non header only version.
2014-11-14 14:20:26 +01:00
Laurent Rineau 9f955e322f Making polygon modification easier
A contribution from a user:
  | Date: Tue, 03 Sep 2013 22:34:20 +0200
  | From: ax487 <ax487@gmx.de>
  | To: cgal-discuss@inria.fr
  | Subject: [cgal-discuss] Suggested patch: Making polygon modification
  |   easier.
  |
  | Hello all,
  |
  | I have been working with polygons now for a while and i noticed that
  | there are some inconveniences regarding the removal of vertices of a
  | polygon: If I remove an iterator from a normal C++ container modeling
  | an ordered sequence, then the method returns an iterator pointing to
  | the next element. This should (?) also be true for the container used
  | in the polygon (at least it is in the case of a std::vector or a
  | std::list).  The attached patch turns this iterator into a
  | Vertex_iterator which can be used in subsequent operations. This change
  | should be downward compatible, so I hope it is possible to include the
  | patch in CGAL.
2013-09-25 15:24:07 +02:00
Sébastien Loriot 9c2f35ed1a using cgalHeading instead of h3 2013-08-07 10:06:49 +02:00
Sébastien Loriot cd5e88f11f Merge branch 'Kernel_23-Bbox_more_friendly-local'
Implements Features/Small_Features/More_friendly_bbox
Successfully tested in CGAL-4.3-Ic-74
Approved by the release manager
2013-06-28 15:05:31 +02:00
Sébastien Loriot 716f87d2d7 rename Hidden_type to unspecified_type and update its description 2013-06-13 18:48:58 +02:00
Sébastien Loriot 5635183db7 add global functions bbox_2 and bbox_3 in the Kernel
remove the function from the 2D function from the Polygon package
2013-05-31 19:44:21 +02:00
Laurent Rineau b6ffa7c425 Merge branch 'CGAL-fix_warnings-GF'
That branch was successfully tested in CGAL-4.2-Ic-205.
2013-03-27 12:23:31 +01:00
Andreas Fabri 0cbc8b0e40 remove unused parameters 2013-03-23 08:45:06 +01:00
Sébastien Loriot e991fe72ad really add last missing classified reference manual pages 2013-03-13 10:57:01 +01:00
Sébastien Loriot ebd2f15dd1 follow up of 601fd3b9: adding missing () in see also for functions 2013-01-09 19:48:43 +01:00
Sébastien Loriot 6e63d3cfa8 adding missing () in see also for functions 2013-01-09 19:48:42 +01:00
Sébastien Loriot 4ec9529581 Merge branch 'doxy-port-pmoeller'
Conflicts:
	.gitattributes
	Surface_reconstruction_points_3/include/CGAL/Poisson_reconstruction_function.h
	Surface_reconstruction_points_3/include/CGAL/Reconstruction_triangulation_3.h
	Surface_reconstruction_points_3/include/CGAL/k_nearest_neighbor.h
2012-11-27 10:05:41 +01:00
Philipp Möller 801721202e Extend the concept to operator-> and fix the bug in edge_circulator.
The work-around is a little fishy, because it involves storing the
segment, but so it be. The concept shouldn't check for operator->
though, it is too strict.
2012-11-17 02:32:44 +01:00
Sébastien Loriot 128b02abb8 update CGAL custom doxygen macros
corresponds to a run of the script Documentation/conversion_tools/rename_macros.sh
+manual edit of doxyassist.xml and pkglist_filter.py
2012-11-14 00:31:05 +01:00
Philipp Möller 88a2f0d2db Fix a few warnings 2012-10-09 17:09:25 +00:00
Andreas Fabri e5eeb3e882 finished 2012-10-09 10:12:17 +00:00
Andreas Fabri b8b7a5dad3 get rid of spurious XX 2012-10-03 17:02:54 +00:00