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
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
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
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
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
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