Commit Graph

340 Commits

Author SHA1 Message Date
Efi Fogel 4d0a7a10d0 Removed redundant <source> parameter from insert_from_vertex() calls 2002-04-13 00:12:05 +00:00
Efi Fogel e298ec3413 Replaced Pmwx_change_notification with Change_notification 2002-04-11 22:46:45 +00:00
Efi Fogel 74ebc46c8d Added full specification of Point_2 required for msvc 2002-04-11 22:44:44 +00:00
Efi Fogel b023596fc4 Used CGAL_TYPENAME_MSVC_NULL for msvc 2002-04-11 21:45:38 +00:00
Efi Fogel 3001ffd63d fixed name of include file Pm_segment_traits_2.h 2002-04-11 18:25:45 +00:00
Shai Hirsch 415c0f2fd4 Fixed type problems. 2002-04-11 09:52:42 +00:00
Shai Hirsch 5bc384e08a Changed Point, Curve and X_curve to Point_2, Curve_2, X_curve_2, resp. 2002-04-10 17:26:15 +00:00
Shai Hirsch f197ce4a01 Typos. 2002-04-10 17:07:17 +00:00
Shai Hirsch de5d43f75a Order of typedefs. 2002-04-10 17:06:48 +00:00
Shai Hirsch 3a6627f260 80 Col. 2002-04-10 17:05:40 +00:00
Shai Hirsch 63955943f7 Removed redundant #error. 2002-04-10 17:04:03 +00:00
Shai Hirsch 7f13c49f8d Changed Point, Curve and X_curve to Point_2, Curve_2, X_curve_2, resp. 2002-04-10 17:02:45 +00:00
Shai Hirsch f6ff8f8010 Changed Point, Curve and X_curve to Point_2, Curve_2, X_curve_2, resp. 2002-04-10 16:49:56 +00:00
Shai Hirsch 05f396ca0d Changed Point, Curve and X_curve to Point_2, Curve_2, X_curve_2, resp. 2002-04-10 16:40:25 +00:00
Shai Hirsch f56631177f Changed Point, Curve and X_curve to Point_2, Curve_2, X_curve_2, resp. 2002-04-10 16:27:26 +00:00
Shai Hirsch 96dde42d51 Changed Point, Curve and X_curve to Point_2, Curve_2, X_curve_2, resp. 2002-04-10 16:19:07 +00:00
Shai Hirsch d8a911b70d 80 columns. 2002-04-10 15:51:06 +00:00
Shai Hirsch 47acca61a4 Changed Point, Vector, Curve and X_curve to Point_2, Vector_2, Curve_2, X_curve_2, resp. 2002-04-10 15:49:55 +00:00
Shai Hirsch 314ade5185 Removing file from release. 2002-04-10 15:35:19 +00:00
Shai Hirsch f567515a08 Using new version of insert_from_vertex. 2002-04-10 15:09:06 +00:00
Shai Hirsch 2572346c64 Beautification. 2002-04-07 14:18:58 +00:00
Shai Hirsch ab2ce022c5 Shortened an 80 columns line. 2002-03-21 16:03:57 +00:00
Shai Hirsch 8abbd1712e Adding header. 2002-03-21 16:01:49 +00:00
Shai Hirsch d7932b30f5 Important: fixed memory leak due to wrong management of internally newed objects. 2002-03-21 15:26:47 +00:00
Eran Leiserowitz b3b277823c removed included file '<CGAL/number_type_tags.h>' 2002-03-21 11:04:44 +00:00
Shai Hirsch b48d074765 Minor adaptations. 2002-03-20 10:29:13 +00:00
Shai Hirsch a465ee46bf Adding support for conic arcs. 2002-03-20 09:11:44 +00:00
Eran Leiserowitz f546133a85 fixed a msvc problem (moved many functions definition inside the class) 2002-03-19 21:14:49 +00:00
Shai Hirsch d8b2a7aea8 Changes by Matthias for the support of the LEDA namespace macros. 2002-03-18 21:11:03 +00:00
Shai Hirsch 9f00c127bf Replaced == for curves with traits->curve_is_same. 2002-03-04 13:35:50 +00:00
Shai Hirsch f0c1810b64 Changed variable or to orient. Or is a keyword. 2002-03-04 13:35:11 +00:00
Shai Hirsch 752f6abf27 Extended is_valid to include more checks of edges and overlaps.
Fixed new call to compare_xy of the traits_wrap.
Removed a debugging cout that slipped in.
2002-03-04 12:30:35 +00:00
Shai Hirsch cf4fda8a4c push_in_edge_list was changed to ignore direction flag of add_edge() of the notifier. 2002-03-03 18:38:44 +00:00
Shai Hirsch 96d61567cb Replaced Pmwx_change_notification with Change_notification but left the definition of the first for backward compatibility. 2002-03-03 13:55:02 +00:00
Shai Hirsch 890536b4ea Yevgeni took function definitions out of class definition. 2002-02-20 11:10:23 +00:00
Ester Ezra 858f561d00 The Sweep line classes are removed here, since the sweep-line is an independent package now located
in a seperated dir.
2002-02-18 16:41:07 +00:00
Ester Ezra 7df953dd97 The auxiliary class of the sweep, defining a Point and a vertex handle corresponding it. 2002-02-18 16:39:19 +00:00
Ester Ezra 21cc9c0986 The sweep line global functions. 2002-02-18 16:37:52 +00:00
Shai Hirsch 5967281bb8 We deleted the deprecated workaround for the enum Curve_point_status. 2002-02-12 19:15:54 +00:00
Ester Ezra 109e094330 Checking that the notigier is not 0 in update_subdivision function.
It coused a bug thanks to overlapping edges which in this case make no insertion but
notify the Planar map.
2002-01-28 13:40:53 +00:00
Ester Ezra 73b34c8b22 Adding Notifier as an additional parameter to this function. 2002-01-27 18:21:13 +00:00
Ester Ezra bfecd28153 Removing some code in comments. 2002-01-27 18:16:14 +00:00
Ester Ezra d85747863b 1. Adding the function handle_overlapping_curves.
2. Changin the status to use the STL set rather than STL map.
2002-01-27 18:15:20 +00:00
Ester Ezra 78a8fc3bd0 Add the notification update.
Templating the class with the Notifier and change update_subdivision to bring in acount
the notifier.
2002-01-27 18:13:34 +00:00
Shai Hirsch e20c07fb08 Adding an include to file Planar_map_2/Pm_change_notification.h. 2002-01-09 18:30:55 +00:00
Shai Hirsch 48dbf55451 Erases notifier class definition. It is now in a file of its own under /Planar_map_2. 2002-01-09 18:30:12 +00:00
Shai Hirsch 77d0796ac2 Corrected a mistaked comment for circle(). 2002-01-04 11:47:13 +00:00
Shai Hirsch 267b30eb5a Changed constructors to support circular arcs with the original circle orientation. 2002-01-02 11:29:37 +00:00
Shai Hirsch 051078de88 Changed == over curves to traits->curve_is_same to support our own syntactic requirements of the concept PlanarMapTraits_2. 2001-12-23 12:55:31 +00:00
Shai Hirsch 9bd1ddb842 Fix details in header. 2001-12-19 10:47:03 +00:00
Shai Hirsch 2aeefa0bfd Fix a bug with overlapping identical segments with opposite directions (Ron's fix). 2001-12-19 10:46:42 +00:00
Ester Ezra 771e0dcca0 . 2001-12-02 16:43:44 +00:00
Ester Ezra 64fddda773 Adding a copy constructor. 2001-12-02 16:35:25 +00:00
Ester Ezra c66af31e3b Fixing a bug in the copy_hierarchy_tree and adding an assignment operator. 2001-11-25 19:25:23 +00:00
Shai Hirsch bf404c1825 Reverting to previous version of is_valid (changed for is_valid were made as part of last two revisions) until Eyal fixes a problem with flags of add_edge() of the notifier. 2001-11-25 16:54:25 +00:00
Ester Ezra 0dd8905eb7 Changing Ptr() of Handle_for.h to ptr(). 2001-11-25 14:14:30 +00:00
Shai Hirsch 94a099c993 Add case to void to avoid unsused parameter warning. 2001-11-25 13:30:16 +00:00
Ester Ezra 17945c9e2b Adding an assign(.) functions to the Arrangement base classes.
That's the requirement from the copy constructor of the Dcel
2001-11-25 12:46:24 +00:00
Ester Ezra ec85832147 Adding a copy constructor. 2001-11-25 12:44:03 +00:00
Ester Ezra ca851017c3 Updating ptr to ptr() or Ptr() thanks to the new Handle_for. 2001-11-22 18:16:51 +00:00
Ester Ezra 1d6a4b35f1 include Sweep classes from Sweep_line_2 directory 2001-10-31 17:49:40 +00:00
Ester Ezra 2fb4e9e8a0 Moved from ../ 2001-10-31 17:47:17 +00:00
Ester Ezra 31180fb484 Moved to directory Sweep_line_2. 2001-10-31 17:45:33 +00:00
Ester Ezra e2bce7cb13 A class defining a point plus its specified vertex handle on its Planar map.
This class is a part of the sweep line package.
2001-10-30 18:13:55 +00:00
Ester Ezra ca1fc2d009 Sweeps the input curves and return all the intersection points plus input points. 2001-10-30 17:45:32 +00:00
Ester Ezra 8c030b6ea6 *** empty log message *** 2001-10-30 17:44:25 +00:00
Ester Ezra 5ddf90fd10 Using the optimized code of Sweep_curve_base.h
Another template parameter X_curve_plus is added.
We added a new function here, which sweeps the input curves and returns all the
interection points (plus input points).
2001-10-30 17:43:34 +00:00
Ester Ezra 4398ebddd1 Using the optimized code of Sweep_curve_base.h
Another template parameter X_curve_plus is added.
2001-10-30 17:41:02 +00:00
Ester Ezra 33462754a9 Making optimization code.
The whole optimization process is documented on a extern file.
2001-10-30 17:39:44 +00:00
Shai Hirsch a283fc9036 Replaced assert() with CGAL_assertion(). 2001-10-30 14:19:21 +00:00
Shai Hirsch a4639994e6 80 columns. 2001-09-30 15:10:56 +00:00
Shai Hirsch a561943da0 Corrected bugs in add_edge() calls with respect to the direction of the
returned halfedge.
2001-09-30 15:09:12 +00:00
Shai Hirsch 472e7c7dcc Ron fixed case 4 of overlaps(). 2001-09-25 14:37:49 +00:00
Shai Hirsch ba6915bf70 Fixed bug in operator<< of curve (typo). 2001-09-25 12:50:21 +00:00
Shai Hirsch 8d82af0db7 Bug fixes in curve_is_between_cw(), do_intersect_to_right() and
nearest_intersection_to_right() on 12/9/01 in response to bugs reported by Eran.
2001-09-25 12:48:57 +00:00
Shai Hirsch 645fcc13b6 Bug fixes in overlaps() by Shai and Ron (on 12/9/01 and 25/9/01 in response
to the bugs found by Eran L).
2001-09-25 12:45:36 +00:00
Shai Hirsch 28fe6f943b Removed a typo in is_valid(). 2001-08-21 13:31:35 +00:00
Shai Hirsch 0b5789c634 Added #ifndefs for CGAL #includes. 2001-07-26 13:08:33 +00:00
Shai Hirsch 1b14430952 File removed from release. It is not usable for a while: It does not handle
non-x-monotone curves and some types are not correct.
2001-07-26 13:06:38 +00:00
Shai Hirsch af45565256 Deleted option to use Arr_pmwx.h. File was deleted from release. 2001-07-26 13:03:23 +00:00
Shai Hirsch 56786dadda Fixed bug in intersection_with when arcs have opposite orientations (Ron's fix). 2001-07-25 17:00:24 +00:00
Shai Hirsch 1a4b165a28 Removing redundant #includes.
Making CGAL #includes conditional (#ifndef...).
2001-07-17 15:55:11 +00:00
Shai Hirsch e755f7c283 *** empty log message *** 2001-07-17 15:54:00 +00:00
Shai Hirsch 3e3038b41f 80 Columns. 2001-07-17 13:18:07 +00:00
Ester Ezra c33d0f1eef Including vector. 2001-07-12 20:55:15 +00:00
Ester Ezra bc6e5d0aa2 Changing the static_cast of the const handles to be const pointers (instead of pointers)
to satisfy VC++.
2001-07-10 13:47:03 +00:00
Shai Hirsch c0fe8bcb76 Bug fixes by Ron and a header. 2001-07-05 08:02:05 +00:00
Shai Hirsch 4d428a2539 Added a header. 2001-07-05 08:01:28 +00:00
Shai Hirsch 4f93fd3182 Removed a redundant comma in the enum definition. 2001-07-05 08:01:15 +00:00
Shai Hirsch 468b0f162a Bug fix by Yevgeni. 2001-07-03 12:49:04 +00:00
Shai Hirsch 80aab6da4b *** empty log message *** 2001-07-03 12:27:24 +00:00
Ester Ezra 9b0a3ba7fe Fixing the duplicated typedef of X_curve. 2001-06-27 15:17:35 +00:00
Shai Hirsch 1babe76a01 Fixes by eug and addition of reflection functions. 2001-06-26 17:37:33 +00:00
Ester Ezra a1546f409e Defining variables out of for scope to satisfy VC++, 2001-06-22 15:35:28 +00:00
Ester Ezra 3973355c5f Removing last change - the problem was solved in the base class. 2001-06-22 09:52:39 +00:00
Ester Ezra ef2d90eb9e Remove the 'typedef X_curve_plus X_curve_plus' to satisfy Bcc.
Declaring class Curve_node before Curve_node_rep to satisfy Bcc.
2001-06-22 09:51:26 +00:00
Ester Ezra f8f8dabd98 Add some changes as defining new typedef in order to satisfy BCC compiler. 2001-06-21 20:44:29 +00:00
Ester Ezra 6c38a85c06 Add some changes as defining more typedef to satisfy BCC compiler. 2001-06-21 20:43:14 +00:00
Andreas Fabri c1efea2bf6 added template arguments to remove ambiguity (problems with Borland, gcc3.0) 2001-06-19 12:45:59 +00:00
Shai Hirsch e4ca022ca2 Removing obsolote workaround for Curve_point_status. 2001-06-18 15:43:07 +00:00
Ester Ezra e227361cc0 Replacing assert with CGAL_assertion. 2001-06-12 21:39:50 +00:00
Ester Ezra a34ac6e1c4 Adding a commented line when finishing writing a level of the hierarchy tree. 2001-06-07 19:40:28 +00:00
Ester Ezra 6713be9932 Removing function that writes '\n' after finishing writing a whole level
in the hierarchy tree.
2001-06-07 19:39:53 +00:00
Ester Ezra 2882ba2b89 Fixing function to handle verbose format. 2001-06-04 18:42:09 +00:00
Ester Ezra 8194cee719 . 2001-05-31 18:35:04 +00:00
Ester Ezra 474dd780a1 Fixing lines to contain not more than 80 characters. 2001-05-31 18:03:31 +00:00
Ester Ezra b5081a793a Fixing lines to have not more than 80 characters. 2001-05-31 17:58:38 +00:00
Ester Ezra 33f07e07f2 Removing the using of clock function. 2001-05-31 16:11:52 +00:00
Shai Hirsch 82f129b552 Added 'typename'. 2001-05-31 11:05:28 +00:00
Shai Hirsch a4dd140f66 Introducing handling of non x-monotone curves (by Eyal).
Introducing non-intersecting_insert_at_vertices().
2001-05-30 16:30:37 +00:00
Shai Hirsch 7dd9d8df30 Eyal introduces intersect_base to speed up traits class.
do_intersect_to_left and nearest_intersection_to_left are introduced under
a special flag.
2001-05-30 12:39:13 +00:00
Shai Hirsch a1e1cf5d4e Pm_with_intersection supports non x-monotone curves from now on.
non_intersecting_insert_at_vertices introduced.
2001-05-30 12:36:37 +00:00
Ester Ezra bb0019fe95 Adding header. 2001-05-24 18:35:35 +00:00
Ester Ezra 987d1940a1 This is the global function the user will call in order to construct a container
of all the disjoint interior sub curves induced by sweeping the curves input.
This function only calls to the appropiate method defined
in the class Sweep_curves_to_subcurves.
2001-05-24 18:12:16 +00:00
Ester Ezra 7264257204 This is the global function the user will call in order to construct a planar map
by sweeping the curves input. This function only calls to the appropiate method defined
in the class Sweep_curves_to_planar_map.
2001-05-24 18:10:40 +00:00
Ester Ezra 4c271e3745 This class is derives from Sweep_curves_base.
It constructs a container by sweeping the curves input
and updating it at each event point.
Eventually, all the disjoint interior sub curves are inserted to the container.
2001-05-24 18:08:51 +00:00
Ester Ezra 0022fbf8c8 This class is derived from Sweep_curve_base class.
It builds a planar map by sweeping the input curves
and updating the planar map at each event point.
2001-05-24 18:06:09 +00:00
Ester Ezra dbf72caaf5 The base class for Sweep line. It defines all the subclasses and types the Sweep line
implementation needs, it also provides methods with are common to the derived classes:
Sweep_curve_to_planar_map  and  Sweep_curves_to_subcurves.
2001-05-24 18:00:26 +00:00
Ester Ezra 4148f1916d Fixing the header. 2001-05-15 19:01:57 +00:00
Ester Ezra 835258c4ea Fixing the header. 2001-05-15 18:25:26 +00:00
Ester Ezra 2d553ab51f . 2001-05-15 16:51:14 +00:00
Ester Ezra 7214ca5d39 Adding the missting '_' in the including of the Arrangement. 2001-05-14 16:48:22 +00:00
Ester Ezra a35a18d957 adding the missting '_' in the including of the Arrangement. 2001-05-14 16:47:58 +00:00
Shai Hirsch fc78ef8d18 Changes to conform with naming conventions of CGAL.
Reverted to non const reference points in two places.
2001-05-09 15:06:34 +00:00
Shai Hirsch a1d1602e61 Changes to conform with naming conventions of CGAL. 2001-05-09 15:04:24 +00:00
Ester Ezra b26458f771 Defines a generic function for writing the Arrangement. 2001-05-07 16:38:22 +00:00
Ester Ezra cf826868a1 Defines input and output operators for reading/writing a polyline from and
to the standtard input/output.
2001-05-07 16:37:19 +00:00
Ester Ezra ff33caa80b Defines an output operator for drawing a polyline to a Window stream. 2001-05-07 16:35:34 +00:00
Ester Ezra 1adbcbfdd2 Defines an output operator for writing a polyline to a Postscript file. 2001-05-07 16:34:50 +00:00
Ester Ezra 9f7aab867c Defines an output operator for writing a polyline to the standard output. 2001-05-07 16:34:17 +00:00
Ester Ezra d28ceb79e9 A class that contains methods for writing the Arrangement componenets. 2001-05-07 16:29:59 +00:00
Ester Ezra 52ccf8e8c2 A class that contains methods for scanning the Arrangement componenets. 2001-05-07 16:29:20 +00:00
Ester Ezra f62b7c0053 *** empty log message *** 2001-05-07 16:28:16 +00:00
Ester Ezra 0fee4554a5 . 2001-05-07 16:26:56 +00:00
Ester Ezra 398ba2a35e Adding the functions:
1. clear - for clearing the arrrangment.
2. two reading functions, (one with a default scanner).
3. scan_arr - a helper function for the Arrangement reading.
cvs:  ----------------------------------------------------------------------
2001-05-07 16:11:30 +00:00
Shai Hirsch 27b31cbff4 Some minor changes by Eyal. 2001-05-02 10:14:54 +00:00
Shai Hirsch 62f9f5c5a3 Added missing std::. 2001-05-02 06:59:48 +00:00
Shai Hirsch 6d7b3a5056 Adding typename where needed. 2001-03-13 14:54:45 +00:00
Shai Hirsch 4b3dc7afc3 make_x_monotone: bug fixes - function did not handle the case where a
circular curve is split into 3 x-monotone sub-curves. Spliting of a whole
circle did not maintain orientation.
constructors of Circ_curve: added preconditions that source and target are
on the circle.
2001-02-21 19:13:44 +00:00
Sylvain Pion 2a60327811 Initial revision 2001-02-05 12:39:20 +00:00