Mael Rouxel-Labbé
e2085b3719
Cleaning regular-related KDS files
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé
3f90129193
Introduced class Default_instantaneous_mapped_kernel
...
In KDS, predicates will call rep->static_object() on Point_3 (say, e.g.,
for an orientation predicate). If the triangulation is a regular triangulation,
the points are weighted and are thus in the weighted point table.
Since we don't want to store and maintain the bare points in the point table,
we use this class, which redirects the calls to static_object() and
kinetic_object() that would query the table points to instead query the
weighted points table and return the appropriate bare point.
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé
94b16947b3
Improved typedef readability
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé
5b82ea6026
Restored some debug code to complete state
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé
347e5324d3
Fixed point types before predicate
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé
a52bd9474b
Cleaning the code of some kinetic data structure files
...
Trailing whitespace, indentation, extra ';', ugly typedefs etc.
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé
c30d609e19
Fixed some point types
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé
d25c2f15ef
Cleaned instantaneous_adaptor
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé
62d5587efe
Fixed type
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé
cb3b8f0cc2
Fixed types in Cartesian_moving_weighted_point
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé
79f5ca0244
Fixed some predicates
...
-- traits must have Construct_point_2/3 now
-- renamed power_test to satisfy the new convention
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé
f3b8c0f657
Kinetic regular vertex/cell base must inherit the Cgal::regular_tri vertex/cell base
...
and not simply the cgal::tri_vertex/cell_base
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé
ca849ebf44
Restored active_weighted_points_3_table_handle()
...
Can't abuse active_points_3_table by camouflaging weighted points in it because
we need a separate point and weighted point type (since we do not want to
redefine all predicates less_x_3 for weighted points)
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé
a2f5f64fc3
Annihilated Regular_triangulation_euclidean_traits_23 across all packages
...
Left a little bit alive in the tests and in the Triangulation_23/doc
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé
03716b484d
Clean off useless comment
2017-06-08 13:23:10 +02:00
Laurent Rineau
bbf430b0b1
Merge pull request #585 from afabri/Kernel-Weighted_point-GF
...
Introduce Kernel::Weighted_point_3 together with functors
2016-12-20 19:52:02 +01:00
Andreas Fabri
f30b46cb76
fix Voronoi_diagram_2
2016-11-16 10:17:31 +01:00
Andreas Fabri
30c525482d
Fix KDS
2016-11-03 13:08:31 +01:00
Andreas Fabri
dff4ebe817
made variables const or atomic, and removed unused file
2016-11-03 10:41:00 +01:00
Andreas Fabri
beb1417477
remove unused header files; remove commented includes; changed include paths
2016-02-15 14:20:12 +01:00
Andreas Fabri
c8d66590fc
more CGAL_USE
2016-01-21 11:07:42 +01:00
Giles Bathgate
f0ac236713
Introduces a GCAL_NO_ASSERTIONS_BOOL macro
...
This macro is always defined. Its value will be true when assertions are defined
and false when assertions are not defined. This macro can then be used in place
of a true false constant, such as is needed for CGAL_NOEXCEPT.
2016-01-08 20:31:59 +00:00
Giles Bathgate
f6dfeba815
Use CGAL_NO_ASSERTIONS with the CGAL_NOEXCEPT macro.
...
This avoids penalizing release builds in which assertions are not
made within the destructors, and so no exception can be thrown.
2015-12-19 15:47:16 +00:00
Giles Bathgate
3a725499ad
Introduces CGAL_NOEXCEPT macro.
...
This macro is available for future compatibility with c++11, which
by default marks destructors noexcept(true). Some destructors
in CGAL do throw exceptions an so should be marked noexcept(false).
Since noexcept is not available in c++0x and below the macro is
disabled when CGAL_CXX11 is not defined since it is not required.
2015-11-23 16:47:59 +00:00
Giles Bathgate
9645135ff5
Introduces a CGAL_destructor_assertion macro.
...
This macro can safely be called from a destructor, even when
the stack is currently unwinding, and thus prevents uncatchable
exceptions.
2015-11-23 16:47:59 +00:00
Laurent Rineau
7612345f2f
Trivial fix: add newline at EOF
...
There was a warning with gcc 4.1.2, on CentOS 5:
```
In file included from /mnt/testsuite/include/CGAL/Kinetic/Active_objects_vector.h:27,
from /mnt/testsuite/include/CGAL/Kinetic/Exact_simulation_traits.h:27,
from /home/cgal_tester/build/src/cmake/platforms/CentOS5/test/Kinetic_data_structures/Delaunay_triangulation_3.cpp:7:
/mnt/testsuite/include/CGAL/Kinetic/internal/debug_counters.h:79:33: warning: no newline at end of file
```
2015-11-05 11:12:57 +01:00
Sebastien Loriot
2e493f297b
Merge pull request #389 from afabri/CGAL-Qt3-GF
...
Remove Qt3 based demos
2015-10-23 17:08:49 +02:00
Laurent Rineau
330a0e75a2
Merge pull request #385 from cjamin/CGAL_headers_only-gdamiand_cjamin
...
CGAL headers only, step 0
2015-10-13 16:37:38 +02:00
Andreas Fabri
5306f7b7f2
Use CGAL_assertion_code() to avoid warnings
2015-10-08 09:28:35 +02:00
Sébastien Loriot
4787bda61f
remove documented widget based on Qt3
2015-10-05 15:20:06 +02:00
Guillaume Damiand
e4342d50d2
Merge remote-tracking branch 'cgal-dev/CGAL_headers_only-gdamiand_cjamin' into CGAL_headers_only-gdamiand_cjamin
2015-10-01 09:48:54 +02:00
Guillaume Damiand
cf1c0ea0ca
Merge branch 'CGAL_headers_only-gdamiand_cjamin-OLD' into CGAL_headers_only-gdamiand_cjamin
2015-10-01 09:12:55 +02:00
Sébastien Loriot
6dc5695989
remove unused variable warning
2015-07-22 15:47:23 +02:00
Guillaume Damiand
4bbe2a82e9
Add missing #include; add some case IO::PRETTY to avoid some warning.
2015-06-12 14:08:29 +02:00
Clement Jamin
ed3113f89d
Code clean-up
2015-03-16 17:01:49 +01:00
Guillaume Damiand
9c78897ba5
Merge branch 'CGAL_headers_only-gdamiand_cjamin-old' into CGAL_headers_only-gdamiand_cjamin
2015-03-16 14:00:43 +01:00
Laurent Rineau
e965b6293e
Fix compilation errors with C++11 and Boost-1.56
...
Use *explicit* conversions to `bool`, for boost::shared_ptr and
boost::optional.
2015-01-14 14:47:29 +01:00
Clement Jamin
3915c89c17
Oops, forgot to commit the *_impl.h files
2014-12-03 11:29:54 +01:00
Clement Jamin
e18e59a72a
Header-only for package Kinetic_data_structures
2014-12-02 20:41:19 +01:00
Sébastien Loriot
3cfc2e7efe
using Exact_rational instead of Gmpq
2014-06-27 15:20:48 +02:00
Sébastien Loriot
251a9d8446
fixes for tests to use leda and not gmp
2014-06-19 14:29:20 +02:00
Andreas Fabri
dd531f5068
suppress size_t->int loss of precision warning
2014-05-14 08:44:53 +02:00
Andreas Fabri
d4bca9e2a4
Qiet down VC++ on a 'performance' warning
2014-05-07 14:38:44 +02:00
Andreas Fabri
7f52c63c82
Apply a bug fix proposed by Jeffrey Bush
2014-05-07 14:38:44 +02:00
Laurent Rineau
be467e7958
This operator>> is really badly written.
...
When istream::getline reaches the EOF, it sets the failbit. Then it must
be cleared, so that a successful read does not return a failed stream.
2014-01-06 15:36:57 +01:00
Andreas Fabri
5ff303803a
remove unused parameters
2013-03-12 09:55:38 +01:00
Andreas Fabri
fde05660f2
put entire loop in an #ifndef CGAL_NO_ASSERTIONS
2013-03-04 14:35:02 +01:00
Andreas Fabri
b3b1aee424
class -> struct
2013-03-04 14:28:29 +01:00
Andreas Fabri
feb7a73657
static_cast
2013-03-01 14:26:06 +01:00
Andreas Fabri
c751ac0cc0
removed unused parameter name
2013-02-28 16:44:40 +01:00