Commit Graph

87443 Commits

Author SHA1 Message Date
Laurent Rineau b35e41a470 First implementation of conforming triangulation 3, for edges 2019-10-29 14:38:55 +01:00
Jane Tournois 0673838883 document simplex traverser and improve cell traverser reference manual 2019-10-18 11:27:26 +02:00
Jane Tournois bb1f525408 update doc of the cell traverser 2019-10-17 15:43:24 +02:00
Jane Tournois 9897f07508 fix test case 2019-10-17 10:35:47 +02:00
Jane Tournois a5bf1e1662 make walk_to_next_3() const
and declare variables later when possible
2019-10-14 16:04:56 +02:00
Jane Tournois d145abaf9a temporarily change the example for debugging : the commented queries do pass 2019-10-08 17:39:35 +02:00
Jane Tournois 80553fbfb1 improve deal of degenerate cases for simplex traverser 2019-10-08 16:48:41 +02:00
Jane Tournois 27eedb168a fix the case where source, target, and vert[i] are aligned
Revert "deal with another degenerate case"

This reverts commit f269280dd6.
2019-10-07 17:38:27 +02:00
Jane Tournois aaf8aa404e fix moving to end() 2019-10-04 16:21:17 +02:00
Jane Tournois f269280dd6 deal with another degenerate case
when reaching end(), and when source, target, and the vertex vi are aligned,
o0 is ZERO and o1 is ZERO too
but target target can be `inside` anyhow
2019-10-04 14:30:43 +02:00
Laurent Rineau 7e0f93f4c9 Add a case (assertion) 2019-10-03 15:26:57 +02:00
Laurent Rineau 7f02506b49 A more complete test 2019-10-03 15:03:46 +02:00
Laurent Rineau 3c06351ec5 Fix operator-> and add const to the reference and pointer types 2019-10-03 15:02:34 +02:00
Jane Tournois d4289524a9 fix the constructor of Triangulation_segment_cell_traverser
until now, when the query segment started exactly on a vertex/edge/facet,
the constructor was setting _cur to one cell incident to this vertex/edge/facet,
not necessarily the one that was intersected by the segment query

this commit fixes it by introducing the function
`jump_to_intersecting_cell()`, that changes _cur to point to the right cell
2019-10-03 12:25:36 +02:00
Jane Tournois ba02a4c7ad add 2 new simple tests for simplex and cell traversers 2019-10-03 12:25:36 +02:00
Jane Tournois 5813b65267 fix the end conditions of simplex iterator
now we get the last simplex traversed before getting end()
2019-10-03 12:25:36 +02:00
Laurent Rineau 3694d7a005 Only use polymorphism if CGAL_TST_ASSUME_CORRECT_TYPES is undefined 2019-09-12 13:10:14 +02:00
Laurent Rineau c78d4b66a9 Add SPDX license headers 2019-09-12 10:01:20 +02:00
Laurent Rineau 2acb975ba4 Merge 'cgal/master' to fix conflicts 2019-09-11 14:35:38 +02:00
Laurent Rineau e4e065fad5 'how to make superclass for inserter pattern.txt' turned to comment 2019-09-11 11:22:36 +02:00
Laurent Rineau b438e73b4b cleanup: synchronize with the older branch 2019-09-11 11:04:34 +02:00
Jane Tournois 9d23b2f20c move functions from Triangulation_3 to the traverser header
now Triangulation_3.h is the same as in cgal/master branch,
and everything specific to the traverser has been moved to
the traverser header
2019-09-10 19:26:43 +02:00
Jane Tournois 3f96a41f93 fix warning : code not reached 2019-09-10 19:21:45 +02:00
Jane Tournois 4d47fd5978 little cleaning 2019-09-10 19:21:45 +02:00
Jane Tournois 7a28923da9 remove useless macro 2019-09-10 19:21:45 +02:00
Jane Tournois 4e419e9c75 little cleaning around CGAL_FAST_TRAVERSER
using this code speedups the traversal by 20% with Epick, 35% with Epeck
and our tests remain valid,
so we can remove the macro and activate the code
2019-09-10 19:21:45 +02:00
Jane Tournois 0d6a9e8367 add a benchmark for simplex traverser and cell traverser 2019-09-10 19:21:45 +02:00
Jane Tournois 0483a88561 include this package include directory to be able to use another CGAL_DIR 2019-09-10 19:21:45 +02:00
Laurent Rineau bbf559ee17 Merge remote-tracking branch cgal/master into Triangulation_segment_traverser_3-tvanlank 2019-09-10 19:21:38 +02:00
Laurent Rineau 45a0b2a841 Revert "Reduce testcase"
This reverts commit ec7c86fa7a.
2019-09-10 19:03:07 +02:00
Laurent Rineau 495923158b make test compile after merge 2019-09-10 19:00:47 +02:00
Laurent Rineau 88a915779f Merge tag 'base2018' into HEAD
# Conflicts:
#	Triangulation_3/examples/Triangulation_3/CMakeLists.txt
#	Triangulation_3/include/CGAL/Triangulation_3.h
#	Triangulation_3/include/CGAL/Triangulation_utils_3.h
2019-09-10 18:41:08 +02:00
Laurent Rineau 75c4062fb8 updated crontab (automated commit) 2019-09-10 16:18:03 +02:00
Laurent Rineau 67c3e26859 Merge branch 'releases/CGAL-4.14-branch' 2019-09-10 09:19:06 +02:00
Laurent Rineau 6c166ad45d Merge pull request #4217 from maxGimeno/HDT2-Fix_demo-maxGimeno
Hyperbolic_triangulation_2: Fix demo
2019-09-10 09:15:09 +02:00
Maxime Gimeno 2f483bb023 Add misisng include_directories to HDT2 demo 2019-09-10 09:05:16 +02:00
Laurent Rineau cc09585d99 updated crontab (automated commit) 2019-09-09 17:18:04 +02:00
Laurent Rineau df99307140 Merge branch 'releases/CGAL-4.14-branch' 2019-09-09 16:48:23 +02:00
Laurent Rineau 9abee11ee8 Merge remote-tracking branch 'cgal/releases/CGAL-4.13-branch' into releases/CGAL-4.14-branch 2019-09-09 16:43:29 +02:00
Laurent Rineau d00369432b
PMP: Fix ctestsuite (#4128)
PMP: Fix ctestsuite
2019-09-09 16:36:53 +02:00
Laurent Rineau 0e5517b15a Merge branch 'releases/CGAL-4.14-branch' 2019-09-09 14:44:00 +02:00
Laurent Rineau 166213806d Merge remote-tracking branch 'cgal/releases/CGAL-4.13-branch' into releases/CGAL-4.14-branch 2019-09-09 14:42:52 +02:00
Laurent Rineau c956717551
Merge pull request #4211 from sloriot/BGL-fix_cpp11
available only if c++11 is available
2019-09-09 14:42:26 +02:00
Sébastien Loriot 17df9b5484 available only if c++11 is available 2019-09-09 10:48:05 +02:00
Laurent Rineau 5075a895f7 Merge branch 'releases/CGAL-4.14-branch' 2019-09-06 14:14:29 +02:00
Laurent Rineau 73500e8d3c Merge branch 'releases/CGAL-4.13-branch' into releases/CGAL-4.14-branch 2019-09-06 14:14:13 +02:00
Laurent Rineau 3a1a1685fa Merge pull request #4208 from sloriot/BGL-avoid_silent_errors
Add code to prevent silent bad usage of boost::get_param
2019-09-06 14:13:41 +02:00
Maxime Gimeno 0d2f7a7204 More time for test_items 2019-09-06 11:53:44 +02:00
Laurent Rineau e188184842 Merge branch 'releases/CGAL-4.14-branch' 2019-09-05 15:03:51 +02:00
Laurent Rineau ce20652e6d Merge pull request #4109 from lrineau/CGAL_ImageIO-add_a_new_tool__extract_a_sub_image__-GF
CGAL_ImageIO: Add a new tool extract_a_sub_image.cpp to extract a sub-image
2019-09-05 15:03:45 +02:00