Commit Graph

265 Commits

Author SHA1 Message Date
Guillaume Damiand 012d44398f Remove 2 warnings. 2019-06-24 09:24:37 +02:00
Guillaume Damiand 67307dcead Merge master to remove conflicts; plus rephrase draw documentation following Sebastien comments. 2019-06-19 15:48:10 +02:00
Maxime Gimeno b13bdadfa8 Fix conflicts 2019-06-17 15:33:33 +02:00
Andreas Fabri 5532b84b4f nullptr_t -> std::nullptr_t 2019-06-05 07:28:56 +02:00
Andreas Fabri e2d19b0c8d Replace NULL and Nullptr_t with nullptr and nullptr_t 2019-06-04 23:45:44 +02:00
Laurent Rineau 90d6afdeb6 Merge pull request #3848 from afabri/Partition_2-Traits_with_state-GF
Partition_2:  Make it work for a traits class with state
2019-05-06 15:45:56 +02:00
Andreas Fabri 88606e4110 Fix documentation 2019-04-26 11:18:26 +02:00
Michael Hemmer f758ab354c Fix in CGAL package Polygon
GitOrigin-RevId: a24f22bd01
2019-04-24 15:30:34 +02:00
Andreas Fabri 804184ba78 Do not copy the traits object 2019-04-18 11:33:10 +02:00
Maxime GIMENO 41033a80be
Merge branch 'master' into Graphics_view-Fix_demo_IO-GF 2019-04-12 16:10:36 +02:00
Sébastien Loriot ce126b87c6 remove cpp11::copy_n, cpp11::prev, and cpp11::next and use std instead 2019-03-29 13:28:32 +01:00
Sébastien Loriot ecd818a3a7 remove cpp11 condition 2019-03-29 10:41:50 +01:00
Mael Rouxel-Labbé b4a0ee0144 Fixed read-write mix up in Polygon_2 doc 2019-03-15 20:57:03 +01:00
Mael Rouxel-Labbé 0143042577 Unlink some link that shouldn't have been a link 2019-03-15 20:53:41 +01:00
Maxime Gimeno 0b31e6e5d8 Merge remote-tracking branch 'cgal/master' into Graphics_view-Fix_demo_IO-GF 2019-03-07 14:01:02 +01:00
Laurent Rineau 2671d056cf Merge pull request #3685 from afabri/CGAL-cleanup-GF
CGAL:  Clean up examples and tests
2019-02-28 20:48:48 +01:00
Andreas Fabri 803066774d Only push point into container if reading was successful 2019-02-19 14:20:39 +01:00
Sébastien Loriot a5576cd3fb replace markdown subsections by \cgalHeading 2019-02-14 10:53:48 +01:00
Maxime Gimeno 7884358134 Initialize 'point' to silenc ea warning. 2019-02-07 10:23:20 +01:00
Andreas Fabri 6596ba981c Polygon, Surface_mesher, Nef,.. 2019-01-17 19:35:02 +01:00
Andreas Fabri 27cfecca60 Use #ifndef DOXYGEN_RUNNING 2019-01-16 14:18:20 +01:00
Maxime Gimeno 350b51f5b9 fix typo 2019-01-11 11:49:54 +01:00
Maxime Gimeno f38de3df4b Fix doc 2019-01-11 11:06:43 +01:00
Andreas Fabri cc9e304c60 Fix Polygon 2019-01-10 18:54:31 +01:00
Maxime Gimeno 3b1b6e2401 Merge remote-tracking branch 'cgal/master' into Graphics_view-Fix_demo_IO-GF 2019-01-09 12:35:04 +01:00
Maxime Gimeno cbf3e04fa6 Doc fix. 2018-10-30 14:15:01 +01:00
Sébastien Loriot a2e8a1c68f add the suffix Ref to doxygen link to reference 2018-10-08 10:26:56 +02:00
Guillaume Damiand 57800610c6 Start viewer for arrangement 2018-09-12 18:22:34 +02:00
Guillaume Damiand a36b79a778 Viewer for polygon with hole; plus doc. 2018-09-07 19:20:13 +02:00
Guillaume Damiand eb6354425f Add basic viewer for polygon. 2018-09-07 14:23:14 +02:00
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
Maxime Gimeno 6f54e0fd11 Add a reader function for WKT in a new package. 2018-05-15 10:04:22 +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
Philipp Möller bdf6f2e47d Small fixes for some awkward back-ticks and correctly link in Polygon. 2012-10-03 13:19:39 +00:00
Andreas Fabri 39561475cd cleanup 2012-09-23 15:28:32 +00:00
Philipp Möller fd70d2f0e3 Add Polygon in body-docs from doxygen branch. 2012-09-19 14:42:11 +00:00
Sébastien Loriot 91a5327fa8 change LGPLv2 -> LGPLv3 2011-10-10 13:48:25 +00:00
Sébastien Loriot dff6dda8b3 Remove from copyright holder
Freie Universitaet Berlin (Germany), Martin-Luther-University Halle-Wittenberg
(Germany) and RISC Linz (Austria) as they transfer the copyright to other
sites.
2011-09-21 19:46:31 +00:00
Andreas Fabri 0960df404b int -> size_t 2010-08-05 13:28:20 +00:00
Andreas Fabri 1a2118098b int -> size_type/std::size_t 2010-06-21 16:52:36 +00:00
Sébastien Loriot 52317dd49f add python script (replace_CGAL_NAMESPACE.py) to replace CGAL_BEGIN_NAMESPACE and CGAL_END_NAMESPACE
by namespace CGAL { and } //namespace CGAL. in all .h and .cpp files
in a directory.
Apply it to all packages in the trunk
Remove macro definition from the config.h file.
2010-06-09 07:37:13 +00:00
Sébastien Loriot fe96061a32 remove extra this->container (detected by intel compiler) 2010-04-26 08:16:15 +00:00
Sylvain Pion 85dc12f2a7 Remove empty lines at beginning and end of files
(apply Scripts/developer_scripts/remove_empty_lines.pl).
2010-02-01 12:55:28 +00:00
Stéphane Tayeb 8dceee4164 Add include<CGAL/assertions.h> in *_assertion files. 2009-10-07 13:16:13 +00:00
Stéphane Tayeb 770492c1c7 Use new version of script create_assertions.sh to generate *_assertions.h files.
Diffs are:
 * #undef added
 * in old files, (void)0 is replaced by static_cast<void>(0)
 * in old files, lines as "#  define CGAL_xxx_assertion 1" are added
 * in point_set_processing_assertions.h, surface_mesh_parameterization_assertions.h, surface_reconstruction_points_assertions.h, "|| defined(CGAL_NDEBUG)" is replaced by "|| defined (NDEBUG)"
 * protective macros (if any) are removed
 * included files if any (<CGAL/assertions.h>, <CGAL/trace.h>) are removed
2009-10-07 07:49:44 +00:00
Efi Fogel 227a097ed8 initialize number of vertices 2009-07-01 07:27:31 +00:00
Efi Fogel ba3e7daa3f replaced a call to the constructor of a functor (Less_xy_2) with the generic function that returns the functor (less_xy_2_object() 2009-05-24 14:14:05 +00:00
Sylvain Pion 393c1cc458 const-ify some member functions (bug-report of Roger House on cgal-discuss). 2008-09-25 19:15:00 +00:00
Sylvain Pion 2eb0d8f9e9 certainly() -> possibly(). 2008-07-14 11:16:41 +00:00
Sylvain Pion eff6efd3af CGAL_NULL and CGAL_NULL_TYPE are now constant macros, so replace them by:
- CGAL_NULL -> NULL
- CGAL_NULL_TYPE -> CGAL::Nullptr_t (typedef to const void *)
2008-07-12 21:58:52 +00:00
Sylvain Pion 9d7a609ff2 Make assertions trigger an error only for *certain* conditions (using CGAL::certainly()).
This is useful for interval arithmetic code.
(replay of r44002 with the header order hopefully fixed)
2008-07-10 21:49:17 +00:00
Sylvain Pion 2b4ebf01f7 Undo r44002 as it's buggy 2008-07-06 20:47:29 +00:00
Sylvain Pion 514a17ad4f Improve the interaction of assertions and interval computations.
Things like "CGAL_assertion(denominator != 0)" produced assertion failures for no gain.
So now, the assertion is triggered only if the condition is certain, using CGAL::certainly().
That is, change the following in all assertion files :
  ((EX)?(static_cast<void>(0)): ::CGAL::assertion_fail( # EX , __FILE__, __LINE__))
to :
  (CGAL::certainly(EX)?(static_cast<void>(0)): ::CGAL::assertion_fail( # EX , __FILE__, __LINE__))
2008-07-06 17:05:47 +00:00
Sylvain Pion 056901c578 Remove Borland workaround. 2008-01-20 22:50:29 +00:00
Sylvain Pion dc1be1898e Get rid of obsolete Window_stream (LEDA window) code. 2008-01-10 17:50:45 +00:00
Sylvain Pion 7a03b91d9e Get rid of CGAL_REP_CLASS_DEFINED 2008-01-03 19:13:08 +00:00
Sylvain Pion 360d29f72a Rename CGAL_CIRC_NULL to CGAL_NULL. 2007-12-28 15:40:36 +00:00
Sylvain Pion d49e006c53 Remove default argument "0" to calls to assertion_fail() et al,
as the default is now the empty string "".
It should fix the problem that we have lost the assertion messages
(seeing "what():  basic_string::_S_construct NULL not valid" instead),
for packages that use package-specific assertion macros.
2007-12-21 21:58:27 +00:00
Shlomo Golubev b91276c362 add typename 2007-09-20 08:07:44 +00:00
Andreas Fabri cb33e0c4f6 temporary fix in is_simple 2007-09-19 07:43:34 +00:00
Camille Wormser ce7b960958 Correcting the bug I found in is_convex by filtering
repeated points (and adding only one equality test at 
the beginning in the generic case).
2007-06-27 13:52:53 +00:00
Sylvain Pion 70fa015c19 Allow pointers as the underlying container's iterator
(spotted by Minkowski_sum_2 test-suite on SunCC+STLport).
2007-04-18 12:12:07 +00:00
Sylvain Pion 6441bd7342 remove empty first line 2007-02-15 14:50:53 +00:00
Ron Wein a3ea8fcdb7 Rename the *.C files to *_impl.h files, and removed non-interface include
files under the subfolder Polygon_2/
2006-05-29 07:28:42 +00:00
Laurent Saboret db6a8f948c Change CVS keywords to SVN style 2006-02-16 14:30:13 +00:00
Laurent Saboret 1aad55d4cb Change CVS keywords to SVN style 2006-02-14 10:08:15 +00:00
Laurent Saboret 06cd00bc12 Move packages to trunk root 2006-02-14 08:58:18 +00:00