Commit Graph

951 Commits

Author SHA1 Message Date
Laurent Rineau cbd73f4274 Merge pull request #2046 from MaelRL/Kernel-Fix_weighted_point-GF
Improve the implementation of weighted_point_23
2017-05-09 12:14:23 +02:00
Mael Rouxel-Labbé 9f366d6acf Fixed missing _object(){ } for construct_wp/p functors of projection traits 2017-04-30 19:51:49 +02:00
Mael Rouxel-Labbé 37eac35321 Added functions related to Weighted_point_2 to Projection_traits_3
+ tests
2017-04-21 18:14:38 +02:00
Mael Rouxel-Labbé 8915b4472d Minor documentation fixes 2017-04-21 13:13:20 +02:00
Mael Rouxel-Labbé c79e2d4b36 Added Compute_power_product_2 to the 2D kernel predicates
doc + test included
2017-04-21 13:07:40 +02:00
Mael Rouxel-Labbé 7040cb1f40 Added a few more tests to power_side_of_bounded_power_sphere_3
Just to check that the ordering indeed does not matter.
2017-04-21 11:43:29 +02:00
Mael Rouxel-Labbé bb086ff739 Added power_side_of_bounded_power_circle_2 to the 2D kernel predicates
A partial implementation was deleted from the Alpha_shapes_2 package without
moving the functions to the kernel...
This implementation adds the missing overloads (4, 3, and 2 points)

Test + doc included
2017-04-21 11:37:27 +02:00
Mael Rouxel-Labbé a751464ab6 Minor fixes to weighted functors (doc + cleaning) 2017-04-21 11:31:13 +02:00
Mael Rouxel-Labbé 232c38cee1 Removed documentation of degenerate cases of power_side_of_oriented_* predicates
See Issue https://github.com/CGAL/cgal/issues/2067
2017-04-20 12:54:39 +02:00
Mael Rouxel-Labbé cf45a408c1 Fixed doc of CoplanarOrientation_3 2017-04-19 15:15:26 +02:00
Mael Rouxel-Labbé 1223f5f5a0 Improved readability of weighted point-related functors (no real changes)
Fixed indentation, trailing whitespace, english, etc.
2017-04-19 11:40:58 +02:00
Mael Rouxel-Labbé dd2e7f3a0c Made compute_squared_smallest_orthogonal_circle_2() a kernel functor
and documented, tested, etc. it

Previously in Alpha_shape_2
2017-04-19 11:06:14 +02:00
Mael Rouxel-Labbé e65eae4802 Removed unnecessary comma 2017-04-19 09:03:04 +02:00
Mael Rouxel-Labbé de7fb095ac Fixed doc of power_side_of_bounded_power_sphere 2017-04-18 21:51:27 +02:00
Mael Rouxel-Labbé 64768b3b37 Fixed missing weight references 2017-04-18 21:46:05 +02:00
Mael Rouxel-Labbé b01078c887 Removed "starting with 0" from coordinate accessor 2017-04-18 15:30:20 +02:00
Christian Gagneraud d8502c0469 Fix a few typos in the documentation 2017-04-16 13:20:12 +12:00
Mael Rouxel-Labbé 23f2df44be Cleaned trailing whitespace in Point_23/Weighted_point_23 2017-04-13 12:01:08 +02:00
Mael Rouxel-Labbé 7d16ce69ec Removed mentions of explicit conversions between Weighted points and Points
This is for another branch!
2017-04-11 15:49:29 +02:00
Mael Rouxel-Labbé cc4f17c9e7 Minor doc fixes 2017-04-10 18:48:37 +02:00
Mael Rouxel-Labbé 5f8a64148a Fixed years 2017-04-10 12:55:26 +02:00
Mael Rouxel-Labbé 05835d2c2a Fixed power tests and clarified the documentation 2017-04-10 12:52:39 +02:00
Mael Rouxel-Labbé ef17853876 Minor documenation fixes 2017-04-07 03:46:05 +02:00
Mael Rouxel-Labbé 18169be82a Added tests for Weighted_point_23 and related functions 2017-04-07 03:45:05 +02:00
Mael Rouxel-Labbé 2ae17980fe Added weighted point-related functions to global functions 2017-04-07 03:44:59 +02:00
Mael Rouxel-Labbé 365cfd0566 Fixed predicate Power_side_of_oriented_power_sphere_3
The Homogeneous kernel doesn't know how to run that predicate
for 3 or 4 arguments so it must be defined in Kernel/function_objects until
those operators are added
2017-04-06 21:57:21 +02:00
Mael Rouxel-Labbé 14dd33eb43 Fixed ConstrustRadicalAxis_2 not showing up in doc 2017-04-06 21:28:20 +02:00
Mael Rouxel-Labbé ca408108a2 Added documentation of Construct_weighted_point_23 2017-04-06 12:46:29 +02:00
Mael Rouxel-Labbé 0d42994d1e Fixed incomplete Weighted_point_23 documentation 2017-04-06 12:39:43 +02:00
Mael Rouxel-Labbé 548d2bfb02 Cosmetic changes to Point_23 and Weighted_point_23 2017-04-06 12:38:18 +02:00
Mael Rouxel-Labbé aacf8db95f Fixed includes and typedefs in Weighted_point_23 2017-04-06 12:35:24 +02:00
Mael Rouxel-Labbé 2d2e675dac Fixed missing operators in Cartesian and homogeneous construct_weighted_point_23 2017-04-06 12:18:36 +02:00
Andreas Fabri 1a3a6e93ee Kernel_23: fix typesetting in the manual.
Leading whitespace has semantics, so we remove it
2017-03-22 17:13:28 +01:00
Andreas Fabri 32e3d1bebd Division free functors may use Mpzf 2017-03-01 17:16:31 +01:00
Sébastien Loriot 5212bb55a6 fix Core dependancies 2017-02-13 17:16:30 +01:00
Sébastien Loriot 1fc9b0976a fix Core dependancies 2017-02-13 16:21:02 +01:00
Laurent Rineau af64852edb test/Kernel_23 requires Core 2017-02-10 19:09:28 +01:00
Sébastien Loriot 9ae7b37845 Merge pull request #1745 from sloriot/Polyhedra_corefinement-enhancements-sloriot
Add corefinement operations in PMP
2017-01-12 12:05:18 +01:00
Sébastien Loriot cba8456715 add constructions for the intersection point of a plane by a line and of 2 lines
this is undocumented and allow to have a lazy node for this construction
2017-01-02 19:23:48 +01:00
Laurent Rineau 7e9d909602 Fix comments with wrong statements 2016-12-30 16:44:08 +01:00
Laurent Rineau aee5e80d74 Fix typos in the doc 2016-12-30 16:44:08 +01:00
Laurent Rineau 5457a85b6b Merge pull request #1656 from afabri/Kernel-Linfinity_distance-GF
Kernel_23: Add the function  FT  l_infinity_distance() for 2D and 3D points
2016-12-28 16:12:31 +01:00
Sébastien Loriot cad6cbbcf4 fix doc issues detected by recent doxygen
duplicated labels, missing bibtex entry and nested comments
2016-12-28 13:59:45 +01:00
Sébastien Loriot 5937892cc8 fix intersection links 2016-12-28 11:19:37 +01:00
Andreas Fabri 068078229d fix assertion in testsuite 2016-12-21 09:42:39 +01:00
Andreas Fabri 226da32579 std::max() does only take two arguments 2016-12-21 09:42:33 +01:00
Maxime Gimeno b0dd7d25cb Add Compute_L_infinity_distance_3. 2016-12-21 09:41:33 +01:00
Andreas Fabri eb7e38493c Add the function FT l_infinity_distance(Point_2, Point_2)
as well as the corresponding functor

This is a function where the implementation is in the file
Kernel_23/include/CGAL/Kernel/function_objects.h

When the implementation is different for Cartesia and Homogeneous coordinates
the code should go into the function_objects.h files
in the packages Cartesian_kernel and Homogeneous_kernel
2016-12-21 09:40:53 +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
Laurent Rineau 2f4a32f089 fix Construct_projected_point_3 with degenerate triangles
`Construct_projected_point_3::operator()(Point_3, Triangle_3)` now
checks if the triangle is degenerated (actually it checks if its
supporting plane is degenerated). If it is, it falls back to
`operator()(Point_3, Segment_3)` with the segment that is equivalent to
the triangle. When using non-exact floating point numbers, it chooses
the edge of the triangle that has the biggest l-infinity length.
2016-12-02 13:14:14 +01:00