Aymeric PELLE
c05c4c56f1
Fix bug in inexact_orientation.
...
We use construction_point() instead of doing a fail addition between
point and offset.
2014-04-07 10:11:36 +02:00
Aymeric PELLE
acbeac0983
In p3T3, inexact_locate() is added.
2014-03-11 18:57:52 +01:00
Aymeric PELLE
2175dd4237
In P3T3, inexact_periodic_locate is done.
...
inexact_locate() have to be done now.
2014-03-11 18:46:06 +01:00
Aymeric PELLE
bec402f3c3
The inexact_locate architecture is applied on periodic_locate function instead.
2014-03-11 17:24:37 +01:00
Aymeric PELLE
bf2a73f220
Add inexact_locate() in P3T3. But, it does nothing for the moment.
2014-03-11 16:31:58 +01:00
Andreas Fabri
6c547e5663
Mainly added includes
2013-09-13 22:24:30 +02:00
Sébastien Loriot
e3af5e6443
typo
2013-07-26 09:20:27 +02:00
Sébastien Loriot
a59bc5edd5
Finish Philipp's patch on initializing arrays.
2013-07-25 07:53:57 +02:00
Nico Kruithof
0889773189
* Changed template parameter Predicate_ to Functor_ (for the traits classes of P2T2 and P3T3)
...
* Added side_of_bounded_circle to the predicates in the 2D traits classes
2013-07-15 13:06:45 +02:00
Sébastien Loriot
7baa997ce1
Merge branch 'Filtered_kernel-ring-glisse'
...
This branch adds an additional way to filter predicates that are only doing
operations using a ring number type. In case of failure, a RT is used rather
than an FT which speeds things up.
Successfully tested in CGAL-4.3Ic-37
2013-05-23 11:15:32 +02:00
Laurent Rineau
d19578725b
Fix warnings
2013-02-07 18:15:23 +01:00
Marc Glisse
571f370e28
Rename Exact_type_selector to Exact_field_selector.
2012-12-24 12:20:13 +01:00
Sébastien Loriot
0b4e9c67a4
inherits from Filtered_predicates rather than defining a completely new one
...
I just needed to added a constructor where the approximate predicates and exact
one needed to be provided (which is reasonable and cannot hurts thanks to the
explicit)
2012-12-21 11:09:39 +01:00
Philipp Möller
3e98c46535
Correct syntax for uniform initialization
2012-12-12 11:24:34 +01:00
Philipp Möller
ae1b135c54
Replace usage of CGAL_CFG_ARRAY_MEMBER_INITIALIZATION_BUG
2012-12-11 17:46:14 +01:00
Philipp Möller
79b30908d5
WARNFIX: Silence a good part of unused variable/parameter warnings.
...
Wextra results in a dreadful wall of yellow in the test-suite and is
scary when using CGAL. Reduce some of the noise by silencing the
obvious cases with CGAL_USE or comments.
2012-08-07 11:04:32 +00:00
Laurent Rineau
db194534c7
First big patch to fix -Wunused-local-typedefs
...
-Wunused-local-typedefs is a new warning flag of gcc-4.7, and it will enabled
by -Wall since gcc-4.8 (not yet released).
The fix is a big set of removals of unused typedefs (or comments, or moves,
depending on the context).
2012-08-01 13:29:16 +00:00
Laurent Rineau
6a560629d2
Adapt Periodic_3 to the new API of TDS_3::print_cells.
2012-04-02 13:08:57 +00:00
Laurent Rineau
76c157041f
Remove warnings about unused variables
2012-01-31 15:27:50 +00:00
Laurent Rineau
569a0e174e
Add explicit casts
...
This seems required. At least the Intel Compiler version 12 gives a set of errors
(not even warnings!). Here is one of them:
/home/lrineau/CGAL/CGAL-4.0-Ic-248/include/CGAL/Periodic_3_triangulation_ds_cell_base_3.h:192:29: error: non-constant-expression cannot be narrowed from type 'int' to 'unsigned int' in initializer list
unsigned int off0[3] = {(o0>>2)&1,(o0>>1)&1,(o0&1)};
^~~~~~~~~
/home/lrineau/CGAL/CGAL-4.0-Ic-248/include/CGAL/Periodic_3_triangulation_ds_cell_base_3.h:192:29: note: override this message by inserting an explicit cast
unsigned int off0[3] = {(o0>>2)&1,(o0>>1)&1,(o0&1)};
^~~~~~~~~
static_ca)t<unsigned int>(
2012-01-19 11:33:04 +00:00
Andreas Fabri
5e3416b4e8
Fix for Windows 'min/max' bug
2012-01-18 10:57:34 +00:00
Andreas Fabri
bcb3936fa7
Fix for Windows 'min/max' bug
2012-01-18 09:56:05 +00:00
Laurent Rineau
8f59fd9592
Turn QPL into LGPLv3+
2012-01-13 16:33:35 +00:00
Sébastien Loriot
6e897fafb6
bug-fix: typo
2011-04-26 17:01:34 +00:00
Sébastien Loriot
a2cec87f46
replace remaing fabs in include files by CGAL::abs
2011-02-18 15:37:40 +00:00
Andreas Fabri
4070f44d62
Use CGAL::abs instead of fabs
2011-02-16 16:37:23 +00:00
Manuel Caroli
f1059c785c
remove deprecated functions as was done for the non-periodic case
...
to avoid warning with clang
2010-11-17 13:30:08 +00:00
Manuel Caroli
27f838fb7e
remove unused variables
2010-11-12 17:03:19 +00:00
Andreas Fabri
c2ca884e0a
Remove unused variable
2010-11-12 08:39:33 +00:00
Laurent Rineau
3e7b862d7d
Follow-up to my previous commit: Periodic_3_triangulation_filtered_traits_3
...
needs a default value for its second template argument "Off".
2010-09-15 21:08:15 +00:00
Laurent Rineau
a448af53f7
Revert the following revision, which was the wrong way to "fix" the issue:
...
| ------------------------------------------------------------------------
| r58079 | mcaroli | 2010-08-15 20:28:30 +0200 (Sun, 15 Aug 2010) | 2 lines
| Changed paths:
| M /trunk/Periodic_3_triangulation_3/include/CGAL/Periodic_3_triangulation_traits_3.h
|
| minor fix
|
| ------------------------------------------------------------------------
The issue is that Periodic_3_triangulation_traits_3<K> needs to be
specialized for Filtered_kernel, but
CGAL::Exact_predicates_inexact_constructions_kernel is no longer a typedef
for Filtered_kernel<Simple_cartesian<double> >: it is now a class
CGAL::Epick, equivalent to Filtered_kernel<...>.
The solution is to partially specialize
Periodic_3_triangulation_traits_3<K> for CGAL::Epick too. But, for that, I
needed to make Periodic_3_triangulation_filtered_traits_base_3 have a
second template parameter Offset, like Periodic_3_triangulation_traits_3<K>
(Offset has a default value), to avoid an instantiation loop.
The revision 58079 above was just a patch that showed that
Periodic_3_triangulation_filtered_traits_base_3 was no longer used with the
EPIC kernel.
2010-09-15 16:36:27 +00:00
Manuel Caroli
cafa29bd6e
minor fix
2010-08-15 18:28:30 +00:00
Laurent Rineau
210578c95a
Fix compilation with -DCGAL_CFG_MATCHING_BUG_6
2010-08-13 16:07:57 +00:00
Andreas Fabri
f30692b048
int size_t
2010-06-24 16:24:54 +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
67928706cf
C++ conformance: calls to member templates of dependent names must be
...
qualified with the "template" keyword.
Example:
template <typenam T>
void f(T foobar) {
foobar.get<0>().foobar(); // error
}
must be written:
foobar.template get<0>().foobar();
2010-05-16 16:50:24 +00:00
Manuel Caroli
258d98bfaf
establish strict-ansi compliance
2010-05-13 15:33:16 +00:00
Sébastien Loriot
e3c0dd54fb
change private to protected (needed by 'using locate' in Alpha_shape_3 class)
2010-05-13 06:39:52 +00:00
Manuel Caroli
2154129b9c
use NT_converter to test whether the given domain is a cube (precondition)
2010-05-10 21:42:48 +00:00
Manuel Caroli
bf5e38abb8
fix errors in strict-ansi mode
2010-05-07 08:38:36 +00:00
Manuel Caroli
83e7ca6895
deactivate assertion that is not evaluated exactly
2010-05-06 16:52:46 +00:00
Manuel Caroli
62310ab94d
change int to unsigned int to avoid compiler warning
2010-05-04 10:38:21 +00:00
Manuel Caroli
5b8efd2fdb
bugfix in triangulation hierarchy: put the down pointers right if the triangulation
...
in the upper level is in 27-cover and the next lower one in 1-cover
2010-05-03 16:08:26 +00:00
Manuel Caroli
39b81098ac
bugfix in management of the too long edges
2010-04-27 19:00:21 +00:00
Manuel Caroli
05319e6059
bugfix in is_Gabriel with tests
2010-04-22 17:09:21 +00:00
Manuel Caroli
3fb24464ea
speed-up: Use kernel instead of periodic traits for spatial sorting
2010-04-15 17:27:24 +00:00
Manuel Caroli
b0b46225a2
change find_conflicts from recursive to using a stack (as in Triangulation_3)
2010-04-14 18:18:23 +00:00
Mikhail Bogdanov
cf8684a394
class Conflict_tester: private -> protected
2010-04-14 16:20:51 +00:00
Mikhail Bogdanov
9dd237f1af
Adjusted a piece of code. It deals with the previous commit
2010-04-13 13:26:29 +00:00
Mikhail Bogdanov
c53fa10c22
Modified get_location_offset. This function returns an offset for a point such that this point is in conflict with given cell.
2010-04-13 11:56:28 +00:00
Manuel Caroli
0c1ca742fe
use cell_circulator instead of facet_circulator to compute the dual of an edge
2010-04-12 08:48:06 +00:00
Manuel Caroli
800867263a
remove some macros
2010-03-01 09:24:55 +00:00
Manuel Caroli
f6f8515536
fix sign error in heuristical optimization
2010-02-19 20:49:17 +00:00
Manuel Caroli
d2305d0ffd
- added new iterator Unique_vertex_iterator that iterates over all vertices
...
whose corresponding points lie in the original domain
- added the iterator range removal again
2010-02-08 15:39:04 +00:00
Sylvain Pion
85dc12f2a7
Remove empty lines at beginning and end of files
...
(apply Scripts/developer_scripts/remove_empty_lines.pl).
2010-02-01 12:55:28 +00:00
Manuel Caroli
0f78796045
Replace CGAL::Random by Boost RNG (with geometric distribution)
...
This is the adaptation of rev 53804 for the periodic case
2010-01-28 13:47:00 +00:00
Andreas Fabri
ae05fd3a58
Switch to boost::rand48
2010-01-28 07:50:26 +00:00
Laurent Rineau
cf58402520
Merged revisions 53772,53774,53776,53785 via svnmerge from
...
svn+ssh://lrineau@scm.gforge.inria.fr/svn/cgal/branches/CGAL-3.6-branch
........
r53772 | penarand | 2010-01-25 16:07:11 +0100 (Mon, 25 Jan 2010) | 4 lines
added GMP version check in Gmpfi testsuite (because the testsuite runs
mostly with the version of MPFI shipped with RS, which needs GMP>=4.2)
........
r53774 | mcaroli | 2010-01-25 16:31:25 +0100 (Mon, 25 Jan 2010) | 2 lines
Precision on the behavior of remove
........
r53776 | mcaroli | 2010-01-25 17:15:21 +0100 (Mon, 25 Jan 2010) | 2 lines
change O(sqrt n) check into expensive_precondition
........
r53785 | fcacciola | 2010-01-25 22:44:06 +0100 (Mon, 25 Jan 2010) | 1 line
Fixed buggy testsuite
........
2010-01-25 22:47:06 +00:00
Manuel Caroli
2da81523d1
merge from CGAL-3.6-branch r53767: cleanup in the preconditions
2010-01-25 14:09:47 +00:00
Manuel Caroli
14b3d2441d
merge from CGAL-3.6-branch r53765
2010-01-25 12:33:59 +00:00
Manuel Caroli
0ffb1fb2ef
fix warnings in the test suite
2009-12-09 10:51:26 +00:00
Manuel Caroli
848c774faf
correcting typo
...
several cosmetic changes
2009-12-08 19:55:53 +00:00
Manuel Caroli
1ebc5a9727
bugfix in voronoi cell centroid computation
2009-12-08 19:32:13 +00:00
Manuel Caroli
f84e9e94e8
add volume and centroid computation for Voronoi cells with tests
2009-12-08 16:56:31 +00:00
Manuel Caroli
9707594a87
establish compatibility to Alpha_shapes_3
2009-12-04 12:22:31 +00:00
Manuel Caroli
1e55d03f2d
change the way of removing the 26 copies to not break iterators
2009-11-23 11:52:58 +00:00
Manuel Caroli
139153d48c
fix dual of an edge
2009-10-26 16:40:02 +00:00
Manuel Caroli
b52704edcd
add the missing dual function for edges
...
add some dummy functions for compatibility with Alpha_shape_3
2009-10-26 10:43:35 +00:00
Manuel Caroli
9c37c95799
unused parameter warning
2009-10-16 08:07:52 +00:00
Manuel Caroli
3d52467d8b
bugfix due to the name space change of the static filters
2009-10-15 17:01:02 +00:00
Manuel Caroli
a85a84ac6d
Move static filters stuff under CGAL/internal and CGAL::internal
2009-10-14 18:54:51 +00:00
Manuel Caroli
47561ea023
Move static filters stuff under CGAL/internal and CGAL::internal
2009-10-14 18:53:15 +00:00
Manuel Caroli
ecb54c6cf6
make I/O operators consistent with the doc
2009-10-14 15:32:07 +00:00
Manuel Caroli
3f38106af5
minor modification for the test suite
2009-10-14 15:31:29 +00:00
Manuel Caroli
6c1109fa79
minor fixes for the test suite
2009-10-14 09:23:07 +00:00
Manuel Caroli
e9f8612c29
improving the doc
2009-10-07 15:59:19 +00:00
Manuel Caroli
a30617b7d4
bugfix : iterator range insert returns the number of points it
...
has inserted
2009-10-07 10:12:05 +00:00
Manuel Caroli
e7fc284371
bugfix for empty iterator range
2009-10-07 09:59:32 +00:00
Manuel Caroli
9cf8c7227d
add duals vertex and edge
2009-10-07 08:24:39 +00:00
Manuel Caroli
682dac0eb2
add function set_domain
2009-10-07 08:24:19 +00:00
Manuel Caroli
bfc394e765
adding accessors for the combinatorial primitives corresponding to the
...
current geometric primitive.
2009-10-07 08:24:02 +00:00
Sylvain Pion
0a1d9c4194
Remove svn:executable property
2009-09-19 05:30:14 +00:00
Manuel Caroli
c30f8cbb57
modifications due to changing internal namespace from CGALi to internal
2009-08-27 09:33:40 +00:00
Sylvain Pion
8573fe26ce
Rename CGALi to internal.
2009-08-24 17:10:04 +00:00
Manuel Caroli
db1556784f
change initalization order in order to remove warning
2009-08-18 08:16:00 +00:00
Manuel Caroli
25dd9db46f
replace the conflict_flag by tds_data according to
...
the changes in the TDS class
2009-08-17 14:30:26 +00:00
Manuel Caroli
dfd75c6859
replacing all calls of incident_vertices to adjacent_vertices
2009-08-17 13:23:20 +00:00
Manuel Caroli
554046ca20
renaming function convert_to_needed_cover to convert_to_27_sheeted_cover
...
which suits better its functionality
2009-08-17 12:47:21 +00:00
Sylvain Pion
927b432b39
typo : mecanism -> mechanism.
2009-08-10 15:57:03 +00:00
Manuel Caroli
799f6c902e
adding licence header
...
+ propsets
2009-07-27 11:22:44 +00:00
Manuel Caroli
7ff1e4f084
last todo's for the release
2009-06-27 12:27:12 +00:00
Manuel Caroli
2d81db69c4
remove the offset to int encoding from the Cell base class
...
as it is not part of the Cell base concept
2009-06-26 08:25:50 +00:00
Manuel Caroli
dc2c4ebf70
removing the constructor Periodic_3_offset_3(int) as written in the doc
...
call P3T3::int_to_off instead to decode an offset encoded into an int
2009-06-24 10:00:40 +00:00
Andreas Fabri
59fcb4fac1
std::min -> (std::min)
2009-06-19 10:14:17 +00:00
Marc Glisse
efcf123e59
Help the compiler by giving parameters the same name in declaration and
...
definition.
2009-06-17 06:06:17 +00:00
Manuel Caroli
880ea67014
bugfix in the dual functions
2009-06-12 16:32:28 +00:00
Manuel Caroli
50e4e67739
doing some todos
2009-06-01 18:43:38 +00:00
Manuel Caroli
a5a830bf60
removing obsolete todos
2009-05-28 15:19:17 +00:00
Manuel Caroli
cfb5289891
transforming all CGAL_assertion into CGAL_triangulation_assertion
2009-05-27 16:47:15 +00:00
Manuel Caroli
854ba92143
treating the remaining todos in Periodic_3_Delaunay_triangulation_3
2009-05-27 14:29:11 +00:00
Manuel Caroli
0a940dc72f
correcting typo to get rid of warnings
2009-05-26 08:27:10 +00:00
Manuel Caroli
f2f04f60e7
Definition of Vertex_remover out of line iff
...
CGAL_CFG_OUTOFLINE_MEMBER_DEFINITION_BUG is not defined
2009-05-25 16:12:40 +00:00
Manuel Caroli
fa036c04cf
minor changes to make it work with sunPro
2009-05-25 09:15:38 +00:00
Manuel Caroli
61cc878024
minor clean-ups
2009-05-25 08:38:08 +00:00
Manuel Caroli
e05ab9ec88
remove temporary debugging code
2009-05-19 11:53:12 +00:00
Manuel Caroli
f86d30c434
bugfix
2009-05-19 08:51:51 +00:00
Manuel Caroli
4b83c6f9a3
making it compile with SunPRO
2009-05-18 16:59:13 +00:00
Manuel Caroli
0bf0004e37
small fix (typo)
2009-05-12 16:03:39 +00:00
Manuel Caroli
b04d5889a3
optimizing hierarchy
...
adapting documentation
2009-05-12 15:39:20 +00:00
Manuel Caroli
b60167d573
- store too long edges in a std::set instead of a std::vector of std::pair
...
using the indices stored in the vertices
- bugfix in nearest_vertex
- improve hierarchy
2009-05-12 12:06:23 +00:00
Manuel Caroli
02eae34ffe
improving hierarchy, adding tests
2009-05-11 09:29:03 +00:00
Manuel Caroli
68fc612c96
fixing warnings
2009-05-11 08:09:05 +00:00
Manuel Caroli
c9fc90bab4
hierarchy is working
...
currently it runs too slowly due to multiply sheeted covering
todo: speed up.
2009-05-07 17:08:35 +00:00
Manuel Caroli
1469716d49
the triangulation hierarchy.
...
The adaptation for the case of multiple coverings still needs to be done.
2009-05-07 15:38:37 +00:00
Manuel Caroli
f04dce71d2
final cleanup of the test suite
2009-05-06 16:21:18 +00:00
Manuel Caroli
539e0b1dea
added files for the hierarchy to please the manual test suite
...
the implementation will follow according to the planning in the wiki
2009-05-06 15:51:23 +00:00
Manuel Caroli
8bf3530286
bugfix
2009-05-06 14:41:16 +00:00
Manuel Caroli
c66c48eb61
minor fixes to get rid of warnings
2009-05-06 11:20:42 +00:00
Manuel Caroli
ed87889d39
IO in binary mode
2009-05-06 09:07:10 +00:00
Manuel Caroli
6f210c95d0
get rid of warnings
2009-05-05 11:38:34 +00:00
Manuel Caroli
d9757bc54d
bugfix in convert_to_neede_covering
2009-05-05 11:05:58 +00:00
Manuel Caroli
654df8ca16
fixing is_facet and is_edge with offsets
2009-05-04 16:54:55 +00:00
Manuel Caroli
9223aa5191
moving the package Periodic_3_triangulation_3 to the trunk
...
upon approval by Laurent R.
2009-05-04 10:04:08 +00:00