Commit Graph

597 Commits

Author SHA1 Message Date
Mael Rouxel-Labbé 4694a48913 Merge remote-tracking branch 'cgal/master' into CGAL_IO-maxGimeno 2020-09-22 11:35:25 +02:00
Sébastien Loriot d4fb400250 add missing include 2020-08-28 08:19:32 +02:00
Dmitry Anisimov 263ad6bc99 fixed ch3, inter3, otr2, psp, pmp, smsp, mesh3 + cleanup 2020-08-20 18:25:01 +02:00
Sebastien Loriot b53767157f
Merge branch 'master' into CH3-dual_interior_point 2020-08-12 16:09:58 +02:00
Maxime Gimeno 9c15f2c9dc Use FeatureSummary in the demo, and remove CGAL_FOUND 2020-08-04 12:46:17 +02:00
Andreas Fabri d89ab5ef7c polish 2020-07-27 08:44:48 +01:00
Mael Rouxel-Labbé d5d8cca92b Various IO compilation fixes 2020-06-25 12:02:01 +02:00
Mael Rouxel-Labbé 9cca59ba36 Actually use the new IO functions + some example improvements 2020-06-23 18:24:39 +02:00
Mael Rouxel-Labbé 2d49f7d702 Countless IO fixes...
Don't have the patience to split it nicely
2020-06-21 12:03:28 +02:00
Sébastien Loriot 0fb8df6d52 typo 2020-05-19 09:24:48 +02:00
Sébastien Loriot 1819a0ed55 uniform indentation in the file 2020-05-18 18:19:40 +02:00
Sébastien Loriot 278a26d93f document the internal function used to compute an interior point 2020-05-18 18:18:01 +02:00
Sébastien Loriot c253679b2d unify np sentence 2020-04-18 16:27:58 +02:00
Sébastien Loriot 3b52dfd7de Merge remote-tracking branch 'cgal/master' 2020-04-18 14:47:28 +02:00
Mael Rouxel-Labbé 80f6f659f3 Update to new named parameters macros 2020-04-05 17:56:50 +02:00
Mael Rouxel-Labbé fc79510388 Regroup NP aliases into the base doxyfile.in 2020-04-04 17:26:32 +02:00
Mael Rouxel-Labbé e7d52999a8 Update PMP NPs to new macros 2020-03-29 17:16:50 +02:00
Sébastien Loriot 9f2eafd06e extra run of the script to remove tabs and trailing whitespaces 2020-03-26 19:17:02 +01:00
Sébastien Loriot 35b83deffd Update branch from master after trailing whitespaces and tabs removal 2020-03-26 19:16:25 +01:00
Sébastien Loriot 8bb22d5b2c extra run of the script to remove tabs and trailing whitespaces
right after the merge of the 5.0 release branch

+ manual fix of the files (indentation was changed in the meantime):
   * Spatial_sorting/include/CGAL/Multiscale_sort.h
   * Spatial_sorting/test/Spatial_sorting/test_multiscale.cpp
2020-03-26 14:26:59 +01:00
Sébastien Loriot 8b153fb495 Merge branch 'cgal/releases/CGAL-5.0-branch'
whitespace+tab removal, merged with option -Xignore-space-change
2020-03-26 14:22:32 +01:00
Sébastien Loriot 0779373835 extra run of the script to remove tabs and trailing whitespaces
right after the  merge of 4.14 release branch

+ manual fix on one line in:
    * Arrangement_on_surface_2/include/CGAL/IO/Arr_text_formatter.h
    * .travis/generate_travis.sh
2020-03-26 14:16:06 +01:00
Sébastien Loriot 0a46621dc6 Merge branch 'cgal/releases/CGAL-4.14-branch'
whitespace+tab removal, merged with option -Xignore-all-space
2020-03-26 13:28:46 +01:00
Sébastien Loriot 590612a563 run the script to remove tabs and trailing whitespaces 2020-03-26 13:25:16 +01:00
Mael Rouxel-Labbé 4e01ec78cf Fix copying points argument in Extreme_points_traits_adapter 2020-03-24 16:22:06 +01:00
Mael Rouxel-Labbé b2126afd6d Make indentation deterministic (no real changes) 2020-03-24 16:19:54 +01:00
Mael Rouxel-Labbé afb5abe61a Kernel is not a model of ConvexHullTraits_3 (but Extreme_points_... is)
K::Traits_xy/xz/yz_3 does not exist
2020-03-24 16:06:03 +01:00
Mael Rouxel-Labbé 6f90060e7d Flush before std::exit (otherwise nothing is printed) 2020-03-24 11:37:55 +01:00
Mael Rouxel-Labbé 99a0edbe61 Uniformize types and internal function names (CH_3) 2020-03-13 11:57:56 +01:00
Mael Rouxel-Labbé a846a1e19c Remove long-deprecated convex_hull_3_to_polyhedron_3()
Use convex_hull_3_to_face_graph()
2020-03-10 14:20:17 +01:00
Mael Rouxel-Labbé 8446ef1073 Clean #include's 2020-03-10 13:48:30 +01:00
Mael Rouxel-Labbé 1db10135a6 Change namespaces from internal::Convex_hull_3 to Convex_hull_3::internal
On-going uniformization work
2020-03-10 13:47:50 +01:00
Maxime Gimeno 2ec4c86573 facets -> faces 2020-02-14 09:21:01 +01:00
Maxime Gimeno a357a90b1f Changes after review 2020-02-10 15:49:54 +01:00
Maxime Gimeno fa14310c41 Add a test 2020-01-31 16:00:42 +01:00
Maxime Gimeno 2d72069c15 Add an overload of Convex_hull_3 for graphs 2020-01-31 14:28:17 +01:00
Sébastien Loriot 254d60f642 First pass on removing license notice in header for GPL files 2019-10-19 15:23:19 +02:00
Sébastien Loriot 7356421d80 introduce Commercial license SPDX tag 2019-10-19 12:15:19 +02:00
Sébastien Loriot 9bd9c68b83 update LGPL[23]+ and GPL[23]+ SPDX tags
ack -l --no-svg "SPDX-License-Identifier: GPL-3.0\+" | xargs sed -i "s/SPDX-License-Identifier: GPL-3.0+/SPDX-License-Identifier: GPL-3.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: LGPL-3.0\+" | xargs sed -i "s/SPDX-License-Identifier: LGPL-3.0+/SPDX-License-Identifier: LGPL-3.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: GPL-2.0\+" | xargs sed -i "s/SPDX-License-Identifier: GPL-2.0+/SPDX-License-Identifier: GPL-2.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: LGPL-2.0\+" | xargs sed -i "s/SPDX-License-Identifier: LGPL-2.0+/SPDX-License-Identifier: LGPL-2.0-or-later/"
2019-10-18 21:57:54 +02:00
Laurent Rineau 3d1450b71f Merge branch 'releases/CGAL-4.14-branch' 2019-07-23 17:17:06 +02:00
Laurent Rineau 8ce9207d10 Merge remote-tracking branch 'cgal/releases/CGAL-4.13-branch' into releases/CGAL-4.14-branch 2019-07-23 17:14:40 +02:00
Mael Rouxel-Labbé bb640d2883 Revert "Add Epick_without_intervals"
This reverts commit 621542afbd.

`Static_filters` actually inherits wraps the kernel with `Filtered_kernel_base`
and as such, the exact kernel is still a filtered kernel using intervals.
Possible fixes for the implementation of EPICK_without_intervals are discussed
in https://github.com/CGAL/cgal/pull/3939.
2019-07-18 17:00:46 +02:00
Mael Rouxel-Labbé f68141a6d3 Merge branch 'PMP-Locate-GF-old' into PMP-Locate-GF 2019-07-01 11:28:25 +02:00
Laurent Rineau 32f80cbece Merge pull request #4018 from lrineau/CGAL-refresh_cmake_minimum_required-GF
CMake>=3.13: opt for for new policies up to 3.15
2019-07-01 11:16:30 +02:00
Mael Rouxel-Labbé 7a5486962d Merge branch 'PMP-Locate-GF-old' into PMP-Locate-GF 2019-06-20 14:49:25 +02:00
Laurent Rineau 8535a3c03c Merge branch 'releases/CGAL-4.14-branch'
# Conflicts:
#	Apollonius_graph_2/include/CGAL/Apollonius_graph_2/Apollonius_graph_2_impl.h
#	Convex_hull_3/include/CGAL/convex_hull_3.h
#	Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/Corefinement/face_graph_utils.h
#	Polyhedron/demo/Polyhedron/Plugins/Mesh_3/Mesh_3_plugin_cgal_code.cpp
#	Stream_support/include/CGAL/IO/Color.h
2019-06-20 14:20:37 +02:00
Laurent Rineau b0f1f90a4d Merge branch 'releases/CGAL-4.13-branch' into releases/CGAL-4.14-branch 2019-06-20 14:08:25 +02:00
Laurent Rineau 4fbf00fb8a CMake>=3.13: opt for for new policies up to 3.15 2019-06-19 14:34:59 +02:00
Mael Rouxel-Labbé 7f6cb0411c Merge branch 'PMP-Locate-GF-old' into PMP-Locate-GF 2019-06-18 08:20:16 +02:00
Andreas Fabri 4581f1b7a8 Morte replacements 2019-06-05 08:39:55 +02:00
Andreas Fabri 44e6065710 Improve documentation 2019-05-24 17:47:25 +02:00
Andreas Fabri 4ac7d2004d Improve doc 2019-05-24 17:32:14 +02:00
Laurent Rineau 5dc823d509 Merge branch 'releases/CGAL-4.14-branch' 2019-05-23 08:49:56 +02:00
Laurent Rineau 7be5e3fbe5 Merge branch 'releases/CGAL-4.13-branch' into releases/CGAL-4.14-branch 2019-05-23 08:44:39 +02:00
Andreas Fabri d6801852cc Merge branch 'Kernel_23-Epick_without_interval-GF' of github.com:lrineau/cgal into Kernel_23-Epick_without_interval-GF 2019-05-22 15:24:46 +02:00
Laurent Rineau a126f2173e Use is_certain to avoid throwing exceptions 2019-05-22 15:21:50 +02:00
Andreas Fabri fc7c51bec5 Merge remote-tracking branch 'lrineau/Convex_hull_3-fix_Convex_hull_traits_3_default_of_third_arg-GF' into Kernel_23-Epick_without_interval-GF 2019-05-22 12:46:04 +02:00
Laurent Rineau 0861367169 Replace the planes by a vector+point
The idea with those planes is a sort of pre-computation of minors of
the determinant of the orientation of `(p,q,r,s)`, with `(p,q,r)`
fixed. But the three minors are only the coordinates `(a,b,c)` of the
plane defined by `(p,q,r)`, and the coordinate `d` is the determinant
of the orientation of `(p,q,r,O)` where `O` is the origin of the
Euclidean plane. We do not want to compute that `d`!

So, instead of computing planes, one computes only the normal
`(a,b,c)` of the plan `(p,q,r)`, and a stores it with `p`. That allows
to compute the determinant of `orientation(p,q,r,s)` once `s` is
known.
2019-05-22 12:06:40 +02:00
Laurent Rineau 03202d874f Fix the default of 3rd template parameter of Convex_hull_traits_3
The documentation of `convex_hull_3` says that, if the kernel is "like
`Epick`", then the default traits class of `convex_hull_3` is
`Convex_hull_traits_3`.

But that is wrong, because `Convex_hull_traits_3` is documented with
only two template parameters, and if the kernel is "like `Epick`", the
third argument is `CGAL::Tag_true`, whereas the default of that
parameter is `CGAL::Tag_false`. If users want to write explicitly the
traits in the call to `convex_hull_3`, they cannot know that there is
a third parameters, and that it must be `Tag_true`.

This commit fixes the default of that third argument.
2019-05-17 16:44:14 +02:00
Laurent Rineau 621542afbd Add Epick_without_intervals
That `Epick` without the dynamic filters: only the static filters are
applied before the exact computation.
2019-05-16 15:10:40 +02:00
Laurent Rineau 90782d4b7f Revert the merge of two pull-requests that target CGAL-4.14-branch
- Revert "Merge pull request #3857 from MaelRL/CGAL-Fix_duplicate_non_manifold_vertices-GF"
- Revert "Merge pull request #3898 from lrineau/Mesh_3-stop_during_protection-lrineau"
2019-05-14 17:50:45 +02:00
Mael 0efaed2095
Merge branch 'master' into PMP-Locate-GF 2019-05-06 15:57:09 +02:00
Mael Rouxel-Labbé 9cba48acfe Fixed TDS graph traits implementation and factorized some parts with other T2 GT 2019-04-29 13:22:45 +02:00
Sébastien Loriot 564a6c72f4 Merge remote-tracking branch 'cgal/releases/CGAL-4.14-branch' 2019-04-23 10:46:32 +02:00
Sébastien Loriot 0651c97fdd Merge remote-tracking branch 'cgal/releases/CGAL-4.13-branch' into HEAD 2019-04-23 10:45:27 +02:00
Sébastien Loriot e54c24f0a4 correct forwarding of projection traits 2019-04-15 16:58:22 +02:00
Simon Giraudot d314711eaf Merge remote-tracking branch 'mine/Stream_support-Enhance_color-GF' into Stream_support-Enhance_color-GF 2019-04-09 15:00:56 +02:00
Simon Giraudot 2c1ca1e893 Replace old color API using global const variable with new one using functions 2019-04-03 11:51:29 +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 d60f5645aa replace BOOST_FOREACH by c++ ranged-based for loop
some of the command used for the replacement:
ack --cpp  BOOST_FOREACH -l  | xargs sed -i -E "s/BOOST_FOREACH\(([a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack --cpp  BOOST_FOREACH -l  | xargs sed -i -E "s/BOOST_FOREACH\((const [a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack --cpp  BOOST_FOREACH -l  | xargs sed -i -E "s/BOOST_FOREACH\((const typename [a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack --cpp  BOOST_FOREACH -l  | xargs sed -i -E "s/BOOST_FOREACH\((typename [<>a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack "boost/foreach.hpp" -l --cpp | xargs sed -i '/boost\/foreach.hpp>/d'
2019-03-29 13:22:15 +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 e989b87dfe Distance, Generator, HDS, Convex_hull, Polyhedron, PCA 2019-02-14 10:39:56 +01:00
Sébastien Loriot 59bc453b42 first batch of replacement for level 1 in classified ref man
command used:
grep -l  "##" */doc/*/PackageDescription.txt | xargs  sed -i  -E 's/\#\#\s*([[:print:]]+[[:alnum:]])\s*\#\#\s*$/\\cgalCRPSection{\1}/'
2019-02-14 10:32:39 +01:00
Guillaume Damiand 7d406fbb9c
Merge branch 'master' into CGAL-cmake_cleanup-gdamiand 2018-11-05 07:32:58 +01:00
Sébastien Loriot bc073d6670 Merge remote-tracking branch 'cgal/releases/CGAL-4.13-branch' 2018-11-02 10:57:00 +01:00
Laurent Rineau 821f9c015e Merge pull request #3311 from sloriot/Doc-Pkg_link_name
Update the name of package names reference links
2018-10-29 10:27:53 +01:00
Sébastien Loriot 10977d91b8 fix the 2D algorithm calls in case of coplanar points 2018-10-26 09:58:52 +02:00
Sébastien Loriot 858947c0c1 fix wrong concept 2018-10-25 10:43:45 +02:00
Guillaume Damiand 92ba7fa6c9 Update minimum cmake required version in all CMakeLists.txt 2018-10-18 14:49:23 +02:00
Guillaume Damiand 0bd9088b5a Remove all include( ) and include( CGAL_CreateSingleSourceCGALProgram ) in CMakeLists.txt; they are no more required. 2018-10-17 14:17:08 +02:00
Laurent Rineau a0d23abd32 Merge pull request #3357 from afabri/Convex_hull_3-use_static_filters-GF
Convex_hull_3: Fix so that static filters are used
2018-10-08 15:13:22 +02:00
Laurent Rineau ac9b71951b Merge pull request #3357 from afabri/Convex_hull_3-use_static_filters-GF
Convex_hull_3: Fix so that static filters are used
2018-10-08 15:11:46 +02:00
Sébastien Loriot ea240cfac5 use \PkgXXX instead of \PkgXXXSummary 2018-10-08 10:28:44 +02:00
Sébastien Loriot a2e8a1c68f add the suffix Ref to doxygen link to reference 2018-10-08 10:26:56 +02:00
Sébastien Loriot 885cc02c62 fix activation of local static filters 2018-10-01 10:31:21 +02:00
Andreas Fabri a88438e07d Fix so that static filters are used 2018-09-29 08:22:42 +02:00
Sebastien Loriot 327f7d8fbd
Merge branch 'master' into convex_hull_function 2018-07-19 10:21:26 +02:00
Maxime Gimeno 2f319d332e Remove init_iterators. It works without and like this there is no need to change the traits 2018-07-16 09:58:15 +02:00
Sébastien Loriot 0037edc529 use statically filtered predicate 2018-07-13 16:56:16 +02:00
Sébastien Loriot d3a8a07df3 do not use negative side
change plane's orientation instead
2018-07-13 16:47:11 +02:00
Maxime Gimeno c945d27dc2 Fix Convex_hull_3 so it becomes minimal. 2018-07-12 16:49:27 +02:00
Sébastien Loriot 7c29045230 use assert 2018-07-06 09:40:07 +02:00
Sébastien Loriot 998c20dd74 add missing example file 2018-07-05 09:40:11 +02:00
Sébastien Loriot fc3cbf7572 remove extra typename 2018-07-05 09:38:25 +02:00
Sébastien Loriot b291dd815b update user manual and add a new example 2018-07-03 16:46:38 +02:00
Maxime Gimeno eb10e59623 Fix and more clean-up of the doc 2018-07-03 11:39:33 +02:00
Maxime Gimeno 276871d708 Update and clean up the doc 2018-07-03 10:46:15 +02:00
Maxime Gimeno f3dd3ba1c0 Document adapter traits. 2018-06-27 10:27:19 +02:00
Maxime Gimeno 13bf29eca5 Add missing data file for test 2018-06-27 09:00:11 +02:00
Maxime Gimeno 4662cbdd96 Revert "Fix initialization of overload with polyhedorn"
This reverts commit 6e39f1aa05.
2018-06-27 08:55:48 +02:00
Maxime Gimeno a5b6e6a576 Revert "Add missing Comparison predicates to Convex_hull_dual_traits_3"
This reverts commit d93ac04702.
2018-06-27 08:55:38 +02:00
Maxime Gimeno 32b61995f7 Revert "add an extra check"
This reverts commit 5a1d034399.
2018-06-27 08:55:21 +02:00
Sébastien Loriot 5a1d034399 add an extra check 2018-06-26 22:30:58 +02:00
Sébastien Loriot 443b20d428 test homogeneous kernel 2018-06-26 22:15:20 +02:00
Maxime Gimeno a8314d0f0f Fix static_assertion 2018-06-26 16:23:57 +02:00
Maxime Gimeno 79b1a1bbbf add misisng license include directive 2018-06-26 14:44:18 +02:00
Maxime Gimeno d93ac04702 Add missing Comparison predicates to Convex_hull_dual_traits_3 2018-06-26 14:42:33 +02:00
Maxime Gimeno 6e39f1aa05 Fix initialization of overload with polyhedorn 2018-06-26 12:45:13 +02:00
Maxime Gimeno 1d4829cd31 Update doc of ConvexHullTraits_3 2018-06-22 11:58:18 +02:00
Maxime Gimeno 9d30fc2c98 add missing construct_objects to Convex_hull_traits_dual 2018-06-22 11:57:58 +02:00
Maxime Gimeno 58bc2faeff Add overload without traits and clean-up test. 2018-06-20 11:21:41 +02:00
Maxime Gimeno 91c704b7ca doc 2018-06-20 11:17:38 +02:00
Maxime Gimeno f1b14bd216 Do some factorization in the traits 2018-06-20 11:16:35 +02:00
Sébastien Loriot c527fa4bcf simplify wrapper around Has_on_positive_side_3
add a specialization for the new traits
2018-06-20 11:16:35 +02:00
Maxime Gimeno cbfa58e75f WIP 2018-06-20 11:16:35 +02:00
Maxime Gimeno d6450f397a WIP extreme_vertices :
- disabled the filtered_predicates for now
2018-06-20 11:16:35 +02:00
Maxime Gimeno 69392fc32f WIP adapter_traits 2018-06-20 11:16:35 +02:00
Sébastien Loriot 202a0ce9e6 clean up 2018-06-07 10:28:56 +02:00
Konstantinos Katrioplas be4dfe77ac handle convex hull functionality for up to 3 points to a mutable graph and to an output iterator 2018-06-07 10:28:55 +02:00
Konstantinos Katrioplas ec000ea312 function overload for convex_hull_3 which returns a list of points instead of a polyhedron 2018-06-07 10:28:32 +02:00
Andreas Fabri 991f3847e8 Do not include graph_traits_Polyhedron.h, properties_polyhedron.h and Polyhedron_iostream.h 2018-05-03 13:23:50 +02:00
Andreas Fabri 643aaf2dcf Fix voronoi_covariance_3 and HalfedgeDS_vector 2018-03-29 11:44:25 +02:00
Laurent Rineau 9414b38b87 Fix dependencies 2018-03-28 18:43:45 +02:00
Andreas Fabri 20f43ca798 Fix lloyd_algorithm.cpp 2018-03-28 17:26:55 +01:00
Andreas Fabri 4a4c77cbf1 Cleanup. And tell in the manual that the user has to include the header of the Polygon_mesh type 2018-03-28 17:23:06 +01:00
Andreas Fabri 6e42801dc7 Convex_hull_3: Remove dependency on package Polyhedron 2018-03-28 15:02:59 +01:00
Andreas Fabri 76ccc9ab6f Convex_hull_3: Remove dependency on package Polyhedron 2018-03-28 14:59:22 +01:00
Laurent Rineau 0a74393dcf Commit all new dependencies files 2018-03-06 18:44:48 +01:00
Laurent Rineau 78e7060525 Merge pull request #2712 from afabri/CGAL-VC+warnlevel_4-GF
Deal with VC++ warnings of level /W4
2018-02-19 14:27:06 +01:00
Maxime Gimeno 688b5dd06e Move dependencies creation to package_info and add dependencies to git 2018-02-02 12:08:05 +01:00
Maxime Gimeno 8bde832931 Fix METIS headers in BGL 2018-02-02 12:08:05 +01:00
Maxime Gimeno a676d5a60e Try to fix errors in classification checks 2018-02-02 12:08:05 +01:00
Maxime Gimeno acd0a72edf Modify travis script to test dependencies 2018-02-02 12:08:05 +01:00
Maxime Gimeno ae36b452bc Add dependencies of all packages 2018-02-02 12:08:05 +01:00
Maxime Gimeno 7fa4b380d2 fixes in includes logic. 2018-02-02 12:08:05 +01:00
Andreas Fabri c493359b62 Convex_hull_3 2018-01-18 10:11:33 +00:00
Andreas Fabri e34529aa9a PSP 2018-01-17 21:17:51 +00:00
Laurent Rineau 1c2e9df8cf Merge branch 'releases/CGAL-4.11-branch' 2017-12-19 16:29:10 +01:00
Laurent Rineau 5181cd7474 Merge branch 'releases/CGAL-4.10-branch' into releases/CGAL-4.11-branch
# Conflicts:
#	Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/measure.h
2017-12-19 16:19:22 +01:00
Laurent Rineau c4a7adcd5b Merge pull request #2688 from lrineau/Convex_hull_3-fix_quickhull_in_coplanar_case-GF
Fix Convex_hull_3 quickhull, with coplanar point
2017-12-19 16:17:29 +01:00
Laurent Rineau 03913cca16 Merge pull request #2660 from sloriot/CH3-official_add_vertex
Use documented API
2017-12-19 16:13:26 +01:00
Laurent Rineau 22d5a5b884 Fix Convex_hull_3 quickhull, with coplanar point
`CGAL::convex_hull_3` documents that the output is a triangulation
polyhedron. That is true... but for coplanar input points! In case of
coplanar input point, the output before this patch was a polyhedron with a
single polygonal face. The patch triangulates the face using a pivot point
and Euler operations.
2017-12-15 10:45:25 +01:00
Sébastien Loriot 9dd6684627 use only add_vertex function described in the concept 2017-12-06 16:42:06 +01:00
Laurent Rineau 3c6640bf59 Merge pull request #1436 from lrineau/CGAL-new_cmake-GF
Renewal of CMake scripts: header-only, ctest, CMake>=3.1

# Conflicts:
#	Installation/config/testfiles/CGAL_CFG_NESTED_CLASS_FRIEND_DECLARATION_BUG.cpp
2017-12-05 18:20:05 +01:00
Laurent Rineau bc36af5eed Fix CMake warnings about mixed usage of target_link_libraries
See https://cmake.org/cmake/help/v3.0/policy/CMP0023.html
2017-11-22 11:06:26 +01:00
Laurent Rineau a9365554c9 Merge pull request #2550 from sloriot/CGAL-add_SPDX_tags
Add SPDX License Identifier
2017-11-15 16:48:27 +01:00
Sébastien Loriot ee57fc2d6c add SPDX identifier for files under the GPL-3+ license 2017-11-12 10:17:51 +01:00
Laurent Rineau 62c70d41ca Renew the handle of policies, for CMake-3.10
Now that we require CMake>=3.1, we can forget a lot of old CMake policies.

`CMP0053` `OLD` behavior is still needed, because of a bug in Qt5 CMake files, but it will
not be set with CMake>=3.10. Let's assume that a recent CMake version means
a recent Qt5 version.
2017-11-06 14:58:36 +01:00
Laurent Rineau e73c95d4cd Do not test demos 2017-10-20 17:01:43 +02:00
Sébastien Loriot eaa1580135 remove example that does not exist 2017-08-02 10:08:41 +02:00
Andreas Fabri fd7c2134de fix example 2017-07-31 22:40:42 +01:00
Laurent Rineau e61409f770 Merge pull request #2321 from sloriot/CH3-fix_tetra_orientation
fix the orientation of convex hull polyhedron of 4 points
2017-07-31 16:50:48 +02:00
Sébastien Loriot 04ab1fd268 fix the orientation of the generated polyhedron in case of 4 non-coplanar points 2017-07-31 10:40:51 +02:00
Laurent Rineau aff2a7a899 Merge pull request #2287 from maxGimeno/Fix_GCC8_warnings-GF
Fix new -Wcatch-value warnings (gcc>=8.0)
2017-07-25 18:17:42 +02:00
Laurent Rineau 66a10f5a91 Merge pull request #2275 from afabri/Convex_hull_3-OpenMesh-GF
Convex_hull_3: Make it work for OpenMesh
2017-07-25 18:17:02 +02:00
Maxime Gimeno 96f7b0f138 Fix catch value warnings 2017-07-21 11:27:14 +02:00
Andreas Fabri df2754eaa4 Fix project() in CMakeList.txt 2017-07-21 10:54:16 +02:00
Laurent Rineau 5899b3072b Fix indentation 2017-07-19 12:26:12 +02:00
Laurent Rineau 56fdea43d3 Fix indentation 2017-07-19 12:26:09 +02:00
Andreas Fabri 0cce789437 Add examples for using 3D convex hull functions with open mesh. And fix a bug in convex hull code 2017-07-19 12:25:31 +02:00
Guillaume Damiand 8059f82882 Re-add dynamic_hull_3.cpp example, removed by error. 2017-06-28 09:25:58 -04:00
Guillaume Damiand c8250c4570 Merge branch 'master' into BGL-LCC-gdamiand 2017-06-15 10:03:53 -04:00
Maxime Gimeno 5ae96fc2aa Explicitely set the policy of CMP0053 to OLD to silent the warning when it is not found. 2017-05-23 16:12:56 +02:00
Guillaume Damiand 885ef4775a Update examples and tests following renaming of BGL LCC helpers. 2017-05-10 16:20:11 -04:00
Guillaume Damiand 755272148a Cleanup BGL for LCC; add shortcut for item with id to simplify definition. 2017-03-31 17:11:36 -04:00
Guillaume Damiand 13ed16043b Update BGL for LCC and continue on examples/tests 2017-03-29 14:22:27 -04:00
Laurent Rineau 1a2f617d89 Merge pull request #1843 from afabri/BGL_accelerate_copy_face_graph-GF
Accelerate copy_face_graph
2017-02-08 17:32:47 +01:00
Andreas Fabri 8d1db09275 The vertices must set_face() 2017-02-07 10:51:24 +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
Maxime Gimeno a01593e0bb Unify the links to the Polyhedron demo in the package descriptions. 2017-01-10 14:56:52 +01:00
Sébastien Loriot abdf04ad3c add deprecation warning 2016-12-29 12:09:05 +01:00
Sébastien Loriot 7e89c58fc5 remove no longer relevant warning 2016-12-29 12:06:02 +01:00
Sébastien Loriot 1258b7fae4 use BGL function instead of member function 2016-12-29 12:01:47 +01:00
Sébastien Loriot 31e5739a03 forward polyhedron type to the default traits 2016-12-29 12:00:42 +01:00
Andreas Fabri e24a7f6c3d Convex_hull_3: Put a class in the namspace CGAL 2016-12-09 17:39:44 +01:00
Andreas Fabri 7e95fe78c0 MFG -> PolygonMesh 2016-12-01 12:05:14 +01:00
Andreas Fabri c2a71f8265 doc fix 2016-12-01 09:56:14 +01:00
Andreas Fabri 4153116123 Remove dependency on Polyhedron_3 in package description 2016-12-01 09:45:32 +01:00
Sébastien Loriot 7ddf66ba96 add missing dependancy 2016-11-30 13:07:33 +01:00
Andreas Fabri 466995a31b Add typedef for Polyhedron_3 2016-11-30 11:56:52 +01:00
Andreas Fabri d077bb18f7 P -> pm 2016-11-30 10:59:45 +01:00
Andreas Fabri 3fc151b0dd polish, e.g. P -> pm 2016-11-30 10:32:40 +01:00
Andreas Fabri 9ee11501ac Changes after the review by Sebastien 2016-11-30 10:03:00 +01:00
Andreas Fabri 04819599cd some simple doc fixes 2016-11-30 08:40:04 +01:00
Andreas Fabri 394f9c5b2f polish 2016-11-28 08:32:30 +01:00
Andreas Fabri f451517eb3 improve doc 2016-11-28 08:22:17 +01:00
Andreas Fabri 332ae157f6 make halfspace_itersectios work with FaceGraph 2016-11-27 20:28:44 +01:00
Andreas Fabri 6c9d30d5bc Go back from unordered_map to map. This fixes the testuite, but what is wrong with unorered_map??? 2016-11-27 11:21:08 +01:00
Andreas Fabri 683490b2aa star -> link 2016-11-26 10:46:54 +01:00
Andreas Fabri 10df561578 Cannot assign to a reference 2016-11-25 16:58:03 +01:00
Laurent Rineau 873e83a429 try to fix compilation errors 2016-11-25 16:51:45 +01:00
Andreas Fabri 0fbe03a5db Fix section heading 2016-11-25 15:55:02 +01:00
Andreas Fabri e9bb53f13a polish + map -> unordered_map 2016-11-25 14:34:19 +01:00
Andreas Fabri 6082836e2e Add examples 2016-11-25 14:33:05 +01:00
Andreas Fabri ad85e5ecd7 Fix include guards 2016-11-25 06:36:52 +01:00
Andreas Fabri 1499951a18 Do not deprecate convex_hull_3_to_polyhedron_3 2016-11-25 06:09:55 +01:00
Andreas Fabri ab87401a7b Add data set 2016-11-24 18:50:54 +01:00
Andreas Fabri d99a4d6236 Add example to examples.txt 2016-11-24 14:26:09 +01:00
Andreas Fabri ed838bf943 Fix a bug also in 4.9, with 3 collinear points 2016-11-24 14:24:11 +01:00
Andreas Fabri b6ff5e6932 Reorder sections in the manual, and add Surface_mesh in the exaxmple 2016-11-24 13:56:08 +01:00