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
Andreas Fabri
cd7e65e708
Fix doc of convexity_check()
2016-11-24 12:18:05 +01:00
Andreas Fabri
54987251de
Add typename
2016-11-24 08:30:36 +01:00
Andreas Fabri
b13f541ca4
Merge branch 'Convex_hull_3-FaceGraph-GF' of github.com:afabri/cgal into Convex_hull_3-FaceGraph-GF
2016-11-23 11:57:08 +01:00
Andreas Fabri
1e87967cba
bug fix
2016-11-23 11:52:10 +01:00
Laurent Rineau
7af20f34a9
Fix compilation with GNU/g++
2016-11-22 14:56:37 +01:00
Andreas Fabri
e26e60dd6c
Add Default to Convex_hull_graph_traits_3; BGLize some code
2016-11-22 12:27:18 +01:00
Andreas Fabri
4d4db0cd70
Move star_to_face_graph() to Triangulation_3
2016-11-21 17:51:41 +01:00
Andreas Fabri
698e0941ea
Make polyhedral surface a template parameter
2016-11-21 08:35:01 +01:00
Andreas Fabri
32b1fb1c90
reserve
2016-11-19 08:02:59 +01:00
Andreas Fabri
b14a99cdf8
unused typedef
2016-11-18 20:39:10 +01:00
Andreas Fabri
e4d2a7f2e1
fixes for bugs spotted by g++
2016-11-18 17:56:24 +01:00
Andreas Fabri
63dfd4f992
check_convexity for FaceGraph
2016-11-18 16:47:53 +01:00
Andreas Fabri
ac56f8c059
fix index
2016-11-18 15:13:31 +01:00
Andreas Fabri
e4d1b68178
simplifications
2016-11-18 13:08:33 +01:00
Andreas Fabri
dacc7ee841
remove code deprecated with 4.6
2016-11-18 11:13:16 +01:00
Andreas Fabri
0bcafc536f
use copy_face_graph() so that we produce also a Surface_mesh
2016-11-18 10:35:26 +01:00
Andreas Fabri
8b8c52cf7f
fix typos in the doc
...
Add boost::graph_traits for a TDS_2
2016-11-18 09:41:40 +01:00
Sébastien Loriot
7e2ee496de
update project name of cmake scripts of tests
2016-09-08 00:26:37 +02:00
Sébastien Loriot
6b338eeb1f
improve the name of projects in cmake scripts of examples
2016-09-08 00:02:55 +02:00
Sébastien Loriot
4c29bf1b44
CMAKE_SOURCE_DIR -> CMAKE_CURRENT_SOURCE_DIR
2016-03-24 16:33:46 +01:00
Sébastien Loriot
881e4d3199
request Core only in examples, tests and demos when really needed
2016-03-07 22:36:57 +01:00
Sébastien Loriot
2d191d6651
commit CMakeLists.txt for all examples and tests
2016-03-07 17:39:36 +01:00
Philipp Möller
0a04a3a48f
Use CGAL_DOC_VERSION
2016-02-11 15:37:54 +01:00
Andreas Fabri
4c9c668dc9
deal with deprecated code
2016-02-01 15:52:52 +01:00
Sebastien Loriot
c2099f758c
Merge pull request #684 from sloriot/CH3-fix_lloyd_ex
...
Convex_hull_3: fix lloyd example
2016-01-27 13:37:37 +01:00
Sébastien Loriot
faf11a89d1
filter out the infinite vertex
2016-01-26 12:10:18 +01:00
Philipp Möller
71b4e9c515
Use CGAL_FULL_VERSION in all Doxyfile.in
2015-12-17 16:33:28 +01:00
Philipp Möller
81a8f982dc
Handle the easy INPUT cases
...
If INPUT is just PKG/doc/PKG, handle it automatically.
2015-12-10 17:00:26 +01:00
Andreas Fabri
6e214c5f4a
remove Qt3 demos and empty dontsubmit files
2015-09-30 12:51:40 +02:00
Andreas Fabri
1e2ff1131e
assert -> CGAL_assertion
2015-08-27 16:51:55 +02:00
Sébastien Loriot
cb479491d5
Merge remote-tracking branch 'cgal/releases/CGAL-4.6-branch'
2015-07-24 16:09:13 +02:00
Sébastien Loriot
387ad98343
add new line at end of test file
2015-07-24 15:50:42 +02:00
Sébastien Loriot
f3f73d10a1
fix halfspace intersection for a kernel with exact constructions
2015-07-23 09:13:41 +02:00
Laurent Rineau
15c1469a54
CGAL requires CMake>=2.8.11.
2015-07-10 17:01:42 +02:00
Laurent Rineau
3ec0c69f8f
We want 2.8.10 for all demos
...
Previous versions are not tested by the CGAL daily test suite.
2015-07-09 17:50:22 +02:00
Laurent Rineau
e5bcdc5f3e
Update all CMakeLists.txt
...
- CMake 2.8.11 or later is now required
- GLEW is no longer used by demo/Polyhedron/
2015-07-06 18:14:34 +02:00
Sébastien Loriot
44b7a2bbc3
float -> double
2015-06-09 10:33:33 +02:00
Sébastien Loriot
1699dc8b48
do a check on a construction only if a kernel with exact constructions is used
2015-06-05 11:02:33 +02:00
Sébastien Loriot
52a61708e1
prevent a construction and handle case of collinear points
2015-06-05 10:59:41 +02:00
Sébastien Loriot
c2cd87865e
Merge branch 'old/gsoc2014-VCM_3-jmeyron' into gsoc2014-VCM_3-jmeyron
...
Conflicts:
Installation/changes.html
Point_set_processing_3/doc/Point_set_processing_3/PackageDescription.txt
Point_set_processing_3/doc/Point_set_processing_3/Point_set_processing_3.txt
Point_set_processing_3/doc/Point_set_processing_3/examples.txt
Point_set_processing_3/examples/Point_set_processing_3/CMakeLists.txt
Polyhedron/demo/Polyhedron/CMakeLists.txt
2015-06-04 11:27:56 +02:00
Sébastien Loriot
f1bbc9d170
use Exact_field_selector instead of hardcoded types
2015-05-15 10:27:34 +02:00
Sébastien Loriot
8c3f8a9e8e
update description
2015-05-15 10:19:10 +02:00
Sébastien Loriot
46c2727ea9
add assertions to ensure the origin is on the negative side of the input planes
2015-05-15 10:15:26 +02:00
Sébastien Loriot
50c8db347b
factorize the call to the convex hull of the dual
2015-05-15 10:09:09 +02:00
Sébastien Loriot
6554279e9a
fix the test for the dimension of the affine hull of the dual points
2015-05-12 10:21:53 +02:00
Sébastien Loriot
8bd72701a1
fix warning
2015-05-12 09:31:48 +02:00
Sébastien Loriot
06be9cf705
bug-fix: fix the orientation of the convex polyhedron
2015-05-11 22:37:29 +02:00
Sébastien Loriot
274bdd6357
bug-fix: always find a point interior even in release mode
...
assertions are deactivated in release mode
2015-05-11 22:06:13 +02:00
Sébastien Loriot
b3cd542eb4
link less
2015-05-11 21:51:15 +02:00
Sébastien Loriot
877dba1dfa
simplify check
2015-05-11 21:49:08 +02:00
Sébastien Loriot
c3694ea631
fix iterator type
2015-05-11 21:21:29 +02:00
Sébastien Loriot
ebfcedce38
fix the way to specify the point inside the intersection of halfspaces
2015-05-11 17:52:53 +02:00
Jocelyn MEYRON
532e03e231
move lloyd_algorithm example and wipe out Voronoi_covariance_3 package
2015-04-21 17:03:18 +02:00
Sébastien Loriot
4f90661b83
remove incremental hull demo
2015-02-16 08:29:32 +01:00
Sébastien Loriot
ac42ed4f66
deprecate 3D incremental convex hull
2015-02-12 09:43:29 +01:00
Laurent Rineau
e965b6293e
Fix compilation errors with C++11 and Boost-1.56
...
Use *explicit* conversions to `bool`, for boost::shared_ptr and
boost::optional.
2015-01-14 14:47:29 +01:00
Sébastien Loriot
aa3feae736
Remove no longer needed predicates/constructions
...
follow up of 90ee311ba9
2015-01-09 12:27:23 +01:00
Sébastien Loriot
4f46679435
Merge branch 'releases/CGAL-4.5-branch'
2015-01-09 12:23:06 +01:00
Sébastien Loriot
b7caf33fbd
filter the predicates in Convex_hull_traits_3 if requested
2015-01-09 12:20:14 +01:00
Sébastien Loriot
90ee311ba9
fix the detection of the projection plane to compute a 2D chull
...
The previous version was using a construction.
The concept and models become simpler.
2015-01-09 12:14:56 +01:00
Sébastien Loriot
cecd1464d9
Merge remote-tracking branch 'gsoc/gsoc2014-Convex_hull_3_dual-jmeyron'
...
Add functions to compute the finite intersection of halfspaces
See Features/Small_Features/Halfspace_intersection
Tested in 4.6-Ic-76
Approved by the release manager
2014-12-16 11:44:55 +01:00
Jocelyn MEYRON
59c31c9570
fix errors on tests and fix warnings
2014-11-13 15:05:24 +01:00
Sébastien Loriot
b5f728bfb5
fix warning
2014-11-13 11:57:08 +01:00
Sébastien Loriot
3dbc4880c6
move test files from gsoc2014-VCM_3-jmeyron@276e4bb8
2014-11-13 11:52:28 +01:00
Sébastien Loriot
f822c6516c
rename a variable to avoid confusion
...
trivial bugfix for master
2014-11-12 15:58:28 +01:00
Sébastien Loriot
e8f43d0a76
add comment into an example
2014-11-12 09:34:37 +01:00
Sébastien Loriot
0f3f672225
polish doc
2014-11-12 09:32:01 +01:00