Commit Graph

119 Commits

Author SHA1 Message Date
Eran Leiserowitz e1f5bf7178 fixed 80 letters per line problem 2002-03-21 15:59:33 +00:00
Eran Leiserowitz e882c262c8 fixed indentation 2002-03-21 15:58:48 +00:00
Eran Leiserowitz c78f2fbb62 added a file header 2002-03-21 15:55:05 +00:00
Eran Leiserowitz 80e23dcfba added a tpedef for a derieved class, to avoid a -pedantic error 2002-03-21 13:27:44 +00:00
Eran Leiserowitz 152e12f885 fixed file name in the file header 2002-03-20 13:02:34 +00:00
Eran Leiserowitz 0d0209d3e4 changed temporary X_curve vars to X_curve_plus, fixed cout line flow 2002-03-19 10:17:01 +00:00
Ester Ezra 3ef1baab0c Fixing a spelling mistake in the ifdef line. 2002-02-26 18:27:01 +00:00
Ester Ezra 65f826f4ad An auxilaiary class for Sweep_line_to_planar_map_2.
It contains a point and its corresponding vertex handle.
2002-02-21 11:53:40 +00:00
Ester Ezra caa969ab8e . 2002-02-21 11:52:26 +00:00
Ester Ezra 7cc2319d0d *** empty log message *** 2002-02-21 11:52:03 +00:00
Ester Ezra c8e96e71c4 . 2002-02-18 16:24:47 +00:00
Ester Ezra 4736284fd1 1. Adding the usage in the function handle_overlapping_curves.
2. Arranging 80 chars in line.
2002-02-18 14:58:20 +00:00
Ester Ezra 2e92815b62 Arranging 80 chars in line. 2002-02-18 14:57:42 +00:00
Ester Ezra 9f38198ef6 Inheriting the Sweep_curves_base_2 class.
Implementing:
1. The sweeping of curves to a container of disjoint-interior subcurves.
2. The sweeping of curves to a container of the arrangement (induced by the input curves) points.

Major functions:
1. sweep_curves_to_subcurves.
2. sweep_curves_to_points.

Major auxiliary function: update_subcurves. This function inserts to the subcurves
container non-intersecting subcurves on each event.
2002-02-17 21:03:19 +00:00
Ester Ezra 2640e25e60 Inheriting the Sweep_curves_base_2 class.
Implementing the sweeping of curves to a planar map.
Major function: sweep_curves_to_planar_map.
Major auxiliary function: update_subdivision. This function inserts to the planar map
non-intersecting subcurves on each event.
2002-02-17 20:59:11 +00:00
Ester Ezra 14d36e43da The base class of the Sweep line package.
Includes basic types and common functions.

The basic types provided are:
1.  Curve_node. A curve of the sweep line which consists the input curve and a list
	of the intersection points along it.
2. Intersection_point_node. A point of the arrangement induced by the input curve.
	Each such point holds all Curve_nodes enamating from it, ordered in a counrer
	clockwise order.
3. less_xy. A binary predicate orders two points lexicographically by their xy values.
4. less_yx. A binar predicate orders two Curve nodes on the status line.

5. Event queue: The queue structure of the sweep line algorithm.
6. Status line: The status structure of the sweep line algorithm.

The basic functions provided are:
1. handle_one_event: Handle on event from the event queue.
2. handle_overlapping_curves: Handle overlapping curves on the status after handling an event.
3. check_status_neighbors_intersection: Check for new neighbors on the status line and create new
events if needed.
2002-02-17 20:54:54 +00:00
Ester Ezra 4a2d7a548a The global function sweeping curves and contructs their correponsing intersection
points, an option to add the input points is provided.
2002-02-17 20:45:29 +00:00
Ester Ezra fad8a8bac3 The global function sweeping curves and contructs their correponsing disjoint-interior
subcurves.
2002-02-17 20:44:41 +00:00
Ester Ezra be0753f136 The global function sweeping curves and contructs their planar map. 2002-02-17 20:43:51 +00:00