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
Andreas Fabri
7111518cb0
Fix usage of Vertices_in_constraint
2019-06-05 08:02:19 +02:00
Andreas Fabri
785ae04e0b
Add ranges to Regular_triangulation_2
2019-06-04 12:45:42 +02:00
Laurent Rineau
b8fe6b10ee
Merge pull request #3804 from afabri/CGAL_tests_must_not_include_basic-GF
...
Do not include <CGAL/basic.h>
2019-05-21 16:37:01 +02:00
Andreas Fabri
2d1c78fdd9
Unify T3
2019-05-20 18:23:08 +02:00
Laurent Rineau
90782d4b7f
Revert the merge of two pull-requests that target CGAL-4.14-branch
...
- Revert "Merge pull request #3857 from MaelRL/CGAL-Fix_duplicate_non_manifold_vertices-GF"
- Revert "Merge pull request #3898 from lrineau/Mesh_3-stop_during_protection-lrineau"
2019-05-14 17:50:45 +02:00
Andreas Fabri
a3d535c553
Fix compilation, Add documentation, Add test for IO
2019-05-02 10:41:12 +02:00
Andreas Fabri
26b26ea506
Remove deprecated function
2019-04-30 12:21:06 +02:00
Andreas Fabri
4724e3a358
Remove deprecated function
2019-04-30 12:21:03 +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
Andreas Fabri
f1c6990a57
Add a test for a reported issue
2019-04-18 13:52:34 +02:00
Andreas Fabri
899364b87b
Remove files that were deprecated in 4.9
2019-04-12 14:57:18 +02:00
Andreas Fabri
100d4f34ef
Merge branch 'Triangulation_2-internal-GF-old' into Triangulation_2-internal-GF
2019-04-09 15:20:59 +02:00
Sébastien Loriot
ce126b87c6
remove cpp11::copy_n, cpp11::prev, and cpp11::next and use std instead
2019-03-29 13:28:32 +01:00
Andreas Fabri
a1609350aa
Remove #include<CGAL/basic.h> amd put what is needed if something is missing
2019-03-27 15:21:33 +01:00
Andreas Fabri
5fdcfc989f
Merge branch 'master' into Triangulation_2-internal-GF
2019-03-22 11:55:22 +01:00
Andreas Fabri
427deceb9e
Do not #define short names in the T2 testsuite
2019-02-14 12:51:52 +01:00
Andreas Fabri
7a84f58c0d
T2, Spatial_searching, Ridges, Stream_lines
2019-02-14 10:15:50 +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
Mael Rouxel-Labbé
1e27cfba44
Add layers.xy data file for T2 tests
2019-01-11 14:38:35 +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é
04f3ad63fa
Added some sanity tests for the T2 find_conflict functions
2019-01-11 12:33:16 +01:00
Guillaume Damiand
92ba7fa6c9
Update minimum cmake required version in all CMakeLists.txt
2018-10-18 14:49:23 +02:00
Guillaume Damiand
0bd9088b5a
Remove all include( ) and include( CGAL_CreateSingleSourceCGALProgram ) in CMakeLists.txt; they are no more required.
2018-10-17 14:17:08 +02:00
Laurent Rineau
908311e903
Merge branch 'releases/CGAL-4.11-branch' into releases/CGAL-4.12-branch
2018-07-20 17:34:47 +02:00
Laurent Rineau
0585ffcc39
Merge pull request #3232 from lrineau/Triangulation_2-Debug_CDT2-lrineau
...
Fix CDT_2 errors, using snapping of intersection points (cont.)
2018-07-20 17:20:16 +02:00
Laurent Rineau
29f1f5147d
add a test for bug #2999
2018-07-13 17:15:23 +02:00
Andreas Fabri
e20672ea77
Update _test_line_face_circulator.h
2018-02-13 12:13:06 +01:00
Sébastien Loriot
ee57fc2d6c
add SPDX identifier for files under the GPL-3+ license
2017-11-12 10:17:51 +01:00
Laurent Rineau
bf8c3701b3
Be careful with parallel test that reuse same files
2017-10-20 11:47:41 +02:00
Laurent Rineau
d064199f30
Fix a warning
2017-07-18 16:46:56 +02:00
Andreas Fabri
8463b1a251
Add implementation and test of Constrained_edges_iterator
2017-07-18 13:44:21 +02:00
Mael Rouxel-Labbé
d10ae41efd
Added result_types to triangulation 2 test traits
2017-06-28 10:16:23 +02:00
Mael Rouxel-Labbé
671e7bfda5
Triangulation_2 test traits must define Construct_point_2
2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé
1091661007
Do not provide Bare_point overloads in Regular_triangulation_2
...
Additional:
-- Simplify the hierarchy_2: there is no need to distinguish between
Bare_point and Weighted_point, that is the point (!) of the type "Point"
in Triangulation_2.
-- Use Weighted_point in tests
2017-06-28 10:14:35 +02:00
Mael Rouxel-Labbé
e96f05f31b
Fixed Bare_point / Weighted_point usage in Triangulation_2
2017-06-28 10:14:35 +02:00
Andreas Fabri
d73be575f5
Do in 2D what we did in 3D
2017-06-28 10:14:35 +02:00
Andreas Fabri
d624271315
Remove usage of Regular_triangulation_euclidean_traits_3
2016-11-21 16:43:40 +01:00
Andreas Fabri
f488b9baf9
Changes after Laurent's review
2016-11-03 14:53:15 +01:00
Andreas Fabri
ea50fb811d
Cleanup. The 2D and 3D triangulation testsuite pass
2016-11-03 13:07:50 +01:00
Andreas Fabri
9dde08c414
WIP
2016-11-03 13:07:50 +01:00
Sébastien Loriot
7e2ee496de
update project name of cmake scripts of tests
2016-09-08 00:26:37 +02:00
Sebastien Loriot
7630d2a6fc
Merge pull request #875 from sloriot/Triangulation_2_and_PMP-fix_Triangulation_2_projection_traits_3
...
PMP: make triangulate_faces works with non filtered kernels
2016-05-05 14:55:11 +02:00
Andreas Fabri
db4c17ad68
fixes after Sebastien's remarks
2016-04-25 16:05:28 +02:00
Andreas Fabri
7f6550a48d
Remove the xy_3 traits classes; Deprecate Triangulation_euclidean_traits_2
2016-04-12 17:38:25 +02:00
Sébastien Loriot
4c29bf1b44
CMAKE_SOURCE_DIR -> CMAKE_CURRENT_SOURCE_DIR
2016-03-24 16:33:46 +01:00
Sébastien Loriot
881e4d3199
request Core only in examples, tests and demos when really needed
2016-03-07 22:36:57 +01:00
Sébastien Loriot
2d191d6651
commit CMakeLists.txt for all examples and tests
2016-03-07 17:39:36 +01:00
Sébastien Loriot
d7e9261d58
hide the filtered projection traits behind the projection traits
...
the selection of the base class is done using Kernel::Has_filtered_predicates
2016-03-02 21:57:54 +01:00
Andreas Fabri
f592fb7e89
move test files to TDS_2 and TDS_3
2015-08-23 16:12:02 +02:00
Laurent Rineau
6fc32e43fe
Merge pull request #74 from lrineau/Triangulation_2-fix_projection_traits-GF
...
Fix a bug in Triangulation_2_projection_traits.h and its filtered version
2015-06-10 12:30:29 +02:00
Laurent Rineau
8f0bb6dc46
Add a test case that shows Triangulation_2_projection_traits.h is buggy.
2015-05-08 17:49:49 +02:00
Andreas Fabri
2f967ba6e4
the testsuite for the new version of the Constrained_triangulation_plus_2 passes
2014-05-19 15:57:24 +02:00
Sébastien Loriot
84d97f385d
add insert_constraints functions to Constrained_Delaunay_triangulation_2
2013-12-02 22:48:38 +01:00
Sébastien Loriot
62fcc226b8
add a method to insert a range of points with info in cdt
2013-04-16 07:37:51 +02:00
Sébastien Loriot
9fcf46e11a
replace CGAL_[kernel/qpe/triangulation/]_assertion by assert in tests
...
this should be the case, following our guidelines.
using:
find */test/* -name '*.[hc]*' | xargs sed -i 's/CGAL_assertion/assert/g'
2013-03-21 10:50:55 +01:00
Andreas Fabri
61bb99e2f1
use types
2013-02-04 22:39:00 +01:00
Andreas Fabri
13bac84716
less warnings in various packages
2013-02-01 10:27:07 +01:00
Andreas Fabri
93e7fe275b
less warnings in Triangulation_3
2013-01-31 15:50:13 +01:00
Sébastien Loriot
82b2ebc865
apply the cpp0x namespace renaming in all files
2012-12-19 11:33:17 +01:00
Laurent Rineau
61ff95f149
Add a test of CDT_plus_2 with the Projection_traits_xy_3
2012-06-28 09:56:06 +00:00
Laurent Rineau
49404f75f5
Improved patch
...
The Constraint_hierarchy is now templated by T, an anonymous type (that is
a Vertex_handle when the constraint hierarchy is used in Ct_plus_2), and a
Compare operator, that have a comparison member function:
bool operator()(T, T);
In Ct_plus_2, the Compare operator passed to the Constraint_hierarchy
compares the vertices with a Less_xy_2, implemented by Less_x_2, and
Less_y_2.
The test test/Triangulation_2/include/CGAL/_test_cls_hierarchy_2.h has been
tweaked, to check that the type T passed in the hierarchy no longer needs
to have a point() member function, as it was before May 2010 (when GF has
determinized the Cdt_plus_2 using too simple patch).
2012-06-28 09:16:23 +00:00
Andreas Fabri
7cb640d05d
The Constraint_hierarchy_2 gets an additional LessXY_2 functor as template argument so that it no longer applies operator<(Point,Point)
2012-06-25 10:11:56 +00:00
Philipp Möller
67fdbf93d1
Prevent spurious warning in the test-suite. Leave the one that is
...
actually suspicious.
2012-06-22 11:52:14 +00:00
Laurent Rineau
f4b3f4361f
Remove a warning about deprecated header
...
We test the deprecated headers on purpose, so one can define
CGAL_NO_DEPRECATION_WARNINGS.
2012-06-18 13:21:10 +00:00
Philipp Möller
cdf47795ba
Fixed a small memory leak in one of the testcases.
2012-04-17 12:17:23 +00:00
Laurent Rineau
8f59fd9592
Turn QPL into LGPLv3+
2012-01-13 16:33:35 +00:00
Philipp Möller
f9b288db90
Merged branch ^/branches/features/gsoc2011-copy_n-pmoeller.
...
Small feature page: https://cgal.geometryfactory.com/CGAL/Members/wiki/Features/Small_Features/Replace_copy_n
2011-08-26 14:34:10 +00:00
Marc Glisse
19b75ba29c
Remove unused lines
2011-04-12 10:08:00 +00:00
Andreas Fabri
903a13e433
Roll back to a projection on the xz instead of the zx plane
2011-01-19 10:55:39 +00:00
Sébastien Loriot
3e04fb16fb
merge packages related to projection traits into the trunk.
2011-01-11 07:18:36 +00:00
Laurent Rineau
96162627aa
Merge the following small features in trunk:
...
https://cgal.geometryfactory.com/CGAL/Members/wiki/Features/Small_Features/Remove_cluster
https://cgal.geometryfactory.com/CGAL/Members/wiki/Features/Small_Features/Structural_filtering
Merge also a partial support of:
https://cgal.geometryfactory.com/CGAL/Members/wiki/Features/Small_Features/Rt::vertices_inside_conflict_zone
(vertices_inside_conflict_zone" is added in Regular_triangulation_3, without documenting it)
2010-12-10 17:02:10 +00:00
Andreas Fabri
542b8b5a36
Add forward declatations to make clang happy
2010-12-06 14:30:48 +00:00
Laurent Rineau
55132c9716
signed/unsigned, again
2010-11-25 12:14:06 +00:00
Laurent Rineau
168d31b6d6
Commit that feature directly to trunk:
...
https://cgal.geometryfactory.com/CGAL/Members/wiki/Features/Small_Features/Triangulation_2::mirror_edge%28Edge%29
Code + manual + small test
Why directly to trunk: the patch is very low risk, I have ran the test
suite and the manual testsuite, and there is already a Triangulation_2
package in candidate packages (cannot have two candidates for one package).
2010-11-16 17:27:06 +00:00
Laurent Rineau
e90e28169a
Apply the same patch as for Constrained_triangulation_2.h in revision 59626
...
to Constrained_triangulation_plus_2.h:
|------------------------------------------------------------------------
|r59626 | lrineau | 2010-11-10 19:42:53 +0100 (Wed, 10 Nov 2010) | 3 lines
|
|Fix an infinite loop in CDT<EPIC, TDS, Exact_predicates_tag>
|Add a test, that know passes, and previously failed.
|
|------------------------------------------------------------------------
2010-11-12 10:39:22 +00:00
Laurent Rineau
ecfd82e287
Fix an infinite loop in CDT<EPIC, TDS, Exact_predicates_tag>
...
Add a test, that know passes, and previously failed.
2010-11-10 18:42:53 +00:00
Andreas Fabri
834eb7b34a
Add newline in last line
2010-08-23 10:52:08 +00:00
Sébastien Loriot
5767088b4f
merge from branches/experimental-packages/Triangulation_2_new_projection_traits:
...
-factorization of projection trait classes into an internal trait class
-add missing functors to Triangulation_euclidean_traits_XX_3 required by CDT with intersections.
2010-06-24 15:34:38 +00:00
Laurent Rineau
0ae5fe2372
Fix missing "typename" keywords in Andreas' patch.
2010-06-21 13:35:02 +00:00
Andreas Fabri
8e75125383
int -> size_type/std::size_t
2010-06-21 13:19:03 +00:00
Sébastien Loriot
52317dd49f
add python script (replace_CGAL_NAMESPACE.py) to replace CGAL_BEGIN_NAMESPACE and CGAL_END_NAMESPACE
...
by namespace CGAL { and } //namespace CGAL. in all .h and .cpp files
in a directory.
Apply it to all packages in the trunk
Remove macro definition from the config.h file.
2010-06-09 07:37:13 +00:00
Laurent Rineau
d168a37440
Merge the branch /branches/candidate-packages/Triangulation_2
...
- Work from:
Pedro Machado Manhaes de Castro <Pedro.Machado@sophia.inria.fr>
Olivier Devillers <Olivier.Devillers@sophia.inria.fr>
- The work is:
- fast removal for Delaunay_2 (Olivier)
- displacement for 2D triangulation (Olivier and Pedro)
https://cgal.geometryfactory.com/CGAL/Members/wiki/Features/Move_T2T3
2010-05-31 08:24:29 +00:00
Laurent Rineau
1c9dd58b76
Fix the testsuite of Constraint_hierarchy_2.
2010-03-11 09:41:11 +00:00
Andreas Fabri
2ae72afd4d
Use a symbolic perturbation so that in the grid case all diagonals have the same orientation
2010-02-25 15:29:19 +00:00
Andreas Fabri
7a6f7f3e21
Add #include <CGAL/Random.h> to testfile
2010-01-27 15:19:08 +00:00
Sylvain Pion
30e969ccff
Weighted_point : add constructors from Cartesian coordinates (2D and 3D).
...
They hardcode weight=0 and do not provide room for an "hw" homogeneous
argument, in order to avoid any potential ambiguity.
2010-01-11 12:50:50 +00:00
Laurent Rineau
98fe0b9439
Merged revisions 53426,53428 via svnmerge from
...
svn+ssh://lrineau@scm.gforge.inria.fr/svn/cgal/branches/CGAL-3.5-branch
........
r53426 | lrineau | 2009-12-15 16:14:57 +0100 (Tue, 15 Dec 2009) | 1 line
Merge from trunk revisions 53423-53425 (teillaud)
........
r53428 | lrineau | 2009-12-15 17:41:27 +0100 (Tue, 15 Dec 2009) | 5 lines
- Fix a bug in Constraint_hierarchy_2 (see the big comment inserted in the
code).
- Add a test in the testsuite, to assure that this bug will never be
reintroduced.
........
2009-12-15 16:58:02 +00:00
Sylvain Pion
516f8d5eee
Same as revision 51948 on CGAL-3.5-branch :
...
Rename following the converging convention to prevent future incompatibility :
- Vertex_container -> Vertex_range
- Face_container -> Face_range
- Cell_container -> Cell_range
2009-09-15 17:12:03 +00:00
Pedro Machado Manhaes de Castro
78e138ea32
clean-up move stuffs, since they are not documented yet
2009-09-03 11:44:12 +00:00
Sylvain Pion
c1ae415b18
Remove short name macros. See PR 1551.
2009-04-21 18:28:04 +00:00
Sylvain Pion
6bcc8a8e5d
Document TDS::Face_container, Vertex_container, faces() and vertices().
...
(renamed from vertex_container() and face_container()).
2009-04-10 15:45:02 +00:00
Sylvain Pion
eff6efd3af
CGAL_NULL and CGAL_NULL_TYPE are now constant macros, so replace them by:
...
- CGAL_NULL -> NULL
- CGAL_NULL_TYPE -> CGAL::Nullptr_t (typedef to const void *)
2008-07-12 21:58:52 +00:00
Fernando Cacciola
f93437ca22
Removed *unmodified* auto-generated CMakeLists.txt (now created by create_internal_release)
2008-05-05 14:01:55 +00:00
Sylvain Pion
1d8779b171
Rename the following functions:
...
det2x2_by_formula
det3x3_by_formula
det4x4_by_formula
det5x5_by_formula
det6x6_by_formula
to:
determinant
How cute... a name independent of the dimension, and even readable !
2008-04-09 13:35:34 +00:00
Laurent Rineau
e66f0fff30
Fix the error
...
"include/CGAL/_test_cls_delaunay_triangulation_2.h", line 212: Error: The function "rand" must have a prototype.
detected by Sun CC.
2008-03-11 11:41:03 +00:00
Fernando Cacciola
b704509dcf
Examples/Demos/Test CMake scripts updated
2008-03-05 21:14:02 +00:00
Pedro Machado Manhaes de Castro
a2d2170c3d
Option of hiding the move() tests (because of triangulation_hierarchy)
2008-02-21 09:41:53 +00:00
Pedro Machado Manhaes de Castro
6080832b6e
move() is not yet implemented for hierarchy, so we have to hide those tests from it.
2008-02-21 09:41:08 +00:00
Pedro Machado Manhaes de Castro
253bbdc2f6
Adding a testsuite for the method move().
2008-02-20 13:13:48 +00:00
Pedro Machado Manhaes de Castro
38e5b4ad0f
Adding a testsuite for the move() method.
2008-02-20 13:12:32 +00:00
Fernando Cacciola
a659cd852a
Added project() and conditional test for CGAL_DIR
2008-02-14 15:42:36 +00:00
Fernando Cacciola
14043c43a0
Replaced CGALROOT by CGAL_DIR (the latters is used by CMake automatically)
2008-02-08 17:47:21 +00:00
Fernando Cacciola
afddfc4fca
CMake scripts for demos/examples/test added
2008-02-06 19:06:24 +00:00
Sylvain Pion
fa74321235
Merge all 3 test directories into a single one, for ease of use and homogeneity
...
with the rest of the world.
2008-01-03 18:40:19 +00:00
Sylvain Pion
a6eb8bc07a
Forgotten changes in the .C -> .h renaming patches.
2007-12-30 15:39:36 +00:00
Sylvain Pion
7ba0f34891
Rename *.C to *.h .
2007-12-28 20:28:57 +00:00
Sylvain Pion
360d29f72a
Rename CGAL_CIRC_NULL to CGAL_NULL.
2007-12-28 15:40:36 +00:00
Christophe Delage
c3450d9161
Added spatial_sort support in iterator range insert() & ctors.
...
This adds requirements to TriangulationTraits2 concept :
Less_x_2 and Less_y_2 predicates.
Also fixes a few bugs in RT2 (hidden points were sometimes forgotten
in degenerate dimensions.)
2007-03-21 15:29:30 +00:00
Sylvain Pion
28d1410e73
warnings-=2
2007-03-08 09:53:59 +00:00
Sylvain Pion
8877a94bc7
Rename .C to .cpp
2007-01-27 20:44:08 +00:00
Sylvain Pion
f0e5d26517
Rename .C to .cpp.
2007-01-27 20:43:03 +00:00
Sylvain Pion
46caa3f082
rename .C to .cpp
2007-01-27 20:38:36 +00:00
Sylvain Pion
5b665e0a72
- Filtered_exact removal.
2006-07-12 12:10:02 +00:00
Sylvain Pion
c12c212640
- test-suite : MP_Float is not a FieldType anymore, use Quotient<MP_Float> instead.
2006-02-16 18:33:21 +00:00
Laurent Saboret
1aad55d4cb
Change CVS keywords to SVN style
2006-02-14 10:08:15 +00:00
Laurent Saboret
3ad3429283
Move packages to trunk root
2006-02-14 08:58:20 +00:00