Commit Graph

180 Commits

Author SHA1 Message Date
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
Sylvain Pion 6ee113f820 Document the kernel typedefs specifying the return types of the predicates:
Bool_type, Sign, Comparison_result, Orientation, Oriented_side, Bounded_side and Angle.
2008-07-16 13:59:26 +00:00
Sylvain Pion 1ad6e53cbd remove end-of-line blanks 2008-07-16 13:48:44 +00:00
Monique Teillaud 158a455f10 cosmetic: names of arguments changed to avoid spurious links 2008-06-04 06:20:52 +00:00
Monique Teillaud d8f5ac0fca forgotten Plane/Line added 2008-06-03 15:34:13 +00:00
Sylvain Pion 499815eec6 Fix the Ambient_dimension bugs, and fixed links. 2008-06-03 13:27:27 +00:00
Monique Teillaud b1ef678231 - integration in Kernel of various functionality for lines, planes, spheres
- addition of Circle_3 and related functionality
(all this comes from the spherical kernel package)

(the manual test-suite won't pass because of errors in the ambient
dimension stuff)
2008-06-03 13:13:46 +00:00
Andreas Fabri b997c33952 Added compare_squared_radius, its functor, doc, testsuite 2008-05-28 14:25:42 +00:00
Sylvain Pion 775f74a378 Separate Kernel Geometric Object Concepts from the Functors. 2008-04-21 10:53:20 +00:00
Andreas Fabri feec9c3951 changed to non-executable 2008-04-18 10:02:42 +00:00
Sylvain Pion 55d538b335 "Ambient" is not spelled "Ambiant" in English... 2008-04-17 10:13:31 +00:00
Sylvain Pion 3927a2f261 typo 2008-04-16 06:58:20 +00:00
Sylvain Pion 9ec4421219 Try to make links work (again). 2008-04-16 06:55:34 +00:00
Sylvain Pion c7ce8a0e4a barycenter : add the precondition that the sum of weights is non-zero. 2008-04-15 16:09:35 +00:00
Sylvain Pion bbd100121b Add barycenter computation. 2008-04-15 15:13:17 +00:00
Sylvain Pion d60147b5c8 Add template parameter of the declaration, in the hope that html links work. 2008-04-15 09:59:23 +00:00
Sylvain Pion 00740e7402 Formatting fixes. 2008-04-15 09:57:11 +00:00
Sylvain Pion 2389cdcc1e Dimension detecting stuff rewrite.
There is now Ambiant_dimension and Feature_dimension.
The handling of the dynamic dimension case is now done by having
the di,ension tag as the first thing provided, with the integral
constant value available only when it makes sense (INT_MAX no longer needed).
2008-04-13 12:38:48 +00:00
Sylvain Pion 3df06fa8da collinear -> coplanar. 2008-04-13 11:37:36 +00:00
Sylvain Pion 02e543a294 Add Dimension<T, K> whose nested "value" is the dimension of the ambiant
space.  A special constant CGAL::Dynamic_dimension (equal to INT_MAX)
indicates the case where the dimension is only known at run time.
2008-04-11 21:03:22 +00:00
Sylvain Pion aad1552b8a Add Dimension_tag<int dim> to help dispatching functions depending
on the dimension.
2008-04-11 19:29:30 +00:00
Sylvain Pion ef71559164 Remove the Kernel Concept Archetypes. 2008-04-11 19:26:21 +00:00
Sylvain Pion 1ce5c4a18d Add forgotten documentation for:
orientation(Vector_2, Vector_2)
  orientation(Vector_3, Vector_3, Vector_3)
2008-04-11 14:38:32 +00:00
Sylvain Pion 11bbf3e2de Vector_2 and Vector_3 now also provide a Cartesian_const_iterator. 2008-04-09 17:58:57 +00:00
Sylvain Pion 54648829af Merge <CGAL/functions_on_enums.h> into <CGAL_enum.h>.
No need to have 2 separately documented headers for that.
2008-03-20 16:39:56 +00:00
Andreas Fabri 8421cc0779 Added normal and unit normal 2008-01-18 13:45:08 +00:00
Andreas Fabri a322da0f0e Added preconditions and made it more efficient 2008-01-18 13:42:39 +00:00
Andreas Fabri 5ed516225e Added normal and unit_normal function ans functors 2008-01-18 12:57:56 +00:00
Andreas Fabri e1f07a4bde Added normal and unit_normal function ans functors 2008-01-18 12:56:56 +00:00
Sylvain Pion 6ccee8112c Minor doc fixes. 2007-10-26 08:07:41 +00:00
Sylvain Pion b2d6622dcd Document the 2 typedefs Approximate_kernel and Exact_kernel. 2007-09-07 10:01:40 +00:00
Sylvain Pion 4f1170dcc4 Keep Bbox_3 and Bbox_2 in sync, and add missing documentation
for : dimension(), min(), max(), operator==, operator!=.
2007-08-22 12:12:48 +00:00
Sylvain Pion 3149384263 Add missing doc and test for Vector_2 and Vector_3 squared_length(). 2007-08-21 09:14:41 +00:00
Bernd Gärtner 85301a4de3 - fixed missing crosslink to FieldNumberType 2007-08-09 08:50:54 +00:00
Sylvain Pion 7f5fc0cd7b Fix argument list of Filtered_kernel for proper auto-linking. 2007-06-02 11:40:29 +00:00
Laurent Rineau eb818d00c6 Typo: Bbox -> Bbox_3 2007-05-30 10:34:25 +00:00
Andreas Meyer 7ed1a00c04 merge manual fixed from 3.3 branch back intro trunk:
svn merge -r 38751:38754 ~/projects/CGAL/branches/CGAL-3.3-branch
svn merge -r 38773:38775 ~/projects/CGAL/branches/CGAL-3.3-branch
svn merge -r 38783:38784 ~/projects/CGAL/branches/CGAL-3.3-branch
svn merge -r 38795:38796 ~/projects/CGAL/branches/CGAL-3.3-branch
svn merge -r 38815:38816 ~/projects/CGAL/branches/CGAL-3.3-branch
svn merge -r 38827:38829 ~/projects/CGAL/branches/CGAL-3.3-branch
svn merge -r 38834:38836 ~/projects/CGAL/branches/CGAL-3.3-branch
2007-05-28 23:05:00 +00:00
Sylvain Pion d30ef98904 Add forgotten Kernel_ComputeHx_2 and Kernel_ComputeHy_2 2007-04-18 17:21:34 +00:00
Sylvain Pion 567db4f2c4 Fix ccRefFunctionObjectConcept -> ccRefConcept 2007-04-18 17:13:46 +00:00
Laurent Rineau 1157fdd2a1 Yet another typo:
ConstructTranslatedPoint_3 translates points of dimension *3*.
2007-04-18 15:00:02 +00:00
Laurent Rineau 7fb7140cb8 add ConstructDividedVector_3, ConstructSumOfVectors_3 and
ConstructDifferenceOfVectors_3 in kernel concept
and make a link to Kernel_ConstructDividedVector_2.tex as well.
2007-04-18 14:43:46 +00:00
Andreas Fabri 7276c6ff15 Kernel -> Geometry Kernel (suggested by sylvain) 2007-04-17 11:21:24 +00:00
Sylvain Pion deb7e08591 Run aspell. 2007-03-29 15:10:50 +00:00
Laurent Rineau 90469f0abc ComputeDeterminant_3 with Vector_*3* as arguments type. 2007-03-22 10:14:51 +00:00
Sylvain Pion 1795cde28e AdaptableFunctor -> \ccc{AdaptableFunctor} 2007-03-21 17:14:48 +00:00
Sylvain Pion 6bf0219e18 update following previous renaming 2007-02-28 16:34:01 +00:00
Sylvain Pion 7dcfe00529 - Move documentation of Boolean_tag<bool>, Tag_true and Tag_false
to STL_Extension.
2007-02-09 17:13:47 +00:00
Michael Hemmer c5c80a1a19 commit missing part 2007-02-01 12:21:04 +00:00
Michael Hemmer f9608ddc45 added doc for Boolean_tag<bool>
update doc of Tag_false / Tag_true 
rm doc of function check_tag, which is obsolete due to public bool value
2007-02-01 10:39:21 +00:00
Sylvain Pion 40d0fb8d35 Fix all "align=center" in <img> by "align=middle". 2007-01-13 21:49:03 +00:00
Laurent Rineau 8285a5c49c A Plan_3 is degenerate iff a = b = c *and* c = 0. 2007-01-10 23:32:16 +00:00
Andreas Fabri 0be85d575d The direction must be != 0 in the constructor of the rotation 2006-12-17 22:28:35 +00:00
Andreas Fabri a1ada56c6a Added missing operator 2006-11-06 15:07:47 +00:00