Commit Graph

73 Commits

Author SHA1 Message Date
Sylvain Pion fe8048877e - Use LineC3 instead of LineH3.
- Merge Construct_line_3 between H&C.
- Duplicate Construct_projected_point_3 between H&C.
2004-03-13 22:39:12 +00:00
Sylvain Pion 58f59322d6 - Factorize identical Coplanar_3 functors between H&C.
- Move to the new scheme :
  orientation(4 Point_3), coplanar(4 Point_3),
  are_positive_oriented(4 Point_3), are_negative_oriented(4 Point_3),
  side_of_oriented_sphere(5 Point_3)
2004-03-13 21:22:09 +00:00
Sylvain Pion e9dfb0cfe3 - Use TetrahedronC3 instead of TetrahedronH3.
Duplicate Compute_volume_3 and Bounded_side_3 functors instead.
2004-03-13 18:39:58 +00:00
Sylvain Pion 742be96097 - Use TriangleC3 instead of TriangleH3.
Duplicate Has_on_3 functor instead.
2004-03-13 15:13:07 +00:00
Sylvain Pion bda4400b41 - Move the following to the new scheme :
area(3 Point_2), operator-(2 Point_[23]), collinear(3 Point_3),
  angle(3 Point_3), coplanar_orientation([34] Point_3),
  coplanar_side_of_bounded_circle(4 Point_3), are_ordered_along_line(3 Point_3),  are_strictly_ordered_along_line(3 Point_3),
  collinear_are_strictly_ordered_along_line(3 Point_3)
2004-03-13 14:15:07 +00:00
Andreas Fabri 23bd7d7c4b Added functor and function for constructing orthogonal vector of three points 2004-03-08 08:16:42 +00:00
Sylvain Pion 7c1cca8e84 - Move compare_slopes(Line_2, Line_2) to the new scheme. 2004-02-22 22:55:10 +00:00
Sylvain Pion f5e66574c3 - Add intersection(Plane_3, Plane_3, Plane_3). [bug#185] 2004-02-15 19:43:49 +00:00
Sylvain Pion ca6cd62149 - Add volume(4 points). 2004-01-13 17:55:04 +00:00
Sylvain Pion 4f3253bc08 - New faster Handle_for interface
- More work towards extensible kernel.
2004-01-01 18:00:47 +00:00
Sylvain Pion 40097766b8 - Added Compute_area_3, and a version of Compute_squared_area_3 taking 3
points.
2003-12-17 17:53:46 +00:00
Sylvain Pion 920eb15b9d - Remove deprecated stuff. 2003-11-17 19:33:23 +00:00
Sylvain Pion 768badd2ef typo Saarbrucken -> Saarbruecken 2003-10-21 12:26:15 +00:00
Sylvain Pion 3a3efc6ed8 fix LGPL headers 2003-10-21 11:35:16 +00:00
Sylvain Pion daf9fbb213 add area(p, q, r) 2003-10-17 19:49:27 +00:00
Andreas Fabri 0469ee6b03 Reactivated deprecated code for constructing points from coordinates
This is needed for the extensible kernel, in order not to require
specific constructors for the point class
2003-10-17 12:10:51 +00:00
Sylvain Pion ace0a0f1fa - Change all headers to the new format/license. 2003-09-18 10:27:16 +00:00
Andreas Fabri b9108e76a8 Changed CartesianCoordinateConstIterator to CartesianConstIterator 2003-09-17 12:05:09 +00:00
Andreas Fabri 429bb45288 Added #include of intersection header files 2003-09-15 14:25:27 +00:00
Andreas Fabri febf7ed3da The vertex function of Iso_rectangle_2 and Iso_cuboid construct vertices 2003-09-08 17:47:09 +00:00
Andreas Fabri 2fd30bd073 The operators of Construct_vertex_[2,3] now return const references to points and not references 2003-09-08 12:58:04 +00:00
Andreas Fabri ab7e2786d3 The operators of Construct_vertex_[2,3] now return references to points and not copies 2003-09-08 12:52:51 +00:00
Andreas Fabri f99120d80c Added #include <CGAL/squared_distance_[2,3].h> 2003-09-07 21:39:13 +00:00
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
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
Andreas Fabri f66a5cd9bb Added Cartesian_coordinate_const_iterator:x 2003-07-22 14:48:44 +00:00
Michael Hoffmann 42ba5c84d0 Re-include Origin. 2003-06-17 12:31:47 +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
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 a4292270ec - Add squared_radius(p, q). 2003-02-11 12:32:59 +00:00
Sylvain Pion a51669d285 - far is rejected by VC++ (used to be a keyword). 2003-01-29 11:33:20 +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
Michael Hoffmann a529075893 Add Arity to all kernel functors. 2002-11-06 13:56:17 +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 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
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
Susan Hert 8c528870a2 added compare_slopes and CompareSlope 2001-12-05 15:12:13 +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
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
Susan Hert ac7c69fde6 added many missing functors for kernel traits 2001-06-27 06:44:13 +00:00
Sylvain Pion 0d8973a9fd - Add missing consts.
- Add missing typedef result_type.
2001-06-21 20:39:59 +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