Commit Graph

81749 Commits

Author SHA1 Message Date
Sébastien Loriot 543495e8e0 build the kd-tree only if the AABB-tree is built
this avoid issues when using thread where the kd-tree is used
while being reconstructed
2018-07-18 17:40:09 +02:00
Mael Rouxel-Labbé 71cd6930bc Simply call insert in 'insert_in_hole' of the periodic mesh triangulation 2018-07-18 17:33:37 +02:00
Mael Rouxel-Labbé 80f69e0e54 Fixed c3t3 facets extraction in the demo 2018-07-18 17:18:17 +02:00
Mael Rouxel-Labbé e5cbe7eb1e Use facets_in_complex_3_to_TM in Boundary_of_subdomain off functions 2018-07-18 17:17:47 +02:00
Mael Rouxel-Labbé 7fcb3d6da6 Reworked facets in complex extractor
Some optimizations, orient properly, create an internal function
to extract a specific subdomain index
2018-07-18 17:17:15 +02:00
Mael Rouxel-Labbé 7c68a8a743 Added a quick return to P3RT3 set_point() if the new position is the current one 2018-07-18 16:51:43 +02:00
Mael Rouxel-Labbé 8baecca728 Added a quick return in topo change checks
Useful because it returns 'true' for periodic triangulations, whereas it
normally always returns 'false'. This means that set_point() is used in
move_point(), which also has a quick return for periodic triangulation
when calling set_point() with the same position as the current vertex position.
2018-07-18 16:50:18 +02:00
Mael Rouxel-Labbé 542bf5fd6e Cleaned C3T3_helpers output 2018-07-17 18:24:10 +02:00
Sébastien Loriot 3a3bfcfd09 do not build the kd-tree twice
build() will trigger the computation of the kd-tree if it was already built
2018-07-17 14:31:53 +02:00
Sébastien Loriot 869f1c01b0 init next pointer we rely on in the algorithm 2018-07-17 09:56:47 +02:00
Maxime Gimeno 02eb21861e Make light position fixed in Camera coordinates and fix reset Default. 2018-07-16 15:17:52 +02:00
Maxime Gimeno 390967dfe6 Fix warnings 2018-07-16 14:24:53 +02:00
Sébastien Loriot d1ac382a87 update changes 2018-07-16 13:59:51 +02:00
Laurent Rineau bd74024192 Merge remote-tracking branch 'cgal/master' 2018-07-16 11:16:22 +02:00
Laurent Rineau da14713a26 updated crontab (automated commit) 2018-07-16 11:16:10 +02:00
Laurent Rineau bbef4cf18d Merge branch 'releases/CGAL-4.12-branch' 2018-07-16 11:13:48 +02:00
Laurent Rineau e92a3770f4 Merge pull request #3230 from MaelRL/Polygon_2-Fix_filter_collinear_points-GF
Polygon: Fix `filter_collinear_points()` early return
2018-07-16 11:12:59 +02:00
Laurent Rineau 919b9afe92 Merge pull request #3229 from lrineau/Installation-fix_compatibility_with_CMake_3.13-GF
Set CMP0077 to OLD (new in CMake-3.13)
2018-07-16 11:12:56 +02:00
Laurent Rineau 87715e3342 Merge pull request #3224 from sloriot/BGL-fix_getGT
Fix GetGeomTraits
2018-07-16 11:12:53 +02:00
Laurent Rineau 2aff50e027 Merge pull request #3222 from sloriot/Demo-join_fix
Fix join plugin
2018-07-16 11:12:50 +02:00
Laurent Rineau c40e0fe2df Merge pull request #3221 from maxGimeno/Demo-Transparency-enhancements-GF
Polyhedron Demo: minor fixes and enhancements
2018-07-16 11:12:47 +02:00
Laurent Rineau bd89f70193 Merge pull request #3220 from sgiraudot/Polyhedron_demo-Fix_normal_facet_computation_for_triangulation-GF
Polyhedron demo: Fix normal facet computation for triangulation
2018-07-16 11:12:43 +02:00
Laurent Rineau 1e211dd7c9 Merge pull request #3219 from lrineau/Windows_installer-fix_header_only-GF
Add CGALConfig.cmake to the Windows installer
2018-07-16 11:12:40 +02:00
Laurent Rineau 4f8e5567b5 Merge pull request #3217 from maxGimeno/Demo-Fix_load_items-GF
Polyhedron demo: Fix Load Item
2018-07-16 11:12:37 +02:00
Laurent Rineau d1dbe2757d Merge pull request #3230 from MaelRL/Polygon_2-Fix_filter_collinear_points-GF
Polygon: Fix `filter_collinear_points()` early return
2018-07-16 11:11:41 +02:00
Laurent Rineau 2bc2c9bf93 Merge pull request #3229 from lrineau/Installation-fix_compatibility_with_CMake_3.13-GF
Set CMP0077 to OLD (new in CMake-3.13)
2018-07-16 11:11:38 +02:00
Laurent Rineau bc4d63b29a Merge pull request #3220 from sgiraudot/Polyhedron_demo-Fix_normal_facet_computation_for_triangulation-GF
Polyhedron demo: Fix normal facet computation for triangulation
2018-07-16 11:11:35 +02:00
Laurent Rineau f02d81e54e Merge pull request #3219 from lrineau/Windows_installer-fix_header_only-GF
Add CGALConfig.cmake to the Windows installer
2018-07-16 11:11:32 +02:00
Laurent Rineau fcd113558f Merge pull request #3224 from sloriot/BGL-fix_getGT
Fix GetGeomTraits
2018-07-16 11:11:29 +02:00
Laurent Rineau 2d89a5ec5b Fix a warning for Linux 32 bits
test/Kernel_23/test_bbox.cpp:38: warning: integer constant is too large for ‘long’ type
2018-07-16 10:56:41 +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
Maxime Gimeno 8a289ed498 Fix picking 2018-07-13 17:36:31 +02:00
Laurent Rineau e900b684b4 Add a test of Bbox_[23]::dilate 2018-07-13 17:28:15 +02:00
Laurent Rineau 29f1f5147d add a test for bug #2999 2018-07-13 17:15:23 +02:00
Laurent Rineau 87517ac68d Fix Bbox_[23]::dilate
`boost::math::float_advance` does not modify its argument, but returns a
value! The previous version of the code was not modifying the bbox at all,
and the point snapping was active.
2018-07-13 17:01:10 +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 8ae27f4c9c Fix Circular_kernel and PCA demo 2018-07-13 13:56:46 +02:00
Maxime Gimeno ad0da605b1 Add missing include 2018-07-13 11:47:47 +02:00
Mael Rouxel-Labbé fa6b5af9de Added a test 2018-07-13 11:41:29 +02:00
Maxime Gimeno 85d668c414 Rename for loop varibale 2018-07-13 11:38:31 +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
Laurent Rineau 6079b3847e Set CMP0077 to OLD (new in CMake-3.13) 2018-07-13 11:24:50 +02:00
Simon Giraudot 9783eaec7a Do not normalize normal 2018-07-13 09:58:31 +02:00
Maxime Gimeno c945d27dc2 Fix Convex_hull_3 so it becomes minimal. 2018-07-12 16:49:27 +02:00
Maxime Gimeno 9294c33823 Fix displayId. 2018-07-12 14:29:00 +02:00
Laurent Rineau c9114b3ee5
Merge branch 'master' into Demo-Fix_for_windows-GF 2018-07-12 11:58:01 +02:00
Laurent Rineau 3ab9482910 Merge branch 'releases/CGAL-4.12-branch' 2018-07-12 11:37:49 +02:00
Laurent Rineau 5023020809 Merge pull request #3126 from sgiraudot/Classification-Clusters_and_meshes-GF
Classification 2.0
2018-07-12 11:37:13 +02:00