Commit Graph

800 Commits

Author SHA1 Message Date
Laurent Rineau ef116f9fcb Merge pull request #2188 from sloriot/CGAL-prefix_sign
Quality calls to sign
2017-07-10 15:33:55 +02:00
Mael Rouxel-Labbé 9aae7eb74e Cleaned some output from KDS 2017-06-30 11:31:18 +02:00
Mael Rouxel-Labbé d68b8b6fe3 Fixed ref to temporary warning in KDS (bis) 2017-06-29 11:26:11 +02:00
Mael Rouxel-Labbé 9e16a943c6 Fixed "taking ref of temporary" warning in KDS
For KDS' regular triangulations, the construct_point_3(Weighted_point_3) does
_not_ return a reference but builds a point from scratch!
2017-06-28 10:32:57 +02:00
Mael Rouxel-Labbé e3c14f8c30 Restored pragma warning disablers
Accidentally removed in 17ed237f0845b0b346431058fdc7d1742f04dbb7
2017-06-28 10:17:14 +02:00
Mael Rouxel-Labbé 5ffd9a84af Fixed unused variable warning in KDS 2017-06-28 10:17:14 +02:00
Mael Rouxel-Labbé 983dca6158 Cleaning regular-related KDS files 2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé 4004e99823 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-28 10:15:30 +02:00
Mael Rouxel-Labbé 3c5f251dc5 Improved typedef readability 2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé 2baa15294c regular triangulation uses the weighted point table 2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé e704759b9a Restored some debug code to complete state 2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé 464dcf3a9e Fixed point types before predicate 2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé 6502fbbb31 Cleaning the code of some kinetic data structure files
Trailing whitespace, indentation, extra ';', ugly typedefs etc.
2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé 4b443f855f Fixed some point types 2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé 411ac121ef Cleaned instantaneous_adaptor 2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé b3d0565fff Removed useless comment 2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé 2ba57b785c Fixed type 2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé 249fecc7be random_kds's regular triangulations must use weighted point tables 2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé 7e42666397 Fixed types in Cartesian_moving_weighted_point 2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé 58e427fcd8 Fixed some predicates
-- traits must have Construct_point_2/3 now
-- renamed power_test to satisfy the new convention
2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé 63611fe600 Kinetic regular example must use the weighted points table 2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé ca47935c52 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-28 10:15:30 +02:00
Mael Rouxel-Labbé 2c9a759504 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-28 10:15:30 +02:00
Mael Rouxel-Labbé daeead65a5 Added missing data file
Some tests actually tested nothing...
2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé e68b523481 Check if ifstream is well formed 2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé 9fbf2720ce 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-28 10:15:30 +02:00
Mael Rouxel-Labbé 13f73849c4 Clean off useless comment 2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé edcf670beb Removed mentions of now deleted qt widget 2017-06-28 10:15:30 +02:00
Sébastien Loriot 1bba93acc7 explicit that the sign function is the one from CGAL to avoid ambiguity 2017-06-17 07:31:22 +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