Mael Rouxel-Labbé
842ae3fbbd
Change T2 graph traits to only use finite elements
...
This is way more logical because infinite faces have corrupt geometry,
and do not present any particular use (if you want the convex hull, just
walk the border)
This is a breaking change, but the whole traits was so broken nobody could
have been using it in the first place anyway.
2019-04-29 08:29:40 +02:00
Mael Rouxel-Labbé
aa4e1913d1
Partial revert of 42a1c49066
...
Halfedges in TDS2 and T2 were being used to get halfedges in the T2 graph traits
We now do it differently and without polluting the packages T2 and TDS2
2019-04-29 08:29:40 +02:00
Mael Rouxel-Labbé
9f57d48642
Factorize T2 graphs' properties via macros
2019-04-24 13:14:09 +02:00
Mael Rouxel-Labbé
d9a0baa442
Multiple fixes for T2 graph traits factorization
...
(need independent iterator classes, make it work for RT2 despite RT2 having
a different vertex iterator, etc.)
2019-04-24 13:12:48 +02:00
Mael Rouxel-Labbé
092286a8b8
Fixed grabbing non-existent 'Point' typedef from a face base class
2019-04-23 11:44:19 +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
Mael Rouxel-Labbé
62cb1b7283
Added class Triangulation_face_base_with_id_2
2019-04-23 10:32:59 +02:00
Mael Rouxel-Labbé
811810c02c
Switch the three main triangulations' graph traits to a common version
2019-04-19 17:17:09 +02:00
Mael Rouxel-Labbé
09df9b5622
Added some common graph traits for all 2D triangulations
2019-04-19 17:14:52 +02:00
Mael Rouxel-Labbé
28a210837e
Fixed missing vertex point pmap (+ property) in RT2 graph traits
2019-04-19 08:39:52 +02:00
Sebastien Loriot
7b01c13f8d
Merge pull request #2938 from afabri/Triangulation_2-internal-GF
...
Triangulation_2: Cleanup of include/CGAL
2019-04-18 15:51:15 +02:00
Sebastien Loriot
14ebc2fabc
Update Triangulation_2/include/CGAL/Polyline_constraint_hierarchy_2.h
...
Co-Authored-By: afabri <andreas.fabri@geometryfactory.com>
2019-04-18 13:54:46 +02:00
Andreas Fabri
d3128e75e5
We need two versions of the insert_constraint() function,
...
- one for the old API where constraints were just a 2d segment
- and one for polylines
2019-04-18 13:52:34 +02:00
Sebastien Loriot
80cece608c
Merge pull request #3595 from MaelRL/T2-Remove_strict_conflict_zone_boolean-GF
...
Triangulation_2: revert small feature DT2_strict_and_weak_conflict_zone
2019-04-12 15:35:06 +02:00
Andreas Fabri
899364b87b
Remove files that were deprecated in 4.9
2019-04-12 14:57:18 +02:00
Andreas Fabri
5fdcfc989f
Merge branch 'master' into Triangulation_2-internal-GF
2019-03-22 11:55:22 +01:00
Andreas Fabri
a472c24185
http:/www.boost.org -> https://www.bost.org
2019-03-20 08:59:22 +01:00
Laurent Rineau
fdd8357915
Merge pull request #3580 from afabri/Stream_support-Color-GF
...
Fix warnings (Add/remove copy constructors, and other warnings)
Co-authored-by: Laurent Rineau <laurent.rineau@cgal.org>
Co-authored-by: Mael <mael.rouxel.labbe@geometryfactory.com>
Co-authored-by: Maxime GIMENO <maxime.gimeno@gmail.com>
2019-02-13 15:25:07 +00:00
Laurent Rineau
82dd2b5cda
Merge pull request #3669 from afabri/Triangulation_2-maybe_not_intialized-GF
...
Triangulation_2: Initialize to avoid warning
2019-02-13 15:38:25 +01:00
Laurent Rineau
9e056880e8
Better warning fix: do not initialize, and use CGAL_assume
...
Let the variable uninitialized, and instruct the compiler that the
condition where `i` remains uninitialized is an error condition.
2019-02-08 09:46:24 +01:00
Andreas Fabri
a0ebd79e9d
Triangulation_2: Initialize to avoid warning
2019-02-08 08:39:27 +01:00
Sébastien Loriot
e4cbae525c
Merge remote-tracking branch 'cgal/releases/CGAL-4.13-branch' into HEAD
2019-01-31 11:25:26 +01:00
Sébastien Loriot
99d842401a
Merge remote-tracking branch 'cgal/releases/CGAL-4.12-branch' into HEAD
2019-01-31 11:24:50 +01:00
Laurent Rineau
afc3de2894
Merge branch 'master' into Stream_support-Color-GF
2019-01-23 09:37:08 +01:00
Laurent Rineau
6ffd76a87e
Merge pull request #2792 from afabri/Intersections_3-Add_missing_do_intersect-GF
...
Intersections_3: Add missing do_intersect() overloads
2019-01-18 16:37:54 +01:00
Andreas Fabri
4bb714fd7b
Fix OTR and T2
2019-01-18 10:34:47 +01:00
Mael Rouxel-Labbé
14150ef95c
Revert commit b307771 ("bug fix for natural_neighbor_coordinates_2...
...
... using a small feature in the conflict zone functions of
Delaunay_triangulation_2")
See concerns raised in the (not-actually-approved) small feature:
https://cgal.geometryfactory.com/CGAL/Members/wiki/Features/Small_Features/DT2_strict_and_weak_conflict_zone
2019-01-14 11:19:21 +01:00
Mael Rouxel-Labbé
502c28796d
Clarify 'last' ==> 'top'
2019-01-11 13:56:06 +01:00
Andreas Fabri
cf1d116d97
Remove files
2019-01-11 13:47:39 +01:00
Andreas Fabri
7009079e0c
Move files to include/CGAL/Triangulation_2/internal and remove deprecated files
2019-01-11 13:46:58 +01:00
Mael Rouxel-Labbé
28ce2a5240
Fixed stack order in non recursive conflict walking
...
Edges must be output in a CCW order, which is achieved by walking ccw-ly first.
In the recursive function, we correctly call 'propagate(..., ccw(j))' first.
For the non-recursive version which uses a stack, then we must add 'ccw(j)'
last since the stack is a LIFO structure.
2019-01-11 12:32:43 +01:00
Andreas Fabri
630066dd24
Fix Mesh_2 testsuite
2019-01-10 17:31:54 +01:00
Sébastien Loriot
c2f7814f19
prevent maybe-uninitialized warnings
...
they were triggered by
`l1 = t.line_walk(POINT(xr_left, yr_top), POINT(xr_right, yr_top), hface1);`
in `CGAL/apply_to_range.h`
Seen when compiling targets:
Constrained_Delaunay_triangulation_2
Polyline_simplification_2
Delaunay_triangulation_2
2018-11-24 14:42:26 +01:00
Sébastien Loriot
54381db68a
fix -Wmaybe-uninitialized warnings
2018-11-12 19:27:53 +01:00
Sébastien Loriot
0685423ae8
update from cgal/master
2018-11-02 11:32:31 +01:00
Guillaume Damiand
b45cf04fbf
Align typedef
2018-10-15 14:20:30 +02:00
Guillaume Damiand
ddd7f8fa3b
Add an option to disable viewer when running ctest.
2018-09-07 13:29:38 +02:00
Guillaume Damiand
2c8af2ebcc
Update all draw_XXX functions to use specialized version, allowing to use different draw in a same program.
2018-09-06 18:43:32 +02:00
Laurent Rineau
531223bd11
Merge pull request #3271 from lrineau/Triangulation_2-Debug_CDT2-lrineau
...
Implement the check that avoids to insert a constraint twice
2018-08-23 15:50:25 +02:00
Laurent Rineau
7c22eb11b2
Merge pull request #3271 from lrineau/Triangulation_2-Debug_CDT2-lrineau
...
Implement the check that avoids to insert a constraint twice
2018-08-23 15:40:22 +02:00
Laurent Rineau
9afcd23be8
Implement the check that avoids to insert a constraint twice
2018-08-03 11:24:47 +02:00
Mael Rouxel-Labbé
7490f34560
Merge branch 'Periodic_3_mesh_3-Feature-MBogdanov-old' into Periodic_3_mesh_3-Feature-MBogdanov
2018-06-21 10:15:25 +02:00
Laurent Rineau
5ec1b841b7
Merge pull request #3170 from MaelRL/CGAL-Fix_some_STL_extension_namespaces-GF
...
STL_Extension: move CGAL::iterator and CGAL::unary/binary functions to CGAL::cpp98::
2018-06-20 17:21:01 +02:00
Laurent Rineau
08043e442c
Merge pull request #2835 from gdamiand/CGAL-basic_viewers-gdamiand
...
Add basic viewers
2018-06-14 17:36:37 +02:00
Mael Rouxel-Labbé
26c857a431
Moved unary/binary_function to CGAL::cpp98
2018-06-13 15:58:19 +02:00
Guillaume Damiand
bc4eca82b3
Need double cast
2018-06-13 10:47:44 +02:00
Guillaume Damiand
f6fd8cae4c
Remove a warning; when using test suite, compile all the code but run nothing.
2018-06-13 09:14:18 +02:00
Guillaume Damiand
59f797f066
Update the 5 basic viewers to remove factorized functions, and to define different versions in order to remove default template parameters.
2018-06-11 13:09:50 +02:00
Maxime Gimeno
fdeb5621ca
replace cast in unsigned long int to std::size_t to fix warnings.
2018-06-07 13:55:22 +02:00
Maxime Gimeno
10c277ea2d
Use special args if running testsuite to avoid execution errors.
2018-06-07 13:35:28 +02:00
Mael Rouxel-Labbé
7ea3a8044e
Merge branch 'Periodic_3_mesh_3-Feature-MBogdanov-old' into Periodic_3_mesh_3-Feature-MBogdanov
2018-06-05 14:39:18 +02:00
Laurent Rineau
aa38a024c2
Merge pull request #3098 from lrineau/Triangulation_2-Debug_CDT2-lrineau
...
Fix CDT_2 errors, using snapping of intersection points
2018-06-01 17:26:16 +02:00
Laurent Rineau
c151778454
Merge pull request #3122 from MaelRL/T23-Fix_functor_return_type-GF
...
Triangulation_23: fix wrong return type in spatial_sort functor
# Conflicts:
# Triangulation_3/test/Triangulation_3/test_regular_insert_range_with_info.cpp
2018-06-01 17:24:23 +02:00
Laurent Rineau
0e9c09b4f4
Merge pull request #3098 from lrineau/Triangulation_2-Debug_CDT2-lrineau
...
Fix CDT_2 errors, using snapping of intersection points
2018-06-01 17:21:58 +02:00
Laurent Rineau
72d2c8e1ef
Merge pull request #3122 from MaelRL/T23-Fix_functor_return_type-GF
...
Triangulation_23: fix wrong return type in spatial_sort functor
# Conflicts:
# Triangulation_3/test/Triangulation_3/test_regular_insert_range_with_info.cpp
2018-06-01 17:21:44 +02:00
Andreas Fabri
1123afb70e
Add Bbox_{2,3}.dilate(int) so that the snapping in the CT_2 also works with Projection_traits classes
2018-05-30 14:34:34 +02:00
Laurent Rineau
c40d7124d0
Fix CDT_2 errors, using snapping of intersection points
...
When `Constrained_triangulation_2` computes the intersection of two
segments, with a floating-point number type, and with
`Exact_predicates_tag`, the computed intersection point is snapped to an
extremity of the two segments, if it is closest to 4 ulp (with the l-inf
distance).
That value `4` can be changed by defining the macro
`CGAL_CDT_2_INTERSECTION_SNAPPING_ULP_DISTANCE` to another value.
2018-05-30 14:34:34 +02:00
Maxime Gimeno
71d3514987
Fix Triangulation example
2018-05-29 12:05:57 +02:00
Andreas Fabri
4b14990209
Fix warnings; Remove typename in non-template code
2018-05-29 11:11:50 +02:00
Guillaume Damiand
c62fb2b01e
Move include iostream.
2018-05-29 11:11:49 +02:00
Guillaume Damiand
b361e78a99
Add missing include
2018-05-29 11:11:49 +02:00
Guillaume Damiand
39de8ac459
Add licence includes
2018-05-29 11:11:49 +02:00
Guillaume Damiand
d8a62aa2c8
Update licence headers of new files.
2018-05-29 11:11:49 +02:00
Guillaume Damiand
dba44f48a1
Harmonize the 5 basic viewers.
2018-05-29 11:11:49 +02:00
Guillaume Damiand
53769e98a7
* Add draw examples in the 5 concerned packages (Polyhedron, Surface_mesh, T2, T3, LCC)
...
* Update FindQGLViewel to add a target.
2018-05-29 11:11:49 +02:00
Guillaume Damiand
6e83b034dc
Rename file for basic viewers.
2018-05-29 11:06:07 +02:00
Guillaume Damiand
73905ce8dd
Avoid to run the viewer for the CGAL test suite.
2018-05-29 11:06:07 +02:00
Guillaume Damiand
5d375eff74
Update all basic viewers to have the correct behavior when CGAL_USE_BASIC_VIEWER is not defined.
2018-05-29 11:06:07 +02:00
Guillaume Damiand
5e5a9611db
Protect the code of the basic viewers; rename display into draw; add a draw function that display an error message if the basic viewer is not defined.
2018-05-29 11:04:57 +02:00
Guillaume Damiand
206a8a7e58
Move t2 viewer in cgal namespace
2018-05-29 11:04:57 +02:00
Guillaume Damiand
3f15cf7307
Add basic viewer for t2
2018-05-29 11:02:00 +02:00
Mael Rouxel-Labbé
e9d3b9767e
Fixed taking a reference to a temporary (when using EPECK)
2018-05-28 15:43:45 +02:00
Laurent Rineau
2ad4781a05
Merge pull request #3092 from maxGimeno/Travis-Check_including_all_headers-GF
...
Infrastructure : Test compilation of headers
2018-05-28 13:58:19 +02:00
Andreas Fabri
718db41ca5
Duplicates in TDS_2 and T_2
2018-05-23 11:48:58 +02:00
Sébastien Loriot
da7826077a
Merge pull request #2746 from afabri/Interpolation-vertices_V2-GF
...
Small feature: Interpolation with vertices
2018-05-07 11:45:23 +02:00
Mael Rouxel-Labbé
f66196062d
Fixed missing macro around inexact_locate
2018-05-04 13:57:39 +02:00
Andreas Fabri
97b5c37b6e
Fix includes
2018-05-04 09:00:11 +02:00
Sébastien Loriot
ad813dc4fe
improving the doc
2018-04-30 09:19:15 +02:00
Maxime Gimeno
5fa7181360
changes in displayed text.
2018-04-30 09:19:15 +02:00
Maxime Gimeno
50ffa39ba6
Remove duplicated overload
2018-04-30 09:19:15 +02:00
Maxime Gimeno
121e4c3c50
Replace Throw_on_intersection_tag by the existing No_intersection_tag
2018-04-30 09:19:15 +02:00
Maxime Gimeno
944b540c54
Rename exception
2018-04-30 09:19:15 +02:00
Maxime Gimeno
3165eb1971
add a specific macro to silence the new warning
2018-04-30 09:19:15 +02:00
Maxime Gimeno
fe07a1973c
add doc in the right place.
2018-04-30 09:19:15 +02:00
Maxime Gimeno
6266570fc3
Move information from cerr to compilation warning and add an exception thrown with a new documented tag
2018-04-30 09:19:14 +02:00
Mael Rouxel-Labbé
c5f134c9ae
Readability changes
2018-04-26 13:58:23 +02:00
Mael Rouxel-Labbé
9faf52a7f5
Removed deprecated, undocumented, unused functions in T_face_base_2
2018-04-26 13:23:19 +02:00
Mael Rouxel-Labbé
a8e28b02c6
Specify default face base for DT2
2018-04-26 13:00:50 +02:00
Laurent Rineau
3c70f8bad0
Fix dependencies by moving files
2018-03-23 14:17:24 +01:00
Mael Rouxel-Labbé
dafdafa0bb
Merge branch 'master' into BGL-doc_improvement-GF
2018-02-19 15:41:45 +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
Mael Rouxel-Labbé
28d55f8981
Merge branch 'master' into BGL-doc_improvement-GF
2018-02-15 11:32:50 +01:00
Laurent Rineau
c6fe6876b4
Merge pull request #2786 from MaelRL/T2-Fix_graph_traits-GF
...
Triangulation_2: Fix template parameter in RT_2's graph traits
2018-02-14 15:33:48 +01:00
Sébastien Loriot
483f69728e
Refresh branch
2018-02-12 22:21:38 +01:00
Mael Rouxel-Labbé
11b708527d
Fixed missing functions and types
2018-02-08 18:19:47 +01:00
Mael Rouxel-Labbé
f32e265648
Tr_Base > Triangulation_base to avoid a conflict with a typedef in the T2 hierarchy
2018-02-05 10:20:04 +01:00
Mael Rouxel-Labbé
2b82dc67d9
Fixed wrong template in regular_triangulation_2's graph traits
2018-02-02 14:25:47 +01:00
Laurent Rineau
f310fc588d
Merge pull request #2690 from sgiraudot/Classification-ETHZ_random_forest-GF
...
Classification: ETHZ Random Forest
2018-02-01 17:35:30 +01:00
Simon Giraudot
6269309d86
Use CGAL include for boost counting/transform iterators everywhere
2018-01-23 11:09:52 +01:00