Sébastien Loriot
09039464ef
restrict partial specialization to avoid grab everything
2020-03-17 17:53:21 +01:00
Jing Yang
2eda71c2d3
Update draw_triangulation_2.cpp
2020-03-16 17:20:45 -07:00
Mael Rouxel-Labbé
d8244fceb4
Replace std::set with boost::container::flat_set
2020-03-13 08:32:40 +01:00
Mael Rouxel-Labbé
100304667d
Remove CGAL::internal::boost_::function_property_map
...
This file was duplicated from BOOST 1.64 because it appeared in a boost
release that was younger than the oldest boost release supported by CGAL
when the file was first required.
The minimum boost version (1.57) now required by CGAL is younger
than the version in which the file appeared in boost (1.51)
and it can thus be removed.
2020-03-12 20:58:44 +01:00
Mael Rouxel-Labbé
1c622e0ba5
Base CDT2's edge sets on geometry to ensure determinism
...
When using face addresses, we do get the same combinatorics and
geometry in the result, but it is possible to create
different TDS' from one run to another, with a given face
not having the same order of points in memory.
2020-03-12 13:11:32 +01:00
Simon Giraudot
4c0a3788c3
Update from review
2020-03-12 11:31:39 +01:00
Mael Rouxel-Labbé
fe1fd95d23
Fix always returning by copy when it is possible to return by reference
2020-03-09 15:31:51 +01:00
Mael Rouxel-Labbé
3667550e75
Rename new triangulation IDs initializing functions
...
To look more like the existing function set_halfedgeDS_items_id()
2020-03-04 12:54:56 +01:00
Mael Rouxel-Labbé
d3feda1650
Update IDs getter for triangulation edge / halfedges
2020-03-04 12:06:29 +01:00
Mael Rouxel-Labbé
17f97fc460
Add a function to initialize triangulation IDs
2020-03-04 12:06:19 +01:00
Mael Rouxel-Labbé
a449948588
Add (undocumented) edge_ids to T2_face_base_with_id_2.h
...
This is done because the previous edge IDs can range from 0
to 3*num_faces(tr) + 2, which is greater than num_edges(tr)
and is therefore not very rational.
2020-03-04 11:57:23 +01:00
Laurent Rineau
a060fb6396
Fix segfault in the dtor of a moved-from Triangulation_hierarchy_2
2020-02-21 14:23:18 +01:00
Laurent Rineau
20910607d5
std::set and std::map are not nothrow-move-constructible
2020-02-21 14:22:44 +01:00
Simon Giraudot
e4714165f0
Add missing include
2020-02-19 12:40:05 +01:00
Simon Giraudot
5c889ef61c
Improve example and doc
2020-02-17 14:47:20 +01:00
Simon Giraudot
b546a7078f
Improve example
2020-02-17 13:59:26 +01:00
Simon Giraudot
5c95ec2681
User manual + some fixe
2020-02-17 13:22:40 +01:00
Simon Giraudot
68ddb1f4e5
Add example
2020-02-17 13:22:27 +01:00
Simon Giraudot
5b8d92e08f
First version of split_subconstraint_graph_into_constraints()
2020-02-17 10:28:02 +01:00
Laurent Rineau
24082a7114
Fix compilation errors, with a few compiler
...
```
include/CGAL/Triangulation_hierarchy_3.h:163:23: error: invalid use of 'this' at top level
noexcept(noexcept(this->Tr_Base::swap(tr)))
^~~~
```
That is actually the subject of a C++ Defect:
http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#1207
Anyway, this was used only for the `noexcept` specification of `swap`
functions, and I no longer use `swap` for the move semantic. I can
remove those noexcept` specifications.
2020-02-12 16:30:26 +01:00
Laurent Rineau
20bb2c8428
Add move-semantic to CT_plus_2 and Tr_hierarchy_2
2020-01-31 16:28:07 +01:00
Laurent Rineau
94be80c2eb
fix clang-tidy warnings
2020-01-31 16:27:41 +01:00
Laurent Rineau
75ec5c0da7
Add move-semantic to T_2, CT_2, Dt_2, and CDT_2
...
Still todo: `Constrained_triangulation_plus_2`, and
`Triangulation_hierarchy_2`.
2020-01-31 15:48:45 +01:00
Laurent Rineau
14b8930f79
Fix a clang-tidy warning by using nullptr instead of 0
2020-01-31 15:48:45 +01:00
Laurent Rineau
dbc869c476
Merge pull request #4408 from afabri/CGAL-splitted-GF
...
Typos: splitted -> split
2020-01-15 17:19:37 +01:00
Laurent Rineau
3e90fa10fd
Merge pull request #4406 from afabri/Triangulation_2-fix_Projection_traits-GF
...
Triangulation_2: Projection_traits::Construct_bbox_2 must return Bbox_2
2019-12-17 09:16:32 +01:00
Laurent Rineau
617878b063
Merge pull request #4406 from afabri/Triangulation_2-fix_Projection_traits-GF
...
Triangulation_2: Projection_traits::Construct_bbox_2 must return Bbox_2
2019-12-17 09:14:23 +01:00
Andreas Fabri
4d4b891362
T2: Projection_traits::Construct_bbox_2 must return Bbox_2
2019-12-13 15:47:43 +01:00
Andreas Fabri
48fedbae06
Typos: splitted -> split
2019-12-11 16:57:34 +01:00
Laurent Rineau
d19f79ee0d
Merge pull request #4163 from MaelRL/T2-Throw_on_collinear_strongly_intersecting_segments-GF
...
CDT2: Throw on constraint intersections that do not require constructions
2019-12-05 11:05:47 +01:00
Laurent Rineau
b5b507c35f
Merge pull request #4213 from lrineau/T2-cleanup_Polyline_constraint_hierarchy_2-GF
...
Polyline_constraint_hierarchy_2.h: remove the useless point_ data member
2019-12-05 11:05:41 +01:00
Mael
cf83a22e2d
Merge branch 'master' into T2-Throw_on_collinear_strongly_intersecting_segments-GF
2019-12-02 16:32:29 +01:00
Mael Rouxel-Labbé
6d8ae46618
Fix unused variable warning
2019-11-25 09:24:23 +01:00
Mael Rouxel-Labbé
fd4c75317a
Don't use preprocessor macros within an assert
2019-11-21 10:03:06 +01:00
Mael Rouxel-Labbé
7aa94df489
Mute warning about using CDT_2+ in CDT_2 test
2019-11-15 11:55:32 +01:00
Laurent Rineau
57152023c2
Merge pull request #4304 from MaelRL/CGAL-Header_only_doc_rewrite-GF
...
Documentation: switch manual to header-only by default (+misc improvements)
2019-10-29 15:23:39 +01:00
Andreas Fabri
6d4a431b18
polish
2019-10-25 10:18:41 +02:00
Sébastien Loriot
52164b1fba
First pass on removing license notice in header for LGPL files
2019-10-19 15:40:30 +02:00
Sébastien Loriot
254d60f642
First pass on removing license notice in header for GPL files
2019-10-19 15:23:19 +02:00
Sébastien Loriot
7356421d80
introduce Commercial license SPDX tag
2019-10-19 12:15:19 +02:00
Sébastien Loriot
9bd9c68b83
update LGPL[23]+ and GPL[23]+ SPDX tags
...
ack -l --no-svg "SPDX-License-Identifier: GPL-3.0\+" | xargs sed -i "s/SPDX-License-Identifier: GPL-3.0+/SPDX-License-Identifier: GPL-3.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: LGPL-3.0\+" | xargs sed -i "s/SPDX-License-Identifier: LGPL-3.0+/SPDX-License-Identifier: LGPL-3.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: GPL-2.0\+" | xargs sed -i "s/SPDX-License-Identifier: GPL-2.0+/SPDX-License-Identifier: GPL-2.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: LGPL-2.0\+" | xargs sed -i "s/SPDX-License-Identifier: LGPL-2.0+/SPDX-License-Identifier: LGPL-2.0-or-later/"
2019-10-18 21:57:54 +02:00
Mael
e919441cf6
Remove useless macro
2019-10-11 09:05:31 +02:00
Mael
962e8b10a6
Fix typo
2019-10-03 08:12:16 +02:00
Mael Rouxel-Labbé
faf55abc73
Doc improvements
2019-10-01 14:35:02 +02:00
Mael Rouxel-Labbé
dd9e6340fe
Silence some warnings
2019-10-01 13:39:21 +02:00
Mael Rouxel-Labbé
362c4f917b
Remove wild 'std::exit(1)'
2019-10-01 13:32:43 +02:00
Mael Rouxel-Labbé
ea8e6f3c98
Update CDT2 intersection tag documentation
2019-09-19 18:32:58 +02:00
Mael Rouxel-Labbé
e4c0bcffa0
Update usage of intersection tags
2019-09-19 18:32:34 +02:00
Mael Rouxel-Labbé
7a50939809
Deprecate No_intersection_tag
...
Introduce two new tags instead, to make the behavior change clearer.
Default tag for CDT2 is changed to keep the same behavior as before
(what was called 'No_intersection_tag' and is now called
'No_constraint_intersection_requiring_constructions_tag')
2019-09-19 18:11:33 +02:00
Mael Rouxel-Labbé
9b2a7f09d7
Merge branch 'T2-Throw_on_collinear_strongly_intersecting_segments-GF-old' into T2-Throw_on_collinear_strongly_intersecting_segments-GF
2019-09-19 15:50:49 +02:00
Maxime Gimeno
0bda2dd231
remove c++11
2019-09-17 09:39:46 +02:00
Laurent Rineau
502945633c
Rename Data to Point, because it must be the type of Vertex::point()
2019-09-10 12:42:03 +02:00
Laurent Rineau
b1df25dcf6
Remove the useless point_ data member
2019-09-09 15:49:33 +02:00
Mael Rouxel-Labbé
197a29436c
Test new tag
2019-08-22 12:45:19 +02:00
Mael Rouxel-Labbé
e955c38215
Add a new tag allowing constraints to intersect if no construction is required
2019-08-22 12:44:16 +02:00
Mael Rouxel-Labbé
970b0cfeaa
Add few more tests
2019-08-19 18:02:06 +02:00
Mael Rouxel-Labbé
013272a466
Fix not throwing on T-like segment intersection (extremity on interior)
2019-08-19 17:55:39 +02:00
Mael Rouxel-Labbé
59e0e87e24
Readability (no real changes)
2019-08-19 17:55:26 +02:00
Mael Rouxel-Labbé
5ef8c966ea
Add some tests for CDT throwing on intersections
2019-08-19 17:55:06 +02:00
Mael Rouxel-Labbé
f3ccb18da0
Fix typo
2019-08-19 17:18:55 +02:00
Mael Rouxel-Labbé
869baed46f
Fix not throwing on overlapping constraints
2019-08-19 17:18:29 +02:00
Laurent Rineau
830bb9640f
Merge pull request #4141 from albert-github/feature/bug_obsolete_images
...
warning: image file name tds_small.png is ambiguous.
2019-08-16 13:24:58 +02:00
Laurent Rineau
fcf6ea4d5c
Merge branch 'releases/CGAL-4.14-branch'
2019-08-16 13:24:32 +02:00
Laurent Rineau
f70640a675
Merge branch 'releases/CGAL-4.13-branch' into releases/CGAL-4.14-branch
2019-08-16 13:24:11 +02:00
Andreas Fabri
8802f9877b
Triangulation_2: Fix documentation of a typedef
2019-08-13 02:11:35 -07:00
Sebastien Loriot
472e4ab4f9
Merge pull request #4138 from albert-github/feature/bug_unbalanced
...
warning: unbalanced grouping commands
2019-08-12 09:15:43 +02:00
albert-github
62f2fef741
warning: image file name tds_small.png is ambiguous.
...
Some images were present on multiple places but the second reference was not used anymore.
2019-08-08 13:41:18 +02:00
albert-github
1a38e5295d
warning: unbalanced grouping commands
...
Removing last "warning: unbalanced grouping commands" messages.
Note: maybe useful to add in Triangulation_2/doc/Triangulation_2/CGAL/Triangulation_2.h some `\name` parts for handles / iterators / ...
2019-08-05 16:00:53 +02:00
Sébastien Loriot
b84297f8f6
update the usage for the new CGAL named function parameters
2019-07-29 09:38:39 +02:00
Sébastien Loriot
25a05e9f4c
Merge branch 'CGAL-named_function_parameters-4.14' into master
...
Conflicts resolved by hand
2019-07-28 23:46:43 +02:00
Sébastien Loriot
2f81a21523
Merge 'CGAL-named_function_parameters' for 4.13-branch into 4.14-branch
...
Conflicts resolved by hand
2019-07-28 22:30:13 +02:00
Sébastien Loriot
1f8065c6c3
Merge pull request #3885 from MaelRL/PMP-Locate-GF
...
PMP: Add locate.h and rewrite Triangulation_2 graph traits
2019-07-18 16:40:49 +02:00
Sebastien Loriot
667e4022f7
Merge pull request #4060 from sloriot/CGAL-doc_match_brackets
...
match @{ and @}
2019-07-18 16:26:43 +02:00
Sébastien Loriot
560c77f567
rename named function parameter class
2019-07-15 06:25:02 +02:00
Laurent Rineau
dc02598a5c
Merge pull request #4016 from gdamiand/CGAL-more_viewers-gdamiand
...
CGAL: more viewers
2019-07-10 14:22:50 +02:00
Sébastien Loriot
fbafb9d06f
fix remaining mismatches and fix bugs
2019-07-10 11:40:45 +02:00
Sébastien Loriot
983645a51a
match @{ and @}
2019-07-05 21:49:46 +02:00
Laurent Rineau
c0ba28f80a
Merge branch 'releases/CGAL-4.14-branch'
2019-07-03 11:18:20 +02:00
Laurent Rineau
e79bfd5d03
Merge branch 'releases/CGAL-4.13-branch' into releases/CGAL-4.14-branch
2019-07-03 11:10:03 +02:00
Mael Rouxel-Labbé
f68141a6d3
Merge branch 'PMP-Locate-GF-old' into PMP-Locate-GF
2019-07-01 11:28:25 +02:00
Laurent Rineau
32f80cbece
Merge pull request #4018 from lrineau/CGAL-refresh_cmake_minimum_required-GF
...
CMake>=3.13: opt for for new policies up to 3.15
2019-07-01 11:16:30 +02:00
Laurent Rineau
dbb1cb6c9b
Merge pull request #3974 from afabri/Triangulation-add_ranges-GF
...
Triangulation_{2,3): Add ranges
2019-07-01 11:16:05 +02:00
Andreas Fabri
a9bd8226bc
Do not use C++11
2019-06-26 15:35:11 +02:00
Andreas Fabri
060ec7c5c2
No auto
2019-06-26 14:47:35 +02:00
Andreas Fabri
aeac816801
Triangulation_2: Fix remove_vertex_from_constraint-GF
2019-06-26 14:34:41 +02:00
Andreas Fabri
c1f337d585
Triangulation_2: Fix CDT_plus_2::remove_constraint()
2019-06-20 12:17:15 +02:00
Guillaume Damiand
67307dcead
Merge master to remove conflicts; plus rephrase draw documentation following Sebastien comments.
2019-06-19 15:48:10 +02:00
Laurent Rineau
4fbf00fb8a
CMake>=3.13: opt for for new policies up to 3.15
2019-06-19 14:34:59 +02:00
Guillaume Damiand
8a3cb666fd
Correct links to CGAL::draw functions.
2019-06-19 13:10:08 +02:00
Mael Rouxel-Labbé
7f6cb0411c
Merge branch 'PMP-Locate-GF-old' into PMP-Locate-GF
2019-06-18 08:20:16 +02:00
Mael Rouxel-Labbé
d75821f27a
Rename template parameter to help MSVC
...
Seems like MSVC gets confused between 'Tr' being both a template paramter
and a typedef in the class being passed as template parameter.
2019-06-17 08:33:23 +02:00
Andreas Fabri
1e1bfa1675
constness
2019-06-15 22:30:47 +02:00
Andreas Fabri
e15dbd02aa
Use const&
2019-06-14 15:47:43 +02:00
Mael Rouxel-Labbé
a189e82686
Cache a descriptor within the iterators so operator*() can return a reference
2019-06-14 10:47:20 +02:00
Mael Rouxel-Labbé
0ea40f7602
Add missing 'const' in conversion operator
2019-06-14 10:46:46 +02:00
Andreas Fabri
7a49b48019
Add code and test for all_edges()
2019-06-12 09:23:57 +02:00
Andreas Fabri
cc76597a3e
Fix in the testcase. Forgot to test if the range is empty, before dereferencing the iterator
2019-06-11 12:02:27 +02:00
Andreas Fabri
c34536be24
Apply suggestions from code review
...
Co-Authored-By: Mael <mael.rouxel.labbe@geometryfactory.com>
2019-06-05 17:26:37 +02:00
Andreas Fabri
f7b7b9957f
Merge remote-tracking branch 'cgal/master' into CGAL-null_ptr-GF
2019-06-05 14:47:11 +02:00
Laurent Rineau
39c8f7ae1f
Merge pull request #3950 from afabri/Triangulation_23-PointWithInfo-GF
...
2D and 3D Triangulations: Unify insertion of range of points with info
2019-06-05 11:20:23 +02:00