Commit Graph

244 Commits

Author SHA1 Message Date
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
Sylvain Pion 1ea110a1e9 - Darwin support. 2001-11-20 10:09:27 +00:00
Sylvain Pion e62cc64070 - Move assign() to a template member function of Object. 2001-11-19 17:23:11 +00:00
Susan Hert aa0b0066c7 Missing include of cstddef in New_delete_allocator.h 2001-10-31 14:34:01 +00:00
Sylvain Pion 542da0ebe0 - Missing std:: for CodeWarrior. 2001-10-29 14:42:56 +00:00
Sylvain Pion 3da710d509 - Simple_Sixtuple -> Sixtuple. 2001-10-24 14:33:34 +00:00
Sylvain Pion ea2ea628eb - Simple_Fourtuple -> Fourtuple. 2001-10-24 14:32:18 +00:00
Sylvain Pion 2d42164092 - New Handle_for_virtual<> and Ref_counted_virtual.
- Ref_counted is not required anymore.
- Remove all Simple_* rep classes as deriving from Ref_counted is not
  necessary anymore.
- basic.h cleanup.
2001-10-24 14:18:06 +00:00
Susan Hert 2aad6e84bb removed KERNEL_CTOR and KERNEL_FRIEND_INLINE macros 2001-10-23 13:48:17 +00:00
Sylvain Pion 2fdc8227c5 - Remove kludge for SunPro.
- Remove useless CGAL_ALLOC macro.
- Don't #include <memory> when we use LEDA.
2001-10-22 12:50:23 +00:00
Sylvain Pion c6377d442a - Move code to avoid warning with -Winline. 2001-10-18 09:50:30 +00:00
Sylvain Pion e865056a6f - Print error message instead of crashing when RTTI is not there with VC++. 2001-10-09 09:38:15 +00:00
Sylvain Pion da37b8c19d - Cleanup Object.h. 2001-10-09 09:09:21 +00:00
Sylvain Pion d4afc7f112 - Add rebind<>. 2001-10-08 16:36:46 +00:00
Sylvain Pion 5b5d61bf80 - Handle_for<> should work for virtual hierarchies now. 2001-10-05 14:09:02 +00:00
Sylvain Pion eded5d50b6 - Remove cartesian_classes.h. 2001-10-04 08:42:37 +00:00
Sylvain Pion 9f6dbfbbf6 - [Simple_]Handle_for<> protection cleanup, non-const Ptr() added. 2001-10-03 13:05:26 +00:00
Sylvain Pion beaed3df0d - Remove MipsPro warnings. 2001-09-27 13:56:03 +00:00
Sylvain Pion c971b2e528 - Bboxes don't use ref counting anymore. 2001-09-24 17:27:01 +00:00
Sylvain Pion c79b1e42c4 - Fixes for SunPro. 2001-09-12 11:15:17 +00:00
Sylvain Pion ac8b352b58 - Oops : #ifdef instead of #ifndef. 2001-08-15 19:29:33 +00:00
Sylvain Pion 97cf166ee8 - SunPro has problems with protected/friend. 2001-08-15 17:47:09 +00:00
Sylvain Pion 59ed8431b4 - Remove CGAL_SCOPE to please SunPro. Hopefully we don't break anything else. 2001-08-15 15:59:05 +00:00
Sylvain Pion 5c79468c15 - Add SunPro support in memory.h. 2001-08-15 15:36:33 +00:00
Susan Hert f3b770fd58 renamed cmp_* to compare_* and *_dist_* to *_distance_* and
leftturn, Leftturn, LEFTTURN to left_turn, Left_turn, LEFT_TURN and
rightturn, Rightturn, RIGHTTURN to right_turn, Right_turn, RIGHT_TURN
and compare_lexicographically* to compare_*
(deprecated the old names but didn't remove them).
2001-07-23 17:36:54 +00:00
Susan Hert c327d3fb24 removed remaining constructive predicates 2001-07-20 10:15:20 +00:00
Susan Hert e1daaf83b8 restored Less_distance_to_point_[23] with default constructors 2001-07-18 09:49:26 +00:00
Sylvain Pion 53c09a19b3 - Add Kernel_traits<>. 2001-07-12 14:55:10 +00:00
Michael Hoffmann 929130bbe6 Added Arity to Call_perpendicular_to_get. 2001-07-12 12:00:46 +00:00
Sylvain Pion 33bbdbc195 - New predicate : coplanar_orientation(3 points). 2001-07-10 13:10:33 +00:00
Michael Hoffmann 73f6e97524 Added Arity typedefs to functions with same # of args. 2001-07-04 16:00:10 +00:00
Sylvain Pion 3e01d81ac0 - Put the IO operators back in, they are needed by Borland. 2001-06-27 14:51:36 +00:00
Susan Hert ac7c69fde6 added many missing functors for kernel traits 2001-06-27 06:44:13 +00:00
Sylvain Pion eda5eda369 - Deprecate Equal_xy_2 and Equal_xyz_3. 2001-06-26 12:17:40 +00:00
Sylvain Pion 21ef42c804 - Use new macros for the traits interface so that it can be reused elsewhere. 2001-06-21 21:07:27 +00:00
Sylvain Pion 77a3d4f14b - Cleanup kernel_to_kernel.h 2001-06-21 20:56:28 +00:00
Sylvain Pion 0d8973a9fd - Add missing consts.
- Add missing typedef result_type.
2001-06-21 20:39:59 +00:00
Michael Hoffmann 53f67aeb5c Added constructor Direction from Line, Ray and Segment. 2001-06-21 16:09:35 +00:00
Michael Hoffmann b4b7b077b6 Added constructor Direction from Line, Ray and Segment. 2001-06-21 16:08:47 +00:00
Michael Hoffmann 93ee9e2588 Removed Aff. transf. from KC.
Removed Construct_second, source and target_point from KC.
  (--> Construct_point_on_2.)
Added Construct_vertex for Segment, Iso*, Triangle and Tetrahedron.
Fixed Has_on_*, boundary only for full dimensional objects,
  sphere predicates were missing.
Removed direction_from_* --> Construct_direction.
Added corresponding constructors to Direction.
Added Direction of Segment.
Added Construct_opposite_direction.
Added Compare_angle_with_x_axis_2 for Directions.
Removed Construct_min/max_point --> Construct_vertex.
Completed Equal functors.
2001-06-21 16:06:14 +00:00
Sylvain Pion 5c41c03f55 - Merge point_vector_definitions_3.C into point_vector_declarations_3.h.
- Remove number_type_tag(const Vector_3<R> &).
2001-06-21 08:16:40 +00:00
Sylvain Pion 1f61b7087b - Merge point_vector_definitions_2.C into point_vector_declarations_2.h.
- Remove number_type_tag(const Vector_2<R> &).
2001-06-21 08:13:16 +00:00
Sylvain Pion 7c6e7f8c62 - remove global function predicates. 2001-06-20 15:13:23 +00:00
Susan Hert 43d50fb33a added Construct_opposite_vector_[23] 2001-06-20 14:12:40 +00:00
Susan Hert d9e8c9b9f3 Added Construct_orthogonal_vector_3 2001-06-20 13:29:09 +00:00
Sylvain Pion cfee5698b8 - Cleanup misc.h and don't include it from basic.h. 2001-06-20 13:07:31 +00:00
Sylvain Pion 5c68409e11 - remove conditionnal #includes from cartesian/homogeneous.
- remove member functions for predicates since they are inherited.
2001-06-20 12:26:10 +00:00
Sylvain Pion 00090fe6f0 - Change to support cgal_window instead of LEDA (CGAL_USE_CGAL_WINDOW). 2001-06-19 19:35:03 +00:00
Susan Hert 5fa8a239b0 added centroid and Construct_centroid_[23] 2001-06-19 14:31:24 +00:00
Susan Hert 08a97dfe66 added Bounded_side_2 and Bounded_side_3 2001-06-19 12:26:05 +00:00
Sylvain Pion f1d8c8913a - #include all _2 and _3 classes in user_classes.h. 2001-06-19 06:47:55 +00:00
Sylvain Pion 653eaa7fe0 - Add protect macro. 2001-06-07 14:39:56 +00:00
Sylvain Pion 4d38f743ba - Remove Compare_distance_to_point_[23]. 2001-05-30 06:59:31 +00:00
Sylvain Pion 37fd9a27e0 - Add Compare_distance_[23] 2001-05-29 15:58:16 +00:00
Susan Hert 6484529149 added compare_x_at_y 2001-05-01 12:11:29 +00:00
Susan Hert 39c6d528b4 Added Compare_x_at_y_2 and Less_signed_distance_to_plane_2 2001-05-01 12:03:45 +00:00
Sylvain Pion e60239744a angle 2001-04-27 16:49:50 +00:00
Sylvain Pion 96fc753e6e - Remove protect macro 2001-04-27 09:36:05 +00:00
Sylvain Pion 55fb483f07 - Change coplanar_side_of_oriented_circle
to     coplanar_side_of_bounded_circle.
2001-04-26 14:17:22 +00:00
Sylvain Pion 1da9e6efb8 - Remove Coplanar_orientation(3 points, 1 vector). 2001-04-13 17:35:56 +00:00
Sylvain Pion 1b503f9d0b Coplanar_side_of_oriented_circle 2001-04-13 17:03:46 +00:00
Sylvain Pion 55c41ac380 - Port to alpha. 2001-04-06 14:49:09 +00:00
Sylvain Pion 3090239ea6 - Add Construct_center_[23]. 2001-03-23 12:09:43 +00:00
Sylvain Pion b32414fdb8 - Fix lines too long. 2001-03-20 12:36:47 +00:00
Sylvain Pion 76cc5c6ac4 - Added squared_radius(). 2001-03-20 12:12:27 +00:00
Sylvain Pion 3bd208bcb6 - Fix too long lines. 2001-03-19 12:46:15 +00:00
Sylvain Pion 0bc3904a63 - Side_of_bounded_circle_2 and Side_of_bounded_sphere_3. 2001-03-16 14:53:47 +00:00
Sylvain Pion dab39ef27a - Added constructor Vector(Point, Point). 2001-03-06 16:23:22 +00:00
Sylvain Pion e84b17b231 - Added Compute_squared_distance_2 and 3 2001-03-06 14:53:26 +00:00
Sylvain Pion cf05f84897 - Allow to change the inline policy on the command line. 2001-02-25 12:46:45 +00:00
Sylvain Pion 670be3091f - Construct_cross_product_vector_3. 2001-02-21 14:47:39 +00:00
Sylvain Pion 3ac29e67e4 - Make SunPro happy. 2001-02-19 15:29:38 +00:00
Sylvain Pion 7054c39a06 - Removed useless operator() in Coplanar_orientation, which caused a problem
with VC++.
2001-02-19 12:47:00 +00:00
Sylvain Pion 42edb7fb1e - Remove protect macros. 2001-02-15 15:52:55 +00:00
Susan Hert 10a45b0807 added min_coord, max_coord and new constructor 2001-02-14 17:18:50 +00:00
Susan Hert e1a8f7fc47 added min_coord and max_coord and new constructor 2001-02-14 17:13:59 +00:00
Susan Hert 1c4950122a added new Do_intersect function object class 2001-02-14 17:11:08 +00:00
Sylvain Pion 26fb814e4a - Simple_homogeneous. 2001-02-13 15:33:39 +00:00
Sylvain Pion b16d50ae5d - Simple_homogeneous<>. 2001-02-13 15:32:38 +00:00
Sylvain Pion 71cabd1c36 - Remove old style casts. 2001-02-13 14:46:36 +00:00
Sylvain Pion 327273edb9 - Remove old style casts. 2001-02-13 12:39:01 +00:00
Sylvain Pion 8346e27f6f - Remove old style casts. 2001-02-12 19:21:18 +00:00
Sylvain Pion db3ee3f077 - Towards Simple_homogeneous. 2001-02-12 14:13:18 +00:00
Susan Hert 78854e4c53 added volume, squared_area member function 2001-02-07 17:58:05 +00:00
Susan Hert d356f24063 added area member function 2001-02-07 17:57:36 +00:00
Susan Hert 87ee792dca added area, volume, squared area function objects 2001-02-07 17:56:28 +00:00
Susan Hert 50afea691f added several missing function objects 2001-02-02 09:18:12 +00:00
Susan Hert 62e8603d2f rearranged include directives 2001-01-22 16:01:29 +00:00
Sylvain Pion b8edf598ed - Lines too long. 2001-01-22 14:50:54 +00:00
Sylvain Pion 6738098295 - Adapts to new simple cartesian kernel.
- Remove redundant protect macros tests.
- Added a few missing CGAL_ to the NO_?STREAM* macros.
2001-01-22 13:32:13 +00:00
Sylvain Pion 35bf64110e - Cleanups. 2001-01-18 11:01:15 +00:00
Sylvain Pion 9184bcbfde - #define CGAL_HAS_INTEGER64. 2001-01-17 13:51:23 +00:00
Sylvain Pion 44570ef96a - Simple Handle mecanism. 2001-01-12 12:24:11 +00:00
Sylvain Pion 5788d8e39e Fix headers 2001-01-09 18:57:24 +00:00
Sylvain Pion 1a80bc0e41 Initial revision 2001-01-02 17:00:26 +00:00