Commit Graph

793 Commits

Author SHA1 Message Date
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é 480560e8b9 regular triangulation uses the weighted point table 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é c4134a817d Removed useless comment 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é 4eda51927d random_kds's regular triangulations must use weighted point tables 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é c3115389e2 Kinetic regular example must use the weighted points table 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é 60280d5ac8 Added missing data file
Some tests actually tested nothing...
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé 782d6b6776 Check if ifstream is well formed 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
Mael Rouxel-Labbé fc3325b0d8 Removed mentions of now deleted qt widget 2017-06-08 13:23:10 +02:00
Andreas Fabri 6e2e044a11 KDS: do not open /dev/null 2017-04-03 19:00:43 +02:00
Sébastien Loriot 5212bb55a6 fix Core dependancies 2017-02-13 17:16:30 +01: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 f6f6f86cb6 one less warning 2016-11-16 10:32:11 +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
Laurent Rineau 038a310a1a Merge pull request #1446 from sloriot/CGAL-remove_dont_submit
Getting rid of the remaining dont_submit files
2016-10-17 10:01:30 +02:00
Sébastien Loriot c4cac135d2 protect code that requires gsl 2016-10-10 17:09:44 +02:00
Sébastien Loriot 8cb10f9713 move unused files to archive and make it ignored by the release creation script 2016-10-06 09:53:35 +02:00
Sébastien Loriot 7e2ee496de update project name of cmake scripts of tests 2016-09-08 00:26:37 +02:00
Sébastien Loriot 7b08d17748 add non commited cmake scripts 2016-09-08 00:19:05 +02:00
Sébastien Loriot 6b338eeb1f improve the name of projects in cmake scripts of examples 2016-09-08 00:02:55 +02:00
Sébastien Loriot ff1b240a37 replace assert by CGAL_assertion in CGAL code 2016-08-25 11:12:17 +02:00
Laurent Rineau 4c97ab6c96 Minor fixes for -Wconversion warnings in a few packages 2016-04-22 12:36:26 +02:00
Laurent Rineau 50b55bd27c Merge pull request #890 from sloriot/CGAL-generate_CMakeLists-sloriot
Generate CMakelists
2016-03-29 11:02:17 +02:00
Sébastien Loriot c869ee6855 update cmake scripts with at least one example requiring Core 2016-03-24 16:40:57 +01:00
Sébastien Loriot 4c29bf1b44 CMAKE_SOURCE_DIR -> CMAKE_CURRENT_SOURCE_DIR 2016-03-24 16:33:46 +01:00
Andreas Fabri 06f5dcfb41 I had removed one #endif too much 2016-03-22 19:11:02 +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
Andreas Fabri beb1417477 remove unused header files; remove commented includes; changed include paths 2016-02-15 14:20:12 +01:00
Philipp Möller 0a04a3a48f Use CGAL_DOC_VERSION 2016-02-11 15:37:54 +01:00
Sébastien Loriot 72863bfe44 fix doxygen warnings 2016-02-04 21:19:36 +01:00
Sebastien Loriot 313cd7cf6c Merge pull request #657 from afabri/Kernel_fix-warnings-GF
Use CGAL_USE to avoid g++6.0 warning
2016-01-25 08:57:24 +01:00
Laurent Rineau 86a07d234f Fix warnings
> In file included from /home/cgal_tester/build/src/cmake/platforms/CentOS5/src/CGAL/all_files.cpp:4:
> /mnt/testsuite/src/CGAL/Turkowski_numeric_solver.cpp:26:7: warning: no newline at end of file
> In file included from /home/cgal_tester/build/src/cmake/platforms/CentOS5/src/CGAL/all_files.cpp:21:
> /mnt/testsuite/src/CGAL/numeric_solvers_support.cpp:27:7: warning: no newline at end of file
> In file included from /home/cgal_tester/build/src/cmake/platforms/CentOS5/src/CGAL/all_files.cpp:25:
> /mnt/testsuite/src/CGAL/JAMA_numeric_solver.cpp:26:7: warning: no newline at end of file
2016-01-21 12:17:48 +01:00
Andreas Fabri c8d66590fc more CGAL_USE 2016-01-21 11:07:42 +01:00
Sebastien Loriot 4e9448cb9e Merge pull request #451 from GilesBathgate/throwing-destructors
Introduces a CGAL_destructor_assertion macro.
2016-01-14 14:08:10 +01:00