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