Commit Graph

192 Commits

Author SHA1 Message Date
Philipp Möller 495fac8ea1 Merge from next 2012-07-27 17:58:52 +00:00
Guillaume Damiand bf0d1025eb Revert last commit: cgal is really too rigid... 2012-07-17 08:56:13 +00:00
Guillaume Damiand 46f16de7c9 Add operator += in BBox classes (more or less a trivial bug-fix). 2012-07-17 08:18:59 +00:00
Marc Glisse dd395e8764 Circle_3 is an object, not a functor. 2012-07-06 16:20:16 +00:00
Philipp Möller b529971917 Merge the changes to ccPrecond and ccPostcond that have been in
features/doxy-pmoeller and add changes for ccRequires on top of it.

ATTN: This changeset should be unmerged before the whole branch goes
      back into next.
2012-06-20 13:57:36 +00:00
Philipp Möller 42e2d63f88 Undo the broken merge 2012-06-20 12:47:26 +00:00
Philipp Möller dddc771f29 First part of the precondition changes 2012-06-20 12:23:20 +00:00
Laurent Rineau 391f74f23a Fix a typo 2012-05-31 17:22:53 +00:00
Laurent Rineau a89b28a053 Add Compute_determinant_[23] to the Kernel concept 2012-05-30 15:30:18 +00:00
Marc Glisse 5066da60dc typo 2012-05-21 07:36:51 +00:00
Sébastien Loriot aad2dfdde0 doc bug fix:
In the doc page of Intersect_2, intersection for Iso_rectangle_2 and Triangle_2
is documented while in the doc page of intersection, it is not
(and all is implemented).
2012-05-02 10:27:45 +00:00
Sébastien Loriot a521599052 sort 2D intersection primitive lexicographically (like I done in 3D) 2012-05-02 10:22:28 +00:00
Laurent Rineau 93486787c3 The inside of ccPkgDescription must not contain black lines between macros
Otherwise that inserts a buggy "<p>" tag in the package overview where the
doctype does not allow it.
2011-11-15 19:16:23 +00:00
Laurent Rineau fdb7ea6c6b prepare ccPkgHowToCiteCgal for CGAL-3.10 (in 2012) 2011-09-28 16:15:05 +00:00
Philipp Möller d5352c3101 Ray_3 Ray_3 intersections can also return Segment_3 2011-07-15 14:17:20 +00:00
Sébastien Loriot b5be50cc80 typo 2011-07-13 16:37:37 +00:00
Laurent Rineau ac9877372d Update all PkgDescription files to CGAL-3.9 2011-06-27 14:31:45 +00:00
Sébastien Loriot ca13392880 CGAL -> \cgal\ 2011-05-30 12:36:57 +00:00
Sébastien Loriot 93f9acba26 missing return type in html version only 2011-05-12 13:17:08 +00:00
Olivier Devillers 4983cce83f undo small manual fix 2011-04-12 13:10:15 +00:00
Olivier Devillers 8814399389 small manual fix 2011-04-12 13:03:30 +00:00
Laurent Rineau da95064578 Update the \ccPkgHowToCiteCgal tag for CGAL-3.8 (2011). 2011-02-24 15:21:10 +00:00
Sébastien Loriot 17ef3f3d39 typo 2011-02-10 10:14:43 +00:00
Andreas Fabri 1a48eaae74 Roll back to a projection on the xz instead of the zx plane 2011-01-19 10:27:51 +00:00
Sébastien Loriot 13781476af split MyPointC2.h into several .h files so that we can use
those files and avoid the doc to be not in sync with
examples.
2011-01-18 17:04:26 +00:00
Sébastien Loriot 8b24541338 correct ugly linking problem 2011-01-18 16:36:25 +00:00
Sébastien Loriot 3e04fb16fb merge packages related to projection traits into the trunk. 2011-01-11 07:18:36 +00:00
Sébastien Loriot 78a8e36522 small features to add additional operator() to Angle_2.
This is a merge from the branch /branches/experimental-packages/More_robust_Triangulation_2-branch
2011-01-07 10:45:13 +00:00
Sébastien Loriot ace9c87934 revert dirty commit 60628 2011-01-07 10:37:54 +00:00
Sébastien Loriot 99dda59784 add operator() to Angle_2 functor (code,global function,doc,test).
That was submitted as small feature.
2011-01-07 10:04:06 +00:00
Laurent Rineau aebc58d72a Add known models to the Kernel concept. 2010-12-03 12:26:21 +00:00
Sébastien Loriot 7faa25ab50 add an example for the cartesian converter 2010-11-12 11:51:48 +00:00
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
Andreas Fabri a99c84ca85 Capitalize \subsection 2010-10-11 12:27:38 +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
Andreas Fabri aed79e77ce Remove link to robustness demo 2010-09-23 14:48:46 +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
Laurent Rineau 2952c8c399 Patch to the example MyKernel 2010-03-26 16:38:21 +00:00
Laurent Rineau 284e5c35ce Merged revisions 53703,53706-53708 via svnmerge from
svn+ssh://lrineau@scm.gforge.inria.fr/svn/cgal/branches/CGAL-3.6-branch

........
  r53703 | stayeb | 2010-01-20 17:01:31 +0100 (Wed, 20 Jan 2010) | 10 lines
  
  Merge r53681 from trunk
  
    | Author: stayeb
    | Date: 2010-01-20 13:51:32 +0100 (Wed, 20 Jan 2010)
    | 
    | Log message:
    | Fix FindBoost.cmake:
    |   + fix compiler name (cmake 2.4.x)
    |   + boost search is now performed in user defined directories first 
    |   (instead of in system default directories first)
........
  r53706 | stayeb | 2010-01-20 17:29:25 +0100 (Wed, 20 Jan 2010) | 1 line
  
  Intersections_3 changes: new do_intersect() and intersection() overloads.
........
  r53707 | stayeb | 2010-01-20 17:37:26 +0100 (Wed, 20 Jan 2010) | 1 line
  
  Update history.tex: do_intersect(Bbox_3,...) and intersection(Triangle_3,...) contributors.
........
  r53708 | lrineau | 2010-01-20 17:38:53 +0100 (Wed, 20 Jan 2010) | 47 lines
  
  merge from trunk:
    | ------------------------------------------------------------------------
    | r53667 | penarand | 2010-01-19 10:37:26 +0100 (Tue, 19 Jan 2010) | 3 lines
    | 
    | eliminated unused parameter warning
    | 
    | 
    | ------------------------------------------------------------------------
    | r53670 | penarand | 2010-01-19 11:34:58 +0100 (Tue, 19 Jan 2010) | 4 lines
    | 
    | eliminated unused parameter warning, by replacing Gmpfi::divides(n) by
    | !(Gmpfi::is_zero())
    | 
    | 
    | ------------------------------------------------------------------------
    | r53673 | penarand | 2010-01-20 11:53:32 +0100 (Wed, 20 Jan 2010) | 3 lines
    | 
    | mentioned that RS depends on GMP 4.2
    | 
    | 
    | ------------------------------------------------------------------------
    | r53675 | hemmer | 2010-01-20 13:11:12 +0100 (Wed, 20 Jan 2010) | 2 lines
    | 
    | typo
    | 
    | ------------------------------------------------------------------------
    | r53694 | hemmer | 2010-01-20 16:26:14 +0100 (Wed, 20 Jan 2010) | 2 lines
    | 
    | added package illustration 
    | 
    | ------------------------------------------------------------------------
    | r53695 | hemmer | 2010-01-20 16:33:57 +0100 (Wed, 20 Jan 2010) | 2 lines
    | 
    | update 
    | 
    | ------------------------------------------------------------------------
    | r53700 | teillaud | 2010-01-20 16:47:11 +0100 (Wed, 20 Jan 2010) | 2 lines
    | 
    | small fixes
    | 
    | ------------------------------------------------------------------------
    | r53702 | hemmer | 2010-01-20 16:53:08 +0100 (Wed, 20 Jan 2010) | 2 lines
    | 
    | 120x120120x120120x120120x120120x120120x120120x120120x120120x120120x120120x120120x120
    | 
    | ------------------------------------------------------------------------
........
2010-01-20 16:43:28 +00:00
Laurent Rineau 5e4c755bdb Merged revisions 53668-53669,53678-53679,53682-53686 via svnmerge from
svn+ssh://lrineau@scm.gforge.inria.fr/svn/cgal/branches/CGAL-3.6-branch

........
  r53668 | yvinec | 2010-01-19 11:00:41 +0100 (Tue, 19 Jan 2010) | 3 lines
  
  added changes for Mesh_3
........
  r53669 | yvinec | 2010-01-19 11:04:38 +0100 (Tue, 19 Jan 2010) | 3 lines
  
  fixed page layout in Changes for Mesh_3
........
  r53678 | spion | 2010-01-20 13:32:36 +0100 (Wed, 20 Jan 2010) | 2 lines
  
  Link AK_d and reorder to have Modular close to NT.
........
  r53679 | lrineau | 2010-01-20 13:37:23 +0100 (Wed, 20 Jan 2010) | 9 lines
  
  Merge from trunk:
    | New Revision: 53666
    |  Author: sloriot
    |  Date: 2010-01-19 08:41:16 +0100 (Tue, 19 Jan 2010)
    |  
    |  Log message:
    |  
    | remove warnings
........
  r53682 | lrineau | 2010-01-20 14:31:41 +0100 (Wed, 20 Jan 2010) | 2 lines
  
  Simplify the URL to CORE, so that "_" is not in the URL (Pb with manual tools)
........
  r53683 | lrineau | 2010-01-20 14:42:23 +0100 (Wed, 20 Jan 2010) | 3 lines
  
  Fix the package description of AK (fix the bib label and the version of
  CGAL)
........
  r53684 | lrineau | 2010-01-20 14:45:53 +0100 (Wed, 20 Jan 2010) | 1 line
  
  clean PkgDescription.tex
........
  r53685 | lrineau | 2010-01-20 15:01:09 +0100 (Wed, 20 Jan 2010) | 3 lines
  
  - Update PkgDexcription.tex to year 2010.
  - Add manual-3.6.bib
........
  r53686 | lrineau | 2010-01-20 15:03:10 +0100 (Wed, 20 Jan 2010) | 1 line
  
  Update the biblio shipped in manual tools, using manual-3.6.bib
........
2010-01-20 14:07:18 +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