Commit Graph

119 Commits

Author SHA1 Message Date
Efi Fogel 7c0376399e Distinguished between Curve_2 and X_monotone_curve_2 2003-12-08 20:12:14 +00:00
Tali Zvi 58edd448ad Fixed the documentation. 2003-12-06 10:03:42 +00:00
Sylvain Pion ace0a0f1fa - Change all headers to the new format/license. 2003-09-18 10:27:16 +00:00
Tali Zvi 740a8b16d5 1. Changed the event map to have Point_2* instread of Point_2 as the key
2. Fixed the code to support the following precondition in curves_compare_at_x:
   The reference point is on one of the curves.
2003-06-24 18:55:51 +00:00
Tali Zvi a480b4331d 1. Changed code to fit the CGAL coding guidelines.
2. Moved templated methods into the class to allow compilation on VC7.
2003-06-17 21:20:15 +00:00
Tali Zvi c9672f5649 Code cleanup - removed commented and unused code. 2003-06-07 19:06:37 +00:00
Tali Zvi cf7ff52957 Fixed a bug that appeared in a conic case. 2003-06-07 18:36:15 +00:00
Tali Zvi 5a0a70a41b The file has been moved to the Planar_map package. 2003-05-21 18:35:52 +00:00
Tali Zvi 96f5ec9b9d Bug fix - reset some members each time the sweep is called. 2003-05-20 16:59:31 +00:00
Efi Fogel 2732fb572b used CGAL_assertion 2003-05-20 14:56:36 +00:00
Efi Fogel 40dd034a3d shorten long lines 2003-05-20 13:54:58 +00:00
Tali Zvi 4f47eec983 Renamed the Sweep_line_tight_2.h to this file.
For previous log information look at Sweep_line_tight_2.h in the parent
(CGAL) directory.
2003-05-17 11:21:03 +00:00
Tali Zvi 153c8ac047 Moved the files into the Sweep_line_2_old directory. 2003-05-17 11:19:43 +00:00
Tali Zvi ce9dd08c28 Renamed the file Sweep_line_2_impl.h and moved it to the Sweep_line_2
directory.

For previous log information look into Sweep_line_tight_2.h log in this
(CGAL) directory.
2003-05-17 11:18:59 +00:00
Tali Zvi 7af89ae20a Renamed the file Sweep_line_2.h and added it as a new file to the repository. 2003-05-17 11:17:37 +00:00
Tali Zvi 524bd1e0b8 Renamed Sweep_2.h to Sweep_line_2.h.
For previous log info look at Sweep_2.h in this directory.
2003-05-17 11:16:46 +00:00
Tali Zvi 8e8620ad54 Renames the old Sweep (Eti's) to Sweep_line_2_old. The included
header files were moved to Sweep_line_2_old.

NOTE: For previous log info, you need to look in Sweep_line_2.h before
this date
and for the included files, look in the Sweep_line_2 directory in files
having the same names.
2003-05-17 11:06:37 +00:00
Efi Fogel 39333416ab Shorten long lines 2003-05-14 10:59:05 +00:00
Efi Fogel 72190d7444 Used OutputIterator in curve_make_x_monotone() 2003-05-14 10:56:54 +00:00
Tali Zvi fe0b6538da 1. Removed the special handling of event havibg the same x coordinate.
2. Optimization - we now store hints into the status line to speed up
   insertions and deletions.
2003-05-13 21:02:46 +00:00
Tali Zvi 2910c9f36e 1. Added a hint to insert curves into the status line more efficiently.
2. Added a reference to the last subcurve that was split out of this curve.
3. Synax fixes due to compiler version change.
2003-05-13 21:00:44 +00:00
Efi Fogel bd5cb5758d changed order of curve_compare_y_at_x() 2003-05-13 18:04:48 +00:00
Efi Fogel 885ec68de3 Shorten long names 2003-05-11 16:19:35 +00:00
Efi Fogel c98a27757d changed names 2003-05-11 16:15:24 +00:00
Efi Fogel 48cef11276 Used traits predicate instead of '==' operator 2003-04-09 18:43:51 +00:00
Efi Fogel d3c3a8d2f3 Used traits predicate instead of '==' operator 2003-04-09 18:37:26 +00:00
Efi Fogel dbc433b0e4 Clean up 2003-04-09 18:36:49 +00:00
Tali Zvi 3ce2a4133f Removed the call to curve_flip. 2003-03-30 20:57:01 +00:00
Tali Zvi 351249b03c Improved performance mostly by using hints to insert to the status line. 2003-03-30 18:24:46 +00:00
Tali Zvi 1c46314d09 Set the methods to be const. 2003-03-30 18:01:40 +00:00
Tali Zvi 96a84ef5b7 Implemented do_curves_intersect() 2003-03-09 20:13:45 +00:00
Tali Zvi 5f4ec73df6 Removed the global variable that was used to set compare function.
Instead I added a struct in the functor class that its member is
set when the compare function is changed.
2003-03-09 18:34:38 +00:00
Tali Zvi f3419ef1d0 A new wrapper class to the Sweep_line_tight_2 to hide the implementation
details of the Event and SubCurve classes.
2003-03-04 20:54:55 +00:00
Tali Zvi 9965fc6615 Commented an optimization that no longer works properly due to changes
in the traits.
2003-03-04 20:54:21 +00:00
Efi Fogel b9b38e0a24 Added typename back where necessary 2003-02-25 14:50:46 +00:00
Ron Wein 08a36b9bf1 Added preconditions to curve_compare_at_x_<left/right>() and remove curve_is_between_clockwise() to the triats wrapper. 2003-02-24 16:57:07 +00:00
Ron Wein 9e45f8b328 Fixed some long lines. 2003-02-24 08:12:36 +00:00
Ron Wein a3f9fe8edf Added a precondition to curve_get_point_status() and removed the special enum. 2003-02-24 08:10:37 +00:00
Tali Zvi 4a91c49e1d Modified the less functor to operate in two modes: compare_right and
compare_at. The first one is the old operation mode. The second one
is used in the FirstPass() function to catch degenerate cases.
A global variable is currently used to allow modifying the operation
mode.
2003-02-19 21:26:55 +00:00
Tali Zvi 083dc3f577 Fixed a typo. 2003-02-18 18:59:06 +00:00
Tali Zvi 42d468c058 Fixed the code so that curve_compare_at_x_right will not be called in case
the reference point is out of the range of the curves being compared.
2003-02-18 18:52:09 +00:00
Tali Zvi 756e3d79cb Fixed a bug with overlapping curves (there was an assumption that the two
end points of the overlapping curve are sorted by x).
Fixed code that allowed calling compare_at_x_right when the reference
point was not in the range of the curves.
Fixed documentation and debug output.
2003-02-18 18:49:56 +00:00
Ron Wein 4325587eab Added preconditions to curve_compare_at_x(), curve_compare_at_x_right() and curve_compare_at_x_left() 2003-02-11 11:15:00 +00:00
Efi Fogel 57cf4875d1 This is for Ron W., Replaced traits requirement compare_y with compare_xy 2003-02-09 14:00:57 +00:00
Efi Fogel 76ca3078b8 suppressed redundant assignment statement 2003-02-08 23:48:10 +00:00
Efi Fogel 8ff3124dec Another attempt to get around a compilation error on MSVC 6.0 2003-02-05 19:03:11 +00:00
Tali Zvi d4e01d7060 Modified the friend classes using template parameters, to avoid compilation
error in Borland (among others).
2003-01-29 20:48:14 +00:00
Efi Fogel bda5e4a6ef Removed reference to Ref_counted 2003-01-23 14:53:41 +00:00
Efi Fogel d315a3a68a shorten long names 2003-01-23 14:52:54 +00:00
Efi Fogel 95d76ee586 Changed category name to Has_left 2003-01-23 14:50:28 +00:00