Commit Graph

132 Commits

Author SHA1 Message Date
Laurent Rineau 0293802159 Revert those commits:
| ------------------------------------------------------------------------
  | r59170 | afabri | 2010-10-11 15:48:42 +0200 (Mon, 11 Oct 2010) | 1 line
  | Changed paths:
  |    A /trunk/Kernel_23/doc_tex/Kernel_23_ref/Projection_traits_xy_3.tex
  | 
  | Add  Projection_traits_xy_3
  | ------------------------------------------------------------------------
  | r59168 | afabri | 2010-10-11 15:35:17 +0200 (Mon, 11 Oct 2010) | 1 line
  | Changed paths:
  |    A /trunk/Kernel_23/include/CGAL/Projection_traits_xy_3.h (from /trunk/Kernel_23/include/CGAL/Triangulation_euclidean_traits_xy_3.h:59167)
  |    A /trunk/Kernel_23/include/CGAL/Projection_traits_xz_3.h (from /trunk/Kernel_23/include/CGAL/Triangulation_euclidean_traits_xz_3.h:59167)
  |    A /trunk/Kernel_23/include/CGAL/Projection_traits_yz_3.h (from /trunk/Kernel_23/include/CGAL/Triangulation_euclidean_traits_yz_3.h:59167)
  |    D /trunk/Kernel_23/include/CGAL/Triangulation_euclidean_traits_xy_3.h
  |    D /trunk/Kernel_23/include/CGAL/Triangulation_euclidean_traits_xz_3.h
  |    D /trunk/Kernel_23/include/CGAL/Triangulation_euclidean_traits_yz_3.h
  | 
  | Generalize name of traits class
  | ------------------------------------------------------------------------
  | r59167 | afabri | 2010-10-11 15:31:36 +0200 (Mon, 11 Oct 2010) | 1 line
  | Changed paths:
  |    A /trunk/Kernel_23/include/CGAL/Triangulation_euclidean_traits_xy_3.h (from /trunk/Triangulation_2/include/CGAL/Triangulation_euclidean_traits_xy_3.h:59165)
  |    A /trunk/Kernel_23/include/CGAL/Triangulation_euclidean_traits_xz_3.h (from /trunk/Triangulation_2/include/CGAL/Triangulation_euclidean_traits_xz_3.h:59165)
  |    A /trunk/Kernel_23/include/CGAL/Triangulation_euclidean_traits_yz_3.h (from /trunk/Triangulation_2/include/CGAL/Triangulation_euclidean_traits_yz_3.h:59165)
  | 
  | Add Projection_traits classes
  | ------------------------------------------------------------------------
  | r59166 | afabri | 2010-10-11 15:28:40 +0200 (Mon, 11 Oct 2010) | 1 line
  | Changed paths:
  |    M /trunk/Kernel_23/include/CGAL/internal/Projection_traits_3.h
  | 
  | Add Less_xy_2 and Less_yx, so that it becomes model of PolygonTraits_2
  | ------------------------------------------------------------------------
  | r59162 | afabri | 2010-10-11 15:19:16 +0200 (Mon, 11 Oct 2010) | 1 line
  | Changed paths:
  |    M /trunk/Kernel_23/include/CGAL/internal/Projection_traits_3.h
  | 
  | rename class inside the file
  | ------------------------------------------------------------------------
  | r59161 | afabri | 2010-10-11 15:17:15 +0200 (Mon, 11 Oct 2010) | 1 line
  | Changed paths:
  |    A /trunk/Kernel_23/include/CGAL/internal/Projection_traits_3.h (from /trunk/Kernel_23/include/CGAL/internal/Triangulation_euclidean_traits_projected_3.h:59160)
  |    D /trunk/Kernel_23/include/CGAL/internal/Triangulation_euclidean_traits_projected_3.h
  | 
  | Generalize name 
  | ------------------------------------------------------------------------
  | r59160 | afabri | 2010-10-11 15:15:20 +0200 (Mon, 11 Oct 2010) | 1 line
  | Changed paths:
  |    A /trunk/Kernel_23/include/CGAL/internal/Triangulation_euclidean_traits_projected_3.h (from /trunk/Triangulation_2/include/CGAL/internal/Triangulation_euclidean_traits_projected_3.h:59156)
  | 
  | Move implementation of Projection_traits from Triangulation_2 to Kernel
  | ------------------------------------------------------------------------
  | r59158 | afabri | 2010-10-11 15:12:54 +0200 (Mon, 11 Oct 2010) | 1 line
  | Changed paths:
  |    A /trunk/Kernel_23/include/CGAL/internal
  | 
  | Add directory for the Projection_traits
  | ------------------------------------------------------------------------
The work is now done is a branch.
2010-11-04 11:24:14 +00:00
Sébastien Loriot 182ca2b410 update manual for intersection primitives to account for
Ray_3 vs {Ray_3,Segment_3 and Line_3}

Update the table for CGAL::intersection and make it sorted for dimension 3
(this time I also updated the html part)
2010-10-29 09:02:09 +00:00
Andreas Fabri e9e2c4a353 Add Less operators 2010-10-11 14:13:27 +00:00
Andreas Fabri 3867047d18 Add Projection_traits_xy_3 2010-10-11 13:48:59 +00:00
Andreas Fabri 992879b912 Add Projection_traits_xy_3 2010-10-11 13:48:42 +00:00
Laurent Rineau 5b22e449e0 Kernel::Compare_distance_[23] with three objects, similar to
compare_distance_to_point, but with any object types
2010-10-11 11:10:32 +00:00
Christian Helbling 837409ebdc adding compare_lexicographically for Point_2 and Point_3 to improve compatibility with Point_d 2010-09-20 12:30:45 +00:00
Sébastien Loriot 663099d82d add intersection Triangle_3,Triangle_3
add intersection Plane_3,Triangle_3
update documentation (also for Segment_3,Line_3 and Segment_3,Segment_3)
2010-08-31 13:42:40 +00:00
Laurent Rineau 351c3233be - Deprecate operator()(T1, T2, T3, T4) of Kernel::CompareSquaredDistance_[23]
and move it to Kernel::CompareDistance_[23].
- Add CGAL::compare_distance(T1, T2, T3, T4).

(Test suite OK.)
2010-08-03 14:22:25 +00:00
Laurent Rineau 665c0ea8c1 Kernel::Compare_Squared_distance_[23]::operator() has now the following
overloads:

  template <typename T1, typename T2> 
  Comparison_result 
  operator()(T1, T2, Kernel::FT);

and 

  template <typename T1, typename T2, typename T3, typename T4> 
  Comparison_result 
  operator()(T1, T2, T3, T4); // compare distances |t1, t2|^2 and |t3, t4|^2.

Before that revision, the types T_i were hardcoded to Kernel::Point_3
without any reason.

And Kernel::Compare_Squared_distance_2 and
Kernel::Compare_Squared_distance_3 now have the same implementation, and
almost the same documentation (but the set of admitted input types). The
implementations could even have been factorized.

(The Kernel_23 testsuite passes on Linux, as well as the doc_tex testsuite.)
2010-06-30 12:19:54 +00:00
Olivier Devillers e91a9eb837 typo 2010-05-28 15:56:36 +00:00
Olivier Devillers edc5bde367 remove useless preconditions
and define the meaning of the returned value in case of degeneracies
in side of oriented sphere/circle
2010-05-28 15:50:51 +00:00
Stéphane Tayeb ac291ebfab * add documentation for do_intersect(Bbox,Bbox/Line/Ray/Seg) and intersection(Triangle,Line/Ray/Seg)
NB: Todo - change history.tex
2009-12-18 15:26:35 +00:00
Sylvain Pion d2a078803b Add a new Boolean constant in the kernel, Has_filtered_predicates. 2009-10-16 12:07:18 +00:00
Sylvain Pion b2f7758408 Add a Boolean template parameter UseStaticfilters to Filtered_kernel
that allows to specify if static filters are activated or not.
It allows to have both variants at the same time, which allows for
a faster test-suite.
CGAL_NO_STATIC_FILTERS still allows to tweak the default.
2009-10-16 11:06:44 +00:00
Sébastien Loriot 86d9865f2e add operator() with one point to compare_squared_radius functor 2009-10-13 08:34:43 +00:00
Sylvain Pion a448798082 Remove more EPS files. 2009-09-18 13:25:40 +00:00
Laurent Rineau 770f8f85f2 Documentation of revision 51512:
In Compare_dihedral_angle_3, add the comparison between the dihedral
  angle defined by four points (or three vectors), and a FT. The FT
  represents the cosine of the angle.
2009-08-26 11:50:41 +00:00
Laurent Rineau 22798366ad Add a new predicate in the Kernel: Compare_dihedral_angle_3. 2009-08-25 14:48:41 +00:00
Andreas Fabri c742f2ae50 Add operator to Compare_squared_distance_3 2009-08-24 15:07:44 +00:00
Andreas Fabri f5105ee367 Add squared radius for a point to make kernels model of the alpha shape traits class 2009-07-07 10:34:29 +00:00
Sébastien Loriot 2ccf2ba9cc fix operator pb display Circle_3 2009-02-05 12:58:39 +00:00
Sylvain Pion 872586c9bd Remove default arguments in the declarations of the classes
Ambient_dimension and Feature_dimension to fix a problem
with buggy links to "Kernel".
2009-01-29 10:21:16 +00:00
Laurent Rineau 2bf7e2ccce Merge from the CGAL-3.4 branch:
New Revision: 47768
 Author: lrineau
 Date: 2009-01-20 23:19:01 +0100 (Tue, 20 Jan 2009)
 
 Log message:
 
Fix wrong cross-linking in the manual, using new optional argument of \ccc
and \ccRefIdfierPage.
2009-01-20 22:37:16 +00:00
Sylvain Pion 7b26494d30 Reduce the noise in "grep ccTexHtml". 2009-01-05 17:24:03 +00:00
Sylvain Pion 1d5010386d Replace non-standard compliant <MATH> by <span class="math">. 2009-01-05 15:14:35 +00:00
Sylvain Pion 80da0bff1a More obsolete \ccTexHtml removal. 2009-01-03 15:21:38 +00:00
Sylvain Pion 098fa9cf79 More removal of obsolete ccTexHtml. 2009-01-03 13:10:07 +00:00
Sylvain Pion c01504fb42 typo 2008-12-29 18:20:03 +00:00
Laurent Rineau c115d9c48f No _ in labels! 2008-12-02 15:33:52 +00:00
Andreas Fabri 7c90cc1d03 Add a ccRefLabel for overloaded do_intersect 2008-12-02 14:08:29 +00:00
Monique Teillaud 0a21c25e37 bug fix 2008-11-06 15:13:16 +00:00
Monique Teillaud 87c5be67d6 radical line 2008-10-21 08:11:06 +00:00
Monique Teillaud 3b3d2c5b04 do_intersect(line2,circle2) does not need CK 2008-10-16 14:31:07 +00:00
Monique Teillaud 5b0b5be086 added functions coming from the spherical kernel 2008-10-03 12:23:05 +00:00
Monique Teillaud db22c6ea74 bug fix in file name 2008-10-02 13:06:02 +00:00
Monique Teillaud 388c4f01b2 Line_arc_2 added in compare_y_at_x
+ file name changed
2008-10-01 15:15:00 +00:00
Monique Teillaud 4151cb3a86 added case coming from CK2 2008-10-01 14:24:43 +00:00
Monique Teillaud 94fe33c5f6 added versions coming from the circular kernel 2008-10-01 13:49:51 +00:00
Monique Teillaud 5eb7d9dddb Construct_supporting_plane_3( circle3 ) -> Construct_plane_3
Construct_diametral_sphere_3( circle3 ) -> Construct_spehe_3
corresponding constructors added in the two classes
2008-09-16 13:47:46 +00:00
Monique Teillaud f72028b2c2 constructor Circle_3(3 points) added 2008-09-09 11:47:49 +00:00
Monique Teillaud 0ec24cd91a - bug fix: missing do_intersect(Circle_2,Circle_2) added in Kernel_23
- added do_intersect and intersect coming from CK2 and SK3
2008-09-01 09:14:12 +00:00
Sylvain Pion 4c79d1d5cf Rename Bool_type to Boolean. 2008-08-26 13:40:26 +00:00
Sylvain Pion 3dfba083bf Mention that sqrt is required 2008-08-25 12:35:31 +00:00
Andreas Fabri fda3f6241f Added global function squared_area 2008-08-22 13:24:50 +00:00
Sylvain Pion 5f68e3f573 Now we can refer to Uncertain<>. 2008-07-31 14:15:44 +00:00
Sylvain Pion 2f0abc4b6f Move CGAL::Object from Kernel_23 to STL_Extension. 2008-07-29 15:26:38 +00:00
Sylvain Pion e03e06f0ac Recommend object_cast instead of assign 2008-07-29 13:47:46 +00:00
Sylvain Pion aec07c1fe2 Use object_cast instead of assign in the example 2008-07-29 12:01:35 +00:00
Sylvain Pion 000ed7a361 Typo Equaldistant -> Equidistant. 2008-07-23 14:24:04 +00:00