Commit Graph

244 Commits

Author SHA1 Message Date
Andreas Fabri 1707cb3f8c Intersect_3 and Do_intersect_3 now call functions from CGALi 2003-09-04 21:15:55 +00:00
Andreas Fabri 048b7f57c1 Functors Do_intersect_2 and Intersect_2 now call CGALi::do_intersect, CGALi::intersection 2003-09-02 09:11:26 +00:00
Sylvain Pion 0a18fcde7f - Change Exact_predicates_inexact_constructions_kernel from Filtered_kernel
to Filtered_exact.
2003-08-27 17:02:10 +00:00
Sylvain Pion 27688aa4af - Remove parts of last change, since some code triggers the assertion. 2003-08-27 07:17:17 +00:00
Sylvain Pion ad3d346ebb - Handle_for : Add an assertion that non-const access is non-shared.
- Handle_for : make Ptr() and ptr() be the same.
2003-08-26 08:57:56 +00:00
Sylvain Pion 7c938b28cf - Try to help VC++ in Handle_for. 2003-08-25 13:49:43 +00:00
Sylvain Pion 441f3f119f - Fix bug in Handle_for::copy_on_write (used by Polynomial). 2003-08-25 12:28:14 +00:00
Sylvain Pion 88cb39a12d - Handle_for<> cleanups. 2003-08-14 10:14:18 +00:00
Sylvain Pion b18e3e14f6 - optimize one copy away. 2003-08-13 11:50:50 +00:00
Sylvain Pion 735a91c82a - Simplify default and copy ctors in the "user" classes (Point_2<> and co). 2003-08-12 20:01:59 +00:00
Sylvain Pion be457976e2 - Handle_for : optimize the default constructor using a static instance.
- *Handle_for : remove the unused TO_BE_USED_ONLY_WITH_CONSTRUCT_WITH stuff
  (obsoleted by previous change)
- *Handle_for : add swap() member and global functions.
- *Handle_for : initialize_with() is deprecated, use operator=(T) instead.
2003-08-08 17:44:47 +00:00
Andreas Fabri 27dc95ad7a Replaced call to internal squared distance functions 2d, 3d 2003-08-07 12:44:05 +00:00
Michael Hoffmann 186c7414fb Add compute_squared_length for Vector. 2003-07-31 09:07:11 +00:00
Sylvain Pion 7b61bd06b9 - Fix another typo in Exact_predicates_exact_constructions_kernel.h. 2003-07-29 11:52:48 +00:00
Sylvain Pion 6b7c7dc9b7 - Fix typo in Exact_predicates_exact_constructions_kernel.h. 2003-07-29 10:07:47 +00:00
Sylvain Pion fff1563e5f - Remove the unused CGAL_FRIEND_INLINE. 2003-07-24 19:08:42 +00:00
Sylvain Pion 96bd9e7027 - Add the new \"Exact_*_kernel*\" typedefs. 2003-07-24 18:41:15 +00:00
Sylvain Pion 47102f37eb renamed 2003-07-24 18:39:44 +00:00
Andreas Fabri f66a5cd9bb Added Cartesian_coordinate_const_iterator:x 2003-07-22 14:48:44 +00:00
Sylvain Pion 40f199a4ec cleanup obsolete stuff 2003-07-21 15:20:19 +00:00
Andreas Fabri f5f9d684df fixed bug in operator<< and operator>> in case of ASCII mode 2003-07-04 08:32:04 +00:00
Michael Hoffmann 42ba5c84d0 Re-include Origin. 2003-06-17 12:31:47 +00:00
Sylvain Pion 75c07c7c53 split long lines 2003-05-30 13:28:21 +00:00
Sylvain Pion eb33bc9169 *** empty log message *** 2003-05-30 13:26:31 +00:00
Sylvain Pion 891146a924 - Add missing functor and documentation for Plane_3(Point_3, Vector_3).
- In order to get rid of Direction_[23] at some point, I have added :
    - Line_2(Point_2, Vector_2)        ConstructLine_2
    - Line_3(Point_3, Vector_3)        ConstructLine_3
    - Ray_2(Point_2, Vector_2)         ConstructRay_2
    - Ray_3(Point_3, Vector_3)         ConstructRay_3
    - Ray_2(Point_2, Line_2)           ConstructRay_2
    - Ray_3(Point_3, Line_3)           ConstructRay_3
    - Vector_2(Line_2)                 ConstructVector_2
    - Vector_3(Line_3)                 ConstructVector_3
    - Vector_2(Ray_2)                  ConstructVector_2
    - Vector_3(Ray_3)                  ConstructVector_3
    - Vector_2(Segment_2)              ConstructVector_2
    - Vector_3(Segment_3)              ConstructVector_3
    - Vector_2 Line_2.to_vector()
    - Vector_3 Line_3.to_vector()
    - Vector_2 Ray_2.to_vector()
    - Vector_3 Ray_3.to_vector()
    - Vector_2 Segment_2.to_vector()
    - Vector_3 Segment_3.to_vector()
2003-05-11 18:25:41 +00:00
Michael Hoffmann 36a4c836cb Keep only the functors common to both Cartesian and Homogeneous in function_objects.h
Add tags to kernel_assertions.h
2003-05-09 13:34:06 +00:00
Menelaos Karavelas 5cb918f650 changed Enum_converter from being a class to being a struct 2003-05-08 18:55:30 +00:00
Menelaos Karavelas 1fe0702bf2 files for the default kernels 2003-05-08 18:44:26 +00:00
Menelaos Karavelas 57be940bce added converter for enumeration types 2003-05-08 09:58:45 +00:00
Sylvain Pion e6e8fd9e4e - Remove VC++ 6 stuff. 2003-05-05 17:59:52 +00:00
Andreas Fabri 51f7c66319 added #include of Bbox_{2,3} 2003-04-15 11:59:54 +00:00
Andreas Fabri 911d1c4127 Added Construct_bbox_{2,3} 2003-04-11 08:05:26 +00:00
Sylvain Pion 1788908528 - Add Conic_2 to Type_equality_wrapper. 2003-02-21 12:16:49 +00:00
Sylvain Pion e33a1828c7 - moved to Wutils.h 2003-02-21 10:43:36 +00:00
Sylvain Pion 3e6e36795f - New files, gathering tools from Distance_[23]. 2003-02-21 10:42:51 +00:00
Sylvain Pion 9360472189 - New file : more generic versions of wmult() from Distance_2. 2003-02-21 09:53:55 +00:00
Sylvain Pion 3d9a19432c - Remove default template argument to Type_equality_wrapper. 2003-02-19 09:10:27 +00:00
Sylvain Pion 9bffd2b631 - Improve Type_equality_wrapper to support Filtered_kernel. 2003-02-17 11:09:24 +00:00
Sylvain Pion 2eae825ee6 - Rename hidden parameter to avoid clash on certain compilers... 2003-02-12 19:14:40 +00:00
Sylvain Pion a4292270ec - Add squared_radius(p, q). 2003-02-11 12:32:59 +00:00
Andreas Fabri 32177263cf Added #include<cstddef> otherwise SGI CC doesn't know ptrdiff_t 2003-01-29 14:38:21 +00:00
Sylvain Pion a51669d285 - far is rejected by VC++ (used to be a keyword). 2003-01-29 11:33:20 +00:00
Matthias Bäsken d872a7ebf9 *** empty log message *** 2003-01-28 09:05:02 +00:00
Matthias Bäsken 0d679f5212 *** empty log message *** 2003-01-28 07:37:23 +00:00
Sylvain Pion d029c7b9c8 - Add CGAL/Kernel/Type_equality_wrapper.h 2003-01-27 14:11:17 +00:00
Sylvain Pion 057a338ac5 - Remove empty obsolete class Ref_counted.
- Cleanup Handle_for.h wrt VC++ 6.
2003-01-23 17:07:39 +00:00
Sylvain Pion 5d5269ed5c - Add new constructors Iso_rectangle_2(left, right, bottom, top) and
Iso_cuboid_3(left, right, bottom, top, far, close).
2003-01-22 10:12:36 +00:00
Andreas Fabri 5ef9a78460 *** empty log message *** 2003-01-22 09:40:58 +00:00
Sylvain Pion 3a84746760 - Rename Leda_like_handle to Handle, similar for Leda_like_rep to Rep. 2003-01-20 18:27:10 +00:00
Sylvain Pion 6a672ee065 - Add CGAL/LEDA_basic.h at the beginning, otherwise the dirty LEDA macros add
a non-consistent mess.
2003-01-17 12:31:22 +00:00
Matthias Bäsken 1ce02f7573 *** empty log message *** 2003-01-15 13:38:10 +00:00
Matthias Bäsken d48f86ab12 *** empty log message *** 2003-01-15 13:27:52 +00:00
Matthias Bäsken 37ada7d831 *** empty log message *** 2003-01-09 12:53:22 +00:00
Matthias Bäsken f38c8e9f94 *** empty log message *** 2003-01-09 12:44:39 +00:00
Matthias Bäsken 3b3d36e6ec *** empty log message *** 2003-01-09 08:06:03 +00:00
Matthias Bäsken 4fef0f086f *** empty log message *** 2003-01-08 16:19:42 +00:00
Matthias Bäsken 131133c81a *** empty log message *** 2003-01-08 16:10:18 +00:00
Sylvain Pion 93746baa1c - Hardcode CGAL_ALLOCATOR to std::allocator, so that libCGAL does not depend
on LEDA anymore.
2003-01-07 15:45:03 +00:00
Sylvain Pion b2feca3a77 - Remove CGAL_NO_LEDA_HANDLE : always use CGAL's handles. 2002-12-10 13:39:16 +00:00
Sylvain Pion fe26898562 - define LEDA_NO_MIN_MAX_TEMPL in basic.h for LEDA 4.4. 2002-12-09 12:47:28 +00:00
Susan Hert 01e0e8e0af adding some missing std:: before swap 2002-11-07 11:12:41 +00:00
Michael Hoffmann a529075893 Add Arity to all kernel functors. 2002-11-06 13:56:17 +00:00
Sylvain Pion 08be4c5426 - Fix buglet : class Origin was declared outside namespace CGAL. 2002-11-05 16:00:50 +00:00
Susan Hert 2279f5ff1a - qualify left_turn with CGAL:: to remove ambiguity when LEDA < 4.4 used
- remove obsolete config flag in rational_rotation related to std::swap
2002-11-05 14:07:58 +00:00
Sylvain Pion b02259425a *** empty log message *** 2002-10-25 12:20:20 +00:00
Sylvain Pion 9311a0562a - Rewrite iterator traits pointer specs. 2002-10-25 12:03:49 +00:00
Sylvain Pion 71a290b4e8 - Missing #include <CGAL/Origin.h> 2002-10-09 09:09:09 +00:00
Sylvain Pion 7e36ca922d - Functors rewrite. 2002-10-08 09:02:55 +00:00
Sylvain Pion 0321d7fb41 - New Is_a_predicate<> to differentiate predicate functors from constructions. 2002-10-08 09:02:37 +00:00
Sylvain Pion dd7a95a643 - Handle_for memory leak fixed : initialize_with() now assigns instead of
constructing, so that it works correctly after Handle_for has been default
  constructed.  There's a new way of constructing a Handle_for :
  Handle_for(TO_BE_USED_ONLY_WITH_CONSTRUCT_WITH) followed by
  construct_with(), which is supposed to produce more efficient code.
  Simple_handle_for also accepts it.
2002-08-12 20:14:15 +00:00
Sylvain Pion 0a2fa2e322 - Test if CGAL_ALLOCATOR is already defined before defining it.
- Introduce CGAL_MEMORY, similar to LEDA_MEMORY.
2002-08-07 16:20:43 +00:00
Sylvain Pion c98ce314f5 - Several fixes. 2002-08-07 00:53:03 +00:00
Sylvain Pion c37d35ad2a - Add #include <CGAL/basic.h> on top. 2002-07-15 23:54:36 +00:00
Sylvain Pion ac82b78037 - Add default ctor to Cartesian_double_to_Homogeneous to shut up warning of
SunPro in RobustnessDemo.
2002-04-22 23:43:29 +00:00
Susan Hert a7b7231bec some changes for LEDA namespace and VC7 2002-04-15 07:21:02 +00:00
Michael Hoffmann e457a2ee38 Restored file header. 2002-03-27 12:58:04 +00:00
Michael Hoffmann 3e6d2b24aa Support Arity_traits for std functors on VC7. 2002-03-27 12:21:03 +00:00
Susan Hert 98786615f7 added CGAL_LEDA_SCOPEs where needed fo to_double 2002-03-21 12:30:41 +00:00
Susan Hert ee9d7bd4b4 removed Point_d stuff 2002-03-20 15:24:27 +00:00
Susan Hert f897050b1f removed obsolete number_type_tags.h 2002-03-20 14:56:57 +00:00
Sylvain Pion f488e5abee - Fix the impossibility to derive from Object. 2002-02-06 19:02:31 +00:00
Sylvain Pion 77cd8a2667 - fix typo. 2002-01-24 17:05:37 +00:00
Susan Hert 3e0681bcbc moved functors from predicate_objects_on_points.h to Kernel/function_objects
and put them in namespace CGALi
2002-01-24 16:42:18 +00:00
Sylvain Pion 60009b704c - Gather function objects in Kernel/function_objects.h. 2002-01-24 15:40:07 +00:00
Sylvain Pion 884f4a13d5 - Remove Point_2_base and such typedefs. 2002-01-23 12:32:37 +00:00
Sylvain Pion 4f857bac14 - Declare Origin in Point_3.h and Null_vector in Vector_3.h. 2002-01-22 17:24:31 +00:00
Sylvain Pion 031dc28245 - Remove global functions and member functions, these are obtained by
derivation.
2002-01-22 09:43:34 +00:00
Sylvain Pion 18ff4f5162 - Constify Origin and Null_vector. 2002-01-18 10:55:54 +00:00
Sylvain Pion 6fc9ee96e1 - Support namespace LEDA. 2002-01-16 09:37:14 +00:00
Sylvain Pion a0f85b8b5d - Adding missing opposite(Comparison_result). 2002-01-08 17:30:15 +00:00
Sylvain Pion fe83d17bab - Comment the now useless member functions of Iso_rectangle_2. 2002-01-07 13:39:02 +00:00
Sylvain Pion 81bc712aca - Move classes _Twotuple, _Threetuple, _Fourtuple to Cartesian/Rep_tuples.h
in package Cd.
2002-01-05 16:52:46 +00:00
Sylvain Pion 9f15241994 - Fix Handle_for<> default ctor : it forgot to construct the object. 2002-01-04 14:07:53 +00:00
Susan Hert 8c528870a2 added compare_slopes and CompareSlope 2001-12-05 15:12:13 +00:00
Sylvain Pion 12eb816b44 - Add functional_base.h from STL extensions. 2001-12-04 17:51:36 +00:00
Sylvain Pion 108caf2b65 - Remove useless copy ctor in Object to please VC++.
- Merges Object_base into Ref_counted_virtual.
2001-12-02 17:05:24 +00:00
Sylvain Pion c6e0db38a3 - Missing namespace CGAL in tags.h. 2001-11-26 10:18:44 +00:00
Sylvain Pion f5bcaab193 - [Simple_]Handle_for new ptr access : const/non-const Ptr/ptr. 2001-11-23 14:20:49 +00:00
Sylvain Pion ccdcc387d4 - Fix Conic_2. 2001-11-23 13:52:37 +00:00
Sylvain Pion 1a51f72d4d - VC++ can't eat Allocator::rebind, so we workaround. 2001-11-21 18:15:02 +00:00