Commit Graph

24 Commits

Author SHA1 Message Date
Ester Ezra fcb2d29ef4 Removing the names Arr_2 from classes. 2002-06-23 15:00:41 +00:00
Ester Ezra eb5c6d2741 The class for spliting a face with holes, to a number of faces without holes.
The main function gets as a parameter a planar map composed of one bounded face
with possibly many holes, and splits that face in the following manner:
We animate from the left vertex and the right vertex of each hole two vertical rays
going upward and downward.
2002-05-23 20:16:36 +00:00
Ester Ezra db45440215 The notifier for the Holes_split_dcel.
We update the flags of the decomposing edges (vertical spliting edges)
if necessary.
2002-05-23 20:13:48 +00:00
Ester Ezra 9ce8441daa The DCEL used by the Holes_split class.
We need to indicate each edge whether it is an original edge or a vertical spliting edge.
We also indicate for each face, whether it is a face associated with a hole.
2002-05-23 20:12:14 +00:00
Ester Ezra eda8c71c6c A functor translating planar map faces to polygons.
Here we assume the faces have no holes (due to the holes splitting process).
2002-05-23 20:10:26 +00:00
Ester Ezra a18e8f8c4b Boolean operations on polygons.
We provide the following boolean operations on two polygons:
1. intersection.
2. union.
3. symmeteric diff
4. diff

the funcitons are templated with the polygon type and traits.
The CGAL polygon is a model of our polygon.
The traits is used for the sweep line algorithm.

Each function has three (optional) parameters representing the resulting features.
1. a list of points.
2. a list of segments.
3. a list of polygons.

The latter is a list of simple polygons (from the polygon type).
Hence if the we polygon with holes we split it to simple polygons.
2002-05-23 20:08:57 +00:00
Ester Ezra c43d25e1a9 Removing some print messeges lines. 2002-02-04 18:26:01 +00:00
Ester Ezra 64c92e44e5 Adding a method that returns the notifier. 2002-02-04 18:24:52 +00:00
Ester Ezra a0d3c1646e Fixing a bug in update_all_faces function.
Not all halfedges and vertices got the right face above.
When updating the halfedges and vertices a long a face, we also considered the holes of that face.
2002-02-04 18:23:57 +00:00
Ester Ezra e30ca58bcd Adding more constructors having point location parameter. 2002-02-03 20:01:43 +00:00
Ester Ezra fb678703cf . 2002-01-28 13:53:32 +00:00
Ester Ezra 362d992504 Changing the names arr1 and arr2 to first_creator and second_creator. 2002-01-28 13:52:59 +00:00
Ester Ezra 1049314a85 1. Arranging the constructors.
2. Adding a copy constructor and an assignment operator.
2002-01-28 13:51:38 +00:00
Ester Ezra cde159c5ec Fixing the function update_subdivision:
1. It checks whether the notifier is 0.
2. It uses traits.curve_is_same function instead comparing two curves (which is wrong!).
2002-01-28 13:50:01 +00:00
Ester Ezra c4041badd6 . 2002-01-20 19:20:42 +00:00
Ester Ezra 36e8e0f832 Fixing the code, so it will handle also the attributes above halfedges and vertices.
Such attributes are face, halfedges and vertices of the creator.
2002-01-20 19:16:33 +00:00
Ester Ezra 74193636af *** empty log message *** 2002-01-20 19:15:17 +00:00
Ester Ezra 3c332ed5f9 . 2002-01-20 19:14:12 +00:00
Ester Ezra 6376557e0b Call to change_notf->update_all_faces(result, a1, a2), which is the notifier function
updating all the faces features.
This was added since the Map overlay should use from now on the Post precessing notifier,
rather then the In processing notifier, since the former is more efficient than the latter.
2002-01-20 18:29:18 +00:00
Ester Ezra b2fc7398be Arranging the contructors. 2002-01-20 18:05:46 +00:00
Ester Ezra 5508b47844 Simplify add_edge and arranging the code (it's an old code). 2002-01-20 18:05:08 +00:00
Ester Ezra d71dfc3b03 Fixing the function update_subdivision in order to handle overlappnigs properly.
If we deal with an overlapping curve, we do not insert it to the planar map.
However, we have to invoke the add_edge function of the notifier in order
to update the current halfedge attributes.
2002-01-20 14:06:26 +00:00
Ester Ezra b22ad8e7ec . 2002-01-20 12:31:58 +00:00
Ester Ezra 14c4544cd6 Initializing map overlay package 2002-01-01 15:02:29 +00:00