Commit Graph

66 Commits

Author SHA1 Message Date
Sylvain Pion ace0a0f1fa - Change all headers to the new format/license. 2003-09-18 10:27:16 +00:00
Efi Fogel 8bd0041317 Changed names of traits objects and functions 2003-06-04 08:27:00 +00:00
Efi Fogel fe5496dc4a 1st revision 2003-06-04 08:26:15 +00:00
Efi Fogel 122e2766fc fixed place of Point_plus_handle.h 2003-05-21 08:19:52 +00:00
Efi Fogel abf790fb1a shorten long lines 2003-02-16 22:08:09 +00:00
Efi Fogel d5f1fb7961 shorten long lines 2003-02-16 22:01:09 +00:00
Efi Fogel 317bb59968 cleanup 2003-01-23 16:57:10 +00:00
Ester Ezra ba4f5cd5fa Removing the line
typedef tyepname Base::Curve_status Curve_status.
2002-10-06 19:01:30 +00:00
Ester Ezra 4204fa2cab Adding typename before Base:: 2002-09-26 13:37:58 +00:00
Ester Ezra 746762eff5 Adding typename before holes_iter. 2002-09-26 13:37:26 +00:00
Ester Ezra 19d221c2e3 Removing the traits variable, since it is redundent. 2002-08-21 16:16:32 +00:00
Ester Ezra f6288ce4d7 Including also Polygons_do_intersect_2.h 2002-08-21 15:52:10 +00:00
Ester Ezra 36b8bbdb81 Adding
CGAL_END_NAMESPACE

#endif

to the end of file.
2002-08-21 15:51:38 +00:00
Ester Ezra 56c600b347 Removing the include files (there are contained in Polygons_bops_2.h). 2002-08-21 15:47:01 +00:00
Ester Ezra 132750a125 The do_intersect functor for bops on two polygons. 2002-08-21 15:46:04 +00:00
Ester Ezra 10bac0e1b1 Just editing the line and fix identation. 2002-08-21 15:43:55 +00:00
Ester Ezra 83588be687 The traits class for bops.
This traits is a refinement ot the arrangement segments traits,
adding an extra requirement,
in which it provides a function for computing the intersection point
of a vertical ray enamating from a given point, and a given segment.
2002-08-21 15:42:57 +00:00
Ester Ezra 9343777495 Removing this file, and change its name to Polygons_bops_2.h
The new file uses the new design of the polygons bops functors,
defined under CGAL/BOPS.
2002-08-21 15:40:45 +00:00
Ester Ezra 82ec011129 The Polygons bops function all together included in this file. 2002-08-21 15:39:16 +00:00
Ester Ezra 09957314f8 Updating the changes due to the usage of the new Polygons_bops_traits.
The new traits provides a function for computing the intersection point
of a vertical ray enamating from a given point, and a given segment.

Now Holes_split does not have to know the types Ray and
does not have to do theis calculation by itself.
2002-08-21 15:35:52 +00:00
Ester Ezra 1454ef27bc The four polygons boolean operations funcitons objects:
1.Intersection.
2.Union.
3.Differenece.
4.Syemmetic Differenece.
2002-08-21 15:33:14 +00:00
Ester Ezra 67e83c8918 Fix the line decalring the class to compile on other platform.
(adding type name).
2002-08-08 19:51:11 +00:00
Ester Ezra ca6cb182b1 Change the desing:
Now Map_overlay_2 is a Handle, in order to control the
memory destruction.\

Now it is possible to create an object

Map_overlay_2 ovl(pm1,pm2);

pm1,pm2 are two planar subdivisions.
The call to the converter (from pm1 to map overlay is done successfully),
And the created temporary object is not freed thanks to the ref count.
2002-08-08 19:50:33 +00:00
Ester Ezra 8264d06ca5 Fixing header. 2002-08-07 16:04:11 +00:00
Ester Ezra b258d3cc7a Breaking long printouts lines. 2002-08-07 16:02:10 +00:00
Ester Ezra e1d4fe2628 Removing the Curve_iterator template parameter,
since this class uses a specific iterator which is a list iterator.
We template the sweep line base class in appropiate manner.
2002-08-07 15:56:16 +00:00
Ester Ezra 80b43a82c8 Removing file Map_overlay_naive.h.
Chaning to Map_overlay_incremental.h
2002-08-06 17:05:09 +00:00
Ester Ezra 502af5ac62 Adding header and fixing lines to 80 columns. 2002-08-04 19:46:37 +00:00
Ester Ezra 3665bafd68 The Boolean operations class. 2002-08-04 19:42:24 +00:00
Ester Ezra 19d16ad50c The incremental algorithm for the map overlay. 2002-08-04 18:01:03 +00:00
Ester Ezra 4269cf9844 Changing names: Map_overlay --> Map_overlay_2. 2002-06-30 19:33:15 +00:00
Ester Ezra 7b9cb08b7a Changing names: Map_overlay --> Map_overlay_2. 2002-06-30 19:30:44 +00:00
Ester Ezra 71af0523a9 Changing names: Map_overlay --> Map_overlay_2 2002-06-30 19:08:11 +00:00
Ester Ezra dc994b813f Removing the file, since its name was changed to Boolean_operations_2.h 2002-06-30 17:32:26 +00:00
Ester Ezra 7ef4d07406 *** empty log message *** 2002-06-23 15:30:52 +00:00
Ester Ezra 697fd4668b Adding the usage with the traits class. 2002-06-23 15:29:41 +00:00
Ester Ezra db99e99bde Arranging code. 2002-06-23 15:28:44 +00:00
Ester Ezra a9499f3244 Removing the counter of number of faces, halfedges and vertices above a DCEL feature. 2002-06-23 15:27:34 +00:00
Ester Ezra 4255b686dc The Traits for the Bops package.
Note that the polygon of CGAL and the polygon
of LEDA have two different interfaces.
Hence, the Traits provides a common interface to the polygons.
2002-06-23 15:24:35 +00:00
Ester Ezra 9b25e4d6ad Adding the usage with the Bops Traits. 2002-06-23 15:22:57 +00:00
Ester Ezra 3447807937 Removing the function copy_arr. 2002-06-23 15:02:40 +00:00
Ester Ezra c366adbbbb . 2002-06-23 15:01:35 +00:00
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