Commit Graph

600 Commits

Author SHA1 Message Date
Sylvain Pion 25b606c052 - locate() interface changes to match the 2D case wrt the default start.
- minor hierarchy speed up.
2001-04-13 12:20:52 +00:00
Sylvain Pion 65bb5da372 - lines too long 2001-04-11 11:56:23 +00:00
Sylvain Pion a62c4bf51b - Workaround VC++ for-scope bug 2001-04-11 11:56:05 +00:00
Sylvain Pion 393bfe570c add missing header 2001-04-11 11:55:36 +00:00
Monique Teillaud 4ca2fb1bed bug fix in the constructors with start argument 2001-04-05 09:26:21 +00:00
Sylvain Pion 8f8d1bd92f - Move template member in the class body for VC++. 2001-04-04 16:07:30 +00:00
Sylvain Pion c3cdbc1c87 - Add NDEBUG. 2001-04-04 16:07:07 +00:00
Monique Teillaud 6bf122e7d0 long lines cut 2001-04-04 15:52:20 +00:00
Sylvain Pion 5e51f0a73e - Cleanup. 2001-03-21 19:48:31 +00:00
Sylvain Pion 70e29bbbcc - Add a free cell list in order to speed up cell allocation. 2001-03-20 16:56:31 +00:00
Sylvain Pion d0acc47030 - New insert_conflict() in the TDS.
- Use it in Delaunay.
2001-03-08 13:33:55 +00:00
Sylvain Pion fbb8fe5467 - Missing typenames. 2001-03-08 13:27:15 +00:00
Sylvain Pion 53050abea1 - Forgot something in last change. 2001-03-08 12:29:50 +00:00
Sylvain Pion aab902279e - Added const.
- New test in is_valid().
- Call is_valid() in insert() and remove() in an expensive_asssertion().
2001-03-06 12:54:45 +00:00
Sylvain Pion a676f51cdb - Remove useless includes of <CGAL/triple.h>. 2001-02-22 10:59:27 +00:00
Sylvain Pion 7f32b819ee - Use the kernel's function object for the cross product. 2001-02-22 10:25:49 +00:00
Sylvain Pion 54cb1d838b - Cleanup. 2001-02-20 15:32:21 +00:00
Sylvain Pion d3a288bbb1 - Test if start==NULL before passing it to locate()... 2001-02-19 17:08:46 +00:00
Sylvain Pion 2f5007dd4f - Missing typenames and typedef. 2001-02-19 14:59:08 +00:00
Sylvain Pion d52800b180 - Follow-up on the Borland workaround. 2001-02-19 10:44:12 +00:00
Andreas Fabri d8d1657bfc - Remove "const" to please Borland. 2001-02-15 13:42:29 +00:00
Andreas Fabri 5149520fd1 - Fixes for Borland. 2001-02-15 13:31:23 +00:00
Sylvain Pion afa2338689 - Remove some old style casts. 2001-02-14 16:54:15 +00:00
Sylvain Pion dd471c2601 - Formatting. 2001-02-13 18:45:09 +00:00
Sylvain Pion 152c9d3597 - Triangulation_hierarchy<>. Initial version that "only" compiles. 2001-02-13 18:12:50 +00:00
Sylvain Pion 60646388ac - New functionality required by the hierarchy : Les_distance_to_point_3. 2001-02-13 18:10:56 +00:00
Sylvain Pion e6575265a8 - Add typedef value_type. 2001-02-13 18:10:31 +00:00
Sylvain Pion b9710d2175 - Make functions static.
- Remove some old casts.
2001-02-09 17:09:28 +00:00
Sylvain Pion d73961f43b - it++ -> ++it for efficiency. 2001-02-09 16:41:05 +00:00
Sylvain Pion 45b0c0d7f0 - Cleanup. 2001-02-09 16:29:44 +00:00
Sylvain Pion 70607c02ea - Remove temporary #ifdef SYL...
- Formatting.
2001-02-08 16:02:06 +00:00
Sylvain Pion 2c06bbefa5 - Use std::distance(). 2001-02-08 15:37:34 +00:00
Sylvain Pion c41a382d3f - Make "int i" in for() scope only. 2001-02-08 13:10:34 +00:00
Sylvain Pion 59650f5b73 - Remove useless std::less<>. 2001-02-08 12:59:33 +00:00
Sylvain Pion 66c1080d68 - Re-add default ctor. 2001-02-08 12:43:37 +00:00
Sylvain Pion 1d0b3f3ed6 - flags -> in_conflict_flag.
- formatting.
- "unsed variable" warnings.
2001-02-08 12:42:06 +00:00
Andreas Fabri 3201f97d92 look at all incident edges and not only at those that
are at the same time cospheric;
fixed a bug there. That's why it was commented out
2001-01-25 12:20:09 +00:00
Andreas Fabri 893f9ef06d Made some simplifications as discussed at code review with Monique 2001-01-23 13:55:04 +00:00
Andreas Fabri a2be3eba69 cleanup 2001-01-22 08:35:16 +00:00
Andreas Fabri a8551dc4c6 needed for Delaunay_3::remove_vertex
written in the STL way
2001-01-19 11:58:34 +00:00
Andreas Fabri 65f149d9b7 This class is needed in the ear-filling algorithm 2001-01-19 09:29:43 +00:00
Andreas Fabri 9f767c2f05 Added the algorithm that fills the hole with ears 2001-01-19 09:26:36 +00:00
Monique Teillaud e53e200ff6 set_flags and get_flags private 2001-01-18 14:56:03 +00:00
Andreas Fabri 97fe309b52 added dummy_for_windows to cheat the MSV++ compiler 2001-01-09 16:26:06 +00:00
Andreas Fabri baa46de95a removed Point_2 include statement and typedef as the coplanar_.. predicates
are no longer in the traits
2001-01-09 10:48:33 +00:00
Sylvain Pion 3e84840766 - flags belongs to ds_cell, not cell_base. 2001-01-07 00:15:49 +00:00
Sylvain Pion e249619e14 - Use #ifdef SYL for further incompatible optimisations.
- clear() cleanup...
- various formatting.
2001-01-01 21:48:48 +00:00
Sylvain Pion 520d68b04a - Formatting. 2001-01-01 20:37:44 +00:00
Sylvain Pion ba207da12a - Formatting.
- Added the find() -> get_flags() optimization in commentary.
2001-01-01 15:29:08 +00:00
Sylvain Pion 56ceb27c9e - Revert patch about "prev" argument to find_conflicts_3() since there will
be a better way to do it.
- Added in commentary, the better solution which replaces the various find()
  calls by get_flags().
2001-01-01 15:26:38 +00:00
Sylvain Pion c958f69b14 - Added "int flags;".
Unused at the moment, but it's faster due to cache effects, so...
2001-01-01 02:47:18 +00:00
Sylvain Pion e2f0eff83c - Minor optimization. 2001-01-01 01:52:49 +00:00
Sylvain Pion 31de30c710 - Minor optimization of find_conflicts_3(). 2001-01-01 00:53:26 +00:00
Sylvain Pion e2d8fd7adb - std::set<void *> replaced by a typedef : Conflict_set to later allow to
change it to hash_set<>.
- Added "const" to a few functions taking this argument.
2000-12-31 22:31:47 +00:00
Sylvain Pion b9b7ba3a31 - "g++ -Winline" tells us it can't inline rand_4() because it has static
variables, so we make them static variables of the class instead.
2000-12-31 22:14:25 +00:00
Sylvain Pion 70a4d1688b - Suppress second parameter to std::set<> since it's the default. 2000-12-31 20:08:24 +00:00
Sylvain Pion 79233eaec8 - find_conflicts_[23]() optimization. 2000-12-31 19:21:45 +00:00
Sylvain Pion 1bcbd1d26d - violates() optimization (replace copies of points by pointers). 2000-12-31 17:43:39 +00:00
Sylvain Pion f88140a857 - Remove superfluous "inline". 2000-12-30 22:27:27 +00:00
Andreas Fabri 1ff466bb6e undo added so that the remove fails gracefully, instead of invalidating the triangulation 2000-12-22 15:07:22 +00:00
Andreas Fabri 4e2ce7ad9e Added a local function that will one day be in the kernel 2000-12-22 15:05:21 +00:00
Andreas Fabri 5d1542bb54 Aded type Point for backward compatibility 2000-12-22 14:21:46 +00:00
Andreas Fabri 9064c291e1 made function operator calls const& 2000-12-22 12:47:14 +00:00
Andreas Fabri 8e0c5205f8 function objects are applied directly and not from within a helper function 2000-12-22 12:46:09 +00:00
Andreas Fabri dd29b5131b kernel traits 2000-12-21 12:51:25 +00:00
Andreas Fabri e6edbd98ec kernel traits changes 2000-12-21 12:44:58 +00:00
Andreas Fabri 06981b0b37 oops Too many lines got commented 2000-12-21 11:44:11 +00:00
Andreas Fabri b135b5fda1 Changed access control to protected so that derived classes (e.g. Delaunay_3) can add cells 2000-12-20 16:12:39 +00:00
Andreas Fabri a92213b92e Changed access control to protected so that derived classes as Delaunay triangulation can also ad cells 2000-12-20 16:02:11 +00:00
Sylvain Pion 4cf81e92cc - cleanup. 2000-12-12 16:02:16 +00:00
Sylvain Pion c1e1a3b9e8 - cleanup. 2000-12-12 15:45:54 +00:00
Sylvain Pion 443a710fc7 - cleanup. 2000-12-12 15:36:03 +00:00
Sylvain Pion e51007cf4d - typedefs. 2000-12-12 15:18:29 +00:00
Sylvain Pion 2f95144fb1 - New typedefs. 2000-12-12 15:16:44 +00:00
Sylvain Pion 0b4a70b19c - locate() improvements. 2000-12-12 15:08:00 +00:00
Sylvain Pion 26da1b5461 - rand_4() and rand_3() new random functions. 2000-12-12 14:57:12 +00:00
Sylvain Pion 95e407f3b2 - point() returns a const ref instead of a Point. Faster. 2000-12-12 13:22:57 +00:00
Sylvain Pion 251399a039 - Small optimization. 2000-12-08 16:38:55 +00:00
Sylvain Pion 54192706b9 - Use get_new_id(). 2000-12-07 15:33:42 +00:00
Sylvain Pion db399a9cec - minor optimization. 2000-12-06 13:33:17 +00:00
Sylvain Pion c5914f6bcf changed typedef of segment, triangle and tetrahedron 2000-12-06 12:31:31 +00:00
Sylvain Pion 15a2326798 changed typedefs of segment, triangle, tetrahedron 2000-12-06 12:30:08 +00:00
Sylvain Pion bbcc74e1a4 Changed typedef .. Point 2000-12-06 09:41:40 +00:00
Sylvain Pion a93d1e7fe5 Changed typedef .. Point 2000-12-06 09:30:44 +00:00
Sylvain Pion ea20b2de63 Removed unreachable code 2000-12-05 19:01:20 +00:00
Sylvain Pion bbed6ef62a - New file. 2000-12-05 14:00:45 +00:00
Sylvain Pion 346851926f - Support both simple cartesian kernels too. 2000-12-04 12:40:26 +00:00
Sylvain Pion 0c9abf8576 - GCC 2.96/2.97 issues : "or" is a key-word, and "class" is required for
friend.
2000-10-17 16:00:04 +00:00
Monique Teillaud 514812aa30 #include <CGAL/Cartesian.h>
added
2000-09-26 07:38:02 +00:00
Monique Teillaud 7fba8a90fb parameter dummy_for_windows added in the old versions of
Triangulation_3:: incident_vertices et al (kept for compatibility
with previous versions).
2000-08-07 15:26:23 +00:00
Monique Teillaud 3559537c8a change after * replaced by _handle in Triangulation_3::
incindet_vertices and incident_cells for aa vertex
2000-08-02 09:00:09 +00:00
Monique Teillaud 82f45b4fb9 - * replaced by _handle in incident_vertices and incindet_cells for a vertex
- is_edge and other similar methods implemented
- locate accepts an infinite cell for argument start
2000-08-02 08:59:07 +00:00
Monique Teillaud 21bb96c4bf typedef added for the Rep type 2000-08-02 08:56:15 +00:00
Monique Teillaud 1a6c8c556a small fixes in is_edge and analogous methods
(returns false if u==v)
2000-08-02 08:55:15 +00:00
Monique Teillaud 0c90a5bac7 fixes in typenames 2000-07-28 15:14:11 +00:00
Monique Teillaud 8dc913d790 *** empty log message *** 2000-07-17 14:22:09 +00:00
Monique Teillaud 760aa466f7 typenames corriges 2000-07-17 14:01:44 +00:00
Monique Teillaud a387f2c07a *** empty log message *** 2000-07-13 22:51:44 +00:00
Monique Teillaud bc20dabe01 added : are_equal and has_vertex for facets 2000-07-13 22:03:57 +00:00
Monique Teillaud ce2c54818c first version of remove 2000-07-13 22:01:59 +00:00
Monique Teillaud ed97df642a added :
are_equal and has_vertex for facets
test_dim_down
2000-07-13 22:00:44 +00:00
Monique Teillaud b93be115c4 argument added in error_neighbor 2000-07-13 21:59:10 +00:00
Monique Teillaud 2df510d67a CGAL_NTS added 2000-07-13 21:07:30 +00:00
Monique Teillaud 8b7ca88fc5 appel a rand_get_int supprime
remplace par indice aleatoire calcules par locate
2000-04-05 08:14:27 +00:00
Monique Teillaud 55218eeda1 bug fix (undefined variable n in assertion in read-cells 2000-02-21 09:54:00 +00:00
Monique Teillaud 4f87d22ce8 useless parameter removed in read_cell 2000-02-11 14:50:31 +00:00
Monique Teillaud 71602d2823 bug fix (useful variables declared in preconditions...) 2000-02-11 14:45:05 +00:00
Monique Teillaud ccfc340682 modifs Geert-Jan pour -pedantic 2000-02-04 13:47:03 +00:00
Monique Teillaud 3bee33627d changes for Borland
from Dima:
	friend declarations of operator>>
   	only work if this operator is declared before the friend declaration.
1999-12-02 14:58:20 +00:00
Monique Teillaud a8ca4bc542 changes for Borland
From Dima:
	2) two const_cast calls are needed in Triangulation_handles_3.h.
	(see the diff attached)
	--------------------------------------------------------------
	3) In the same file (see the diff attached), there is an ambiguety between
	Pointer<Triangulation_vertex_3<Gt,Tds> > and Pointer in
	the classes Triangulation_vertex_handle_3 and Triangulation_cell_handle_3
	that are both derived from Pointer<Triangulation_vertex_3<Gt,Tds> >
	(I suppose the derivation causes this problem).
	Renaming Pointer to something else helps.
	(of course, assuming that Pointer is used only locally; according to
	the compiler, it does.)
1999-12-02 14:46:11 +00:00
Monique Teillaud 2d27ba4a53 Function is_valid(cell) added in Delaunay (had been forgotten...) 1999-11-16 14:46:00 +00:00
Monique Teillaud adc5cfcef2 static const char tab_next_around_edge[4][4]; defined in src/Triangulation_3.C 1999-11-02 10:50:28 +00:00
Monique Teillaud 8f77bc72a8 a second class Triangulation_vertex_base_pointer_3
in Triangulation_vertex_base_3.h, it stores a point*
instead of a point

modifications in triangulation input stream to use the input stream of
vertex instead of the input of point. this is cleaner and necessary to
allow the use of both possible vertex_base
1999-10-29 15:00:39 +00:00
Monique Teillaud cc99b87ee0 *** empty log message *** 1999-10-28 13:48:36 +00:00
Monique Teillaud afb0722a59 enleve : additions de booleens supposant true==1 1999-10-28 11:11:21 +00:00
Monique Teillaud 8752565930 code "purify"-ed 1999-10-28 09:27:43 +00:00
Monique Teillaud 43456ab3b8 CGAL_CFG_NO_MEMBER_TEMPLATES vire
+ menage dans les arguments non utilises (is_valid, etc)
1999-10-25 12:54:36 +00:00
Monique Teillaud f1383d1ce4 menage dans typedefs (differents points) 1999-10-25 12:24:16 +00:00
Monique Teillaud 638bce852c *** empty log message *** 1999-10-25 07:18:49 +00:00
Monique Teillaud c6b65d5162 fix error H3 -> C3 1999-10-22 14:34:33 +00:00
Sylvain Pion 61b3d8546e - Put the array outside the function so that the function can be inlined.
- Changed it to an array of "char".
- Simplified the preconditions.
1999-10-22 14:33:15 +00:00
Sylvain Pion 273919bec7 - Don't name unused parameter to prevent useless warning. 1999-10-22 13:17:46 +00:00
Sylvain Pion 3bad83b265 - Use .x(), etc instead of .hx()... 1999-10-22 12:14:59 +00:00
Sylvain Pion bf9700f737 - Change Quotient to Homogeneous::FT. 1999-10-22 12:14:26 +00:00
Monique Teillaud 0824c62a61 nextposaround renamed to next_around_edge 1999-10-18 13:43:44 +00:00
Monique Teillaud 8a04c69ab1 short names (needed for MSVC) 1999-10-14 07:59:58 +00:00
Monique Teillaud 9096576196 short names re-added for MSVC 1999-10-14 07:25:04 +00:00
Monique Teillaud 3b38c01f8e mirror 1999-10-13 13:10:09 +00:00
Monique Teillaud 52dd5bf797 flips added 1999-10-13 12:51:43 +00:00
Monique Teillaud 930eb8bdea details + preconditions in delete_cell 1999-10-13 12:48:04 +00:00
Monique Teillaud 79db490fb8 is_edge(c,i,j) & is_facet(c,i) added 1999-10-13 09:08:21 +00:00
Monique Teillaud b6bca5bba3 flips added 1999-10-13 08:44:35 +00:00
Monique Teillaud c6ea03c4c1 arguments of is_valid cleaned 1999-10-13 08:43:58 +00:00
Monique Teillaud 10e1fe3b4e mirror added
%4 replaced by &3
1999-10-13 08:43:13 +00:00
Monique Teillaud a1cbc2f55d unsigned int removed 1999-10-05 10:39:25 +00:00
Monique Teillaud 2657fd61f4 problem with "cast" ds_cell -> Cell_handle in Facet_circulator
solved
1999-10-04 14:22:55 +00:00
Monique Teillaud 75e35de614 friend declarations added for operator>>
less typedefs
1999-09-28 09:12:03 +00:00
Monique Teillaud 90ae08518b added : friend std::istream& operator >> 1999-09-27 09:19:19 +00:00
Monique Teillaud 3692f4db35 changing typedefs for Vertex_ and Cell_ handle 1999-09-24 12:18:21 +00:00
Monique Teillaud a49841078e *** empty log message *** 1999-09-23 08:22:49 +00:00
Monique Teillaud af49619c11 Facet_circulator added 1999-09-23 08:20:28 +00:00
Monique Teillaud 5429079271 cleaning 1999-09-22 15:09:27 +00:00
Monique Teillaud a7c2244d59 Facet iterators implemented 1999-09-22 13:39:48 +00:00
Monique Teillaud f620832336 just to try for mips :
operator>> replaced by operator >>
...
1999-09-22 13:38:56 +00:00
Monique Teillaud 2bf47b9f13 added : circulators around edge defined by cell,int,int
internal representation of circulators modified
1999-09-21 09:37:41 +00:00
Monique Teillaud 6a6555d8ab std::make_pair 1999-09-17 11:17:31 +00:00
Monique Teillaud 7b407b19b5 trying flag CGAL_TYPENAME_MSVC_NULL 1999-09-17 08:18:45 +00:00
Monique Teillaud d1e2f14971 discovered an illegal comparison between points (not using the traits class)
in Triangulation_3
problem with typenames in  Regular_triangulation_euclidean_traits_3
equal(p,q) changed in Triangulation_geom_traits_3.h
1999-09-16 13:09:06 +00:00
Monique Teillaud 0ba8ca03b7 a few more typenames in Regular triangulation
a few more std:: in the test suite
1999-09-15 08:27:10 +00:00
Monique Teillaud 39619346fe minor fixes 1999-09-13 12:38:22 +00:00
Monique Teillaud c4c93a5026 fixes (std::, typename, etc) 1999-09-08 09:34:35 +00:00
Monique Teillaud 309042e236 changes in Dagstuhl for MSVC++
- small details (std missing for less,...)
- power_test in Regular_triangulation_euclidean_traits_3.h reorganized
- iterator_base removed in Triangulation_ds_iterators_3.h
1999-09-01 14:35:29 +00:00
Monique Teillaud aae37fe3e0 minor modifications to compile with SunOS-5.6_g++-2.95._LEDA 1999-08-23 11:53:53 +00:00
Monique Teillaud 2c61635025 precondition ( ! CGAL::collinear(p,q,r) ) added in side_of_oriented_circle 1999-08-02 11:22:43 +00:00
Monique Teillaud 6308c36b7a side_of_sphere renamed into side_of_power_sphere 1999-08-02 11:21:15 +00:00
Monique Teillaud d712cba604 side_of_power_edge renamed as side_of_power_segment 1999-07-27 14:08:13 +00:00
Monique Teillaud 8ce47737c4 sign - for 3d case added as in ftC3 1999-07-22 14:07:57 +00:00
Monique Teillaud 2604844d54 cleaning 1999-07-22 13:41:33 +00:00
Monique Teillaud 49e48f3245 dimension 1 allowed 1999-07-22 13:41:25 +00:00
Monique Teillaud 16cf96a57a small change in the comment of locate() 1999-07-22 13:40:55 +00:00
Sylvain Pion 1aef836a68 - The 2 last predicates use the cartesian version using Quotient<>. 1999-07-21 14:52:05 +00:00
Monique Teillaud 80d3faa43a case of degenerate dimension == 2 added 1999-07-21 12:46:43 +00:00
Monique Teillaud 9ad9b69b61 nothing 1999-07-21 12:45:48 +00:00
Monique Teillaud 2fe3842d5a comments added 1999-07-21 12:45:14 +00:00
Monique Teillaud c1959465eb INITIAL VERSION !
only for a triangulation where the first four points give a triangulation
with dimension 3
seems to work...
1999-07-19 14:59:52 +00:00
Monique Teillaud c47f523125 sign change in power_testC3(p,q,r,s,t) so that it is consistent with
in_sphere when all weights are equal

Regular_triangulation_rtH3.h :
*** temporary version
power_testH3(p,q,r,t) (coplanar points) not programmed
file modified so that it is possible to compile however
1999-07-19 14:58:20 +00:00
Monique Teillaud 1409a7c706 cleaning 1999-07-19 14:53:59 +00:00
Monique Teillaud 532b3eb167 cleaning +
bug fix in Triangulation_3::side_of_edge (infinite edge)
1999-07-16 11:54:23 +00:00
Monique Teillaud a59d28440c The constructors of the cells do not insert the cell in the
triangulation any more. Instead the triangulation has functions
to add cells.
1999-07-13 12:37:45 +00:00
Monique Teillaud ff798de847 cleaning... 1999-07-12 14:22:29 +00:00
Monique Teillaud 92ed3df4db *** empty log message *** 1999-06-30 08:31:45 +00:00
Monique Teillaud 171afd2070 methods defined outside classes to compile with -O2 1999-06-30 07:31:47 +00:00
Sylvain Pion efa15cc0d2 - Removed useless comments. 1999-06-29 17:20:28 +00:00
Sylvain Pion feaacf2d64 - Forgot CGAL_BEGIN_NAMESPACE and CGAL_END_NAMESPACE. 1999-06-29 17:14:37 +00:00
Sylvain Pion 895a9a6d42 - Regular_triangulation_geom_traits_3.h renamed
Regular_triangulation_euclidean_traits_3.h for consistence with
  Triangulation_2.
- Changed to use the new predicate files.
1999-06-29 17:00:48 +00:00
Sylvain Pion 19d72e135b - New predicate files for the power_test functions. 1999-06-29 16:59:46 +00:00
Sylvain Pion e17a7a7f71 - Removed, replaced by the files:
predicates/Regular_triangulation_ftC3.h
  predicates/Regular_triangulation_rtH3.h
1999-06-29 16:59:24 +00:00
Sylvain Pion fe0b37633b - Replaced by Weighted_point.h, provided by the Triangulation_2 package. 1999-06-29 16:58:30 +00:00
Sylvain Pion b8eb89405f - Namespace CGAL.
- std:: missing.
- Removed useless typedefs already herited via the derivation.
- Small cleanup.
- Added a CGAL header.
1999-06-29 16:54:21 +00:00
Monique Teillaud 345f079bc7 missing std:: for list
bug fix in clear() (while instead of do while)
1999-06-24 12:00:31 +00:00
Monique Teillaud a22deaf4ff Bugs fixed in
~Triangulation_3()
	operator=
	copy_triangulation
Too much cleaning...
1999-06-24 11:59:33 +00:00
Monique Teillaud ab770d4eb7 shortening lines > 80 characters... 1999-06-23 13:28:51 +00:00
Monique Teillaud 9317b674d0 *** empty log message *** 1999-06-23 10:11:31 +00:00
Monique Teillaud 5b41b37dac insert_outside_affine_hull in tds --> insert_increase_dimension 1999-06-23 10:07:20 +00:00
Monique Teillaud 9b65769615 missing std:: added 1999-06-22 14:02:18 +00:00
Monique Teillaud d87d4e2a7d #include <CGAL/triangulation_assertions.h>
added
1999-06-21 15:22:21 +00:00
Monique Teillaud 72fec5cfa8 *** empty log message *** 1999-06-21 15:11:23 +00:00
Monique Teillaud e39d3af96f private members become protected
--> Delaunay not included, not friend class
1999-06-21 15:10:38 +00:00
Monique Teillaud 4292e92a16 short_names forgotten --> removed 1999-06-16 08:42:39 +00:00
Monique Teillaud 68a7e37c25 short_names forgotten... --> remove 1999-06-16 08:40:16 +00:00
Monique Teillaud 2a5458f8ab Removing #include ... short_names 1999-06-16 08:39:11 +00:00
Monique Teillaud 2a11a4189a #include <CGAL/Quotient.h> added 1999-05-11 13:44:43 +00:00
Monique Teillaud 54b87ff294 NAMESPACES first round 1999-05-10 14:20:44 +00:00
Monique Teillaud e493ddd2aa all indices become unsigned int 1999-05-07 13:24:40 +00:00
Monique Teillaud 113ebf8730 New copy constructor (not documented) in Triangulation_ds_cell_3.h
Only used by Triangulation_data_structure_3.h in copy_tds to copy cells
while keeping the possible additional information in the cell base
but adding it to the list of the new tds.

Takes as arguments : the tds, 4 vertices, and the old cell.

Similar modification in copy_tds to copy vertices but the standard
copy constructor is enough to achieve the goal (no list of vertices...).
1999-05-07 12:17:20 +00:00
Monique Teillaud bb3d0a0c56 access to points removed from error messages 1999-05-07 11:46:23 +00:00
Monique Teillaud 36479ac1be *** empty log message *** 1999-05-07 11:41:38 +00:00
Monique Teillaud 388166b068 typo 1999-05-07 11:41:26 +00:00
Monique Teillaud d87a8a877b constructor added, creation of a vertex with a cell but no point 1999-05-07 11:40:10 +00:00
Monique Teillaud 2083514c67 arguments of all insert_... functions modified
in Triangulation_data_structure_3.h:

in the TDS, insert(const Vertex & v) instead of insert(Vertex * v)
			new v done here now
in the Triangulation, the call to _tds.insert is different
			_tds.insert(Vertex(p))
			instead of v=new Vertex(p); _tds.insert(v)
			no new here now
1999-05-07 09:20:52 +00:00
Monique Teillaud c9e9e3051f Sophie 1999-04-30 12:58:56 +00:00
Monique Teillaud 67413c1dcf bug fix (bug in the new version of side_of_oriented_circle) 1999-03-09 15:07:42 +00:00
Monique Teillaud fa67adc36d code for 2d predicates shortened (with Sylvain's help) 1999-03-09 14:18:54 +00:00
Monique Teillaud cb8298887a IO modified so that there is no more duplicated code between
Triangulation_3 and Triangulation_data_structure_3
1999-03-08 15:14:36 +00:00
Monique Teillaud 7b436f519a IO : <<ostream >>istream
code duplicated between Triangulation and Triangulation_data_structure
needs to be modified to avoid duplication
1999-03-08 12:35:29 +00:00
Monique Teillaud 3a24aece26 bug fixes (g++) in constructors 1999-01-20 15:30:19 +00:00
Monique Teillaud 39ab358ddf warnings with egcs removed 1999-01-19 15:28:58 +00:00
Monique Teillaud fcdf35611a added missing typedefs 1999-01-19 15:28:09 +00:00
Monique Teillaud 77d367d76b cw and ccw modified : do not use arrays any longer 1999-01-19 15:27:43 +00:00
Monique Teillaud c318b9dec1 forgottten
template < class GT, class Tds>
class CGAL_Delaunay_triangulation_3;
1999-01-15 13:28:20 +00:00
Monique Teillaud 1b957ac78a #include <CGAL/Delaunay_triangulation_3.h>
because of friend class CGAL_Delaunay_triangulation_3
1999-01-15 11:08:44 +00:00
Monique Teillaud 9d92f187d2 tds() changed to _tds 1999-01-15 08:50:19 +00:00
Monique Teillaud 8ccd8e767f side_of_facet side_of_edge : useless arguments i,j removed 1999-01-15 08:49:19 +00:00
Monique Teillaud 766c546a0f const added to acces function tds() 1999-01-13 15:24:51 +00:00
Monique Teillaud 2e486074fb is_valid() added 1999-01-13 15:24:27 +00:00
Monique Teillaud 7aa467e456 Problem with cast between CGAL types
Added :
return ( (s == CGAL_ON_NEGATIVE_SIDE) ? CGAL_ON_UNBOUNDED_SIDE :
		 (s == CGAL_ON_POSITIVE_SIDE) ? CGAL_ON_BOUNDED_SIDE :
				 CGAL_ON_BOUNDARY );
Strange...
1999-01-13 13:10:03 +00:00
Monique Teillaud 966644f8b0 stupid bug in side_of_circle 1999-01-08 10:55:04 +00:00
Monique Teillaud b642962a94 stupid bugs in insert (wrong cell c in case outside_convex hull) 1999-01-08 10:54:35 +00:00
Monique Teillaud 03522afda2 ostream& operator<< and istream& operator>> 1999-01-07 16:39:10 +00:00
Monique Teillaud 2d2cbe5ca6 bug fix in location 1d 1999-01-07 13:57:03 +00:00
Monique Teillaud 74ec3844f2 bug fix in locate 3d, case EDGE 1999-01-07 09:25:48 +00:00
Monique Teillaud b62c001bc0 swap 1999-01-06 11:07:29 +00:00
Monique Teillaud b9840d4054 bug fix in side_of_facet (orientation_in_plane called with arguments
in wrong order)
1999-01-06 10:57:15 +00:00
Monique Teillaud e511fbef7d stupid bug in incident_vertices(v) fixed 1999-01-04 14:39:22 +00:00
Monique Teillaud 0014e3ca08 Derivation from CGAL_Triangulation_utils_3 1998-12-28 16:18:59 +00:00
Monique Teillaud 5fa814c632 big spring cleaning
+ functions added :
incident cells and adjacent vertices of a given vertex
test is_vertex(v)
etc
1998-12-28 15:22:13 +00:00
Monique Teillaud 94373c23b6 added : insert with starting cell 1998-12-14 14:27:30 +00:00
Monique Teillaud 1385d425aa end buf fix in localisation 1d 1998-12-10 13:52:44 +00:00
Monique Teillaud 0880d1fd6c bug fix in new location dim 1 1998-12-09 16:17:26 +00:00
Monique Teillaud 00c1b654f2 cleaning 1998-12-09 14:29:58 +00:00
Monique Teillaud 4e6ba14d76 iterators on vertices modified, work when there is no vertex 1998-12-04 17:01:59 +00:00
Monique Teillaud 21be092d5a *** empty log message *** 1998-12-04 16:37:51 +00:00
Monique Teillaud c502958be4 start cleaning with the doc... 1998-12-04 16:37:27 +00:00
Monique Teillaud 2dbe0352ed small bug fixes 1998-12-04 16:19:37 +00:00
Monique Teillaud 2ac9d7ac8f iterators allowed even when the dimension is inferior to the dimension
of the objets, in which case it returns past_end
1998-12-03 16:35:00 +00:00
Monique Teillaud 0340a5e785 preconditions on dimensions removed
Now for example cells_begin() is allowed even in dimension <3
but it returns the same as cells_end() in degenerate dimensions
The same holds for other iterators
1998-12-03 15:52:40 +00:00
Monique Teillaud 3c878159a1 cleaning
locate (brute force) -> locate_old
locate_quick (march) -> locate
new locate in any dimension (same as brute force for dimensions 0 and -1)
insert calls the new one
1998-12-03 15:00:37 +00:00
Monique Teillaud 4b141c25ce locate returns the (finite or not) cell containing the query
(before it returned a finite cell)
insert_outside_convex_hull modified consequently
1998-12-03 10:23:02 +00:00
Monique Teillaud 68ccccac62 locate by marching for d=2, first version 1998-12-02 14:28:18 +00:00
Monique Teillaud 2d9e27e7bd locate by marching, for d=3 only. First version 1998-12-02 13:49:15 +00:00
Monique Teillaud f164e87253 insert_in_facet (i&1) instead of i&1 1998-12-02 10:28:30 +00:00
Monique Teillaud 753422eb8c operator == for cells and vertices iterators modified to check
the bool _inf
1998-12-01 12:33:49 +00:00
Monique Teillaud 4fe4127ae2 *** empty log message *** 1998-12-01 12:33:00 +00:00
Monique Teillaud bf5354123d clear fixed 1998-12-01 09:08:02 +00:00
Monique Teillaud a5a1a5b6c6 swap fixed 1998-11-30 15:26:34 +00:00
Monique Teillaud c498039247 added incident_cells starting from a given cell 1998-11-30 10:29:45 +00:00
Monique Teillaud 80564c60fc added : include Triangulation_utils_3.h 1998-11-26 14:55:54 +00:00
Monique Teillaud c871c0de36 insert_in_edge traverses the cells around an edge in positive order
by using nextposaroundij
1998-11-26 14:54:55 +00:00
Monique Teillaud dd550b69e6 cell circulator traverses the cells around an edge in positive order
by using nextposaroundij
1998-11-26 14:54:19 +00:00
Monique Teillaud c275930259 typo 1998-11-26 12:27:41 +00:00
Monique Teillaud 47e2c602b8 *** empty log message *** 1998-11-26 10:11:22 +00:00
Monique Teillaud 4725ad02a9 *** empty log message *** 1998-11-26 09:36:47 +00:00
Monique Teillaud 179449b6f4 cell_circulator assignment 1998-11-26 09:30:08 +00:00
Monique Teillaud 341be6a87a default constructor of CGAL_Triangulation_ds_cell_circulator_3 1998-11-25 16:20:40 +00:00
Monique Teillaud 5657e1b6ad added Cell_circulator incident_cells 1998-11-25 15:51:02 +00:00
Monique Teillaud 3d455f634e bug fixes in Edge and Facet iterators 1998-11-25 13:28:37 +00:00
Monique Teillaud dca969665f bug fix : typo in Cell_circulator& operator--() 1998-11-25 13:27:59 +00:00
Monique Teillaud ce05692e52 clear() only deletes finite vertices but leaves the infinite one.
is_valid() checks that the infinite vertex exists
1998-11-24 13:05:53 +00:00
Monique Teillaud 0f3f56abdb *** empty log message *** 1998-11-24 12:44:28 +00:00
Monique Teillaud 78002e7178 precondition in orientation-in-plane added 1998-11-24 12:43:27 +00:00
François Rebufat ee95f0b733 Bug fixe operator = ! 1998-11-23 15:22:22 +00:00
Monique Teillaud e50be0a551 fixed bugs :
- extra-precondition in insert_in_edge in 1d removed
- stupid bug in private function link
1998-11-20 14:31:30 +00:00
Monique Teillaud f8d352a26c same bug fixed in operator= 1998-11-20 13:45:25 +00:00
Monique Teillaud 7b32665900 copy-tds modified to return the new vertex corresponding to
the vertex given as argument, if there is one
1998-11-20 13:29:55 +00:00
Monique Teillaud 427e26e6df fixed : bug in copy constructor with infinite vertex
CV: ----------------------------------------------------------------------
1998-11-20 13:28:27 +00:00
Monique Teillaud bb0d71bf75 added include set.h 1998-11-19 15:28:14 +00:00
Monique Teillaud 544245cf52 side_of_circle added 1998-11-10 14:25:13 +00:00
Monique Teillaud 09e5da19c8 create_star in 2d case added 1998-11-10 14:24:30 +00:00
Monique Teillaud ca85bd36c4 simplifications in side_of_facet 1998-11-10 14:23:42 +00:00
Monique Teillaud b091973d03 insertions done 1998-11-10 14:21:41 +00:00
Monique Teillaud ad464f9eb5 bug fixes 1998-11-06 15:54:03 +00:00
Monique Teillaud 20cec50ec0 Triangulation_data_structure_3.h : star_region added
Delaunay__triangulation_3.h : first version
						2D insertion to be done
Triangulation_* : bugs in renaming classes with _3 fixed
1998-11-06 13:12:59 +00:00
Monique Teillaud 6f4a33a582 *** empty log message *** 1998-11-03 14:49:27 +00:00
Monique Teillaud e6e61ba117 *** empty log message *** 1998-11-03 14:45:17 +00:00
Monique Teillaud 569f728b6e rename access function gt() -> geom_traits() 1998-11-03 14:03:45 +00:00
Monique Teillaud d9609d17e9 all names changed :
_3 everywhere
base_cell and base_vertex -> cell_base and vertex_base
1998-11-03 12:32:48 +00:00
Monique Teillaud f48f5d62d0 Essai. 1998-11-02 14:46:10 +00:00
Monique Teillaud 24669ffb7e Modif pipo. 1998-11-02 14:43:58 +00:00
Monique Teillaud 5ec1cfcb99 call to copy constructors for built-in types instead of default constructors
(g++ reported errors)
1998-11-02 13:52:26 +00:00
Monique Teillaud 5668d094d0 bug fix in insert_in_edge 1998-10-30 12:31:49 +00:00
Monique Teillaud 87a0592012 CGAL_debug(handles) 1998-10-30 10:06:02 +00:00
Monique Teillaud 49cab86975 bug fix 1998-10-30 10:05:23 +00:00
Monique Teillaud fc30c225b5 added : nextaroundij(i,j) 1998-10-30 10:04:52 +00:00
Monique Teillaud d45c3b0ee4 added : insert_outside_convex_hull 3D 1998-10-30 10:04:15 +00:00
Monique Teillaud e7fca4a709 *** empty log message *** 1998-10-28 13:15:34 +00:00
Monique Teillaud 309f0519ce first version. insert_outside_convex_hull 3d TBD 1998-10-28 13:09:39 +00:00
Monique Teillaud e3190c2128 first version 1998-09-25 08:34:55 +00:00
Monique Teillaud 214f944833 replace %4 by &3 1998-09-17 11:19:21 +00:00
Monique Teillaud dd135e5d98 edge_iterator added 1998-09-17 08:53:23 +00:00
Monique Teillaud c86b08b2ac cw and ccw modified : %3 replaced by table 1998-09-17 08:52:42 +00:00
Monique Teillaud 320b70f5fc edge_iterator
Euler checked by is_valid
remove bug in copy_tds
1998-09-17 08:51:30 +00:00
Monique Teillaud 76daf28038 First non empty version 1998-09-16 11:10:27 +00:00
Monique Teillaud e542da2df6 header. 1998-09-16 08:37:38 +00:00
Monique Teillaud 67b641b901 headers. 1998-09-16 08:37:24 +00:00
Monique Teillaud f1a2149c06 Headers added. 1998-09-15 14:07:12 +00:00
Monique Teillaud 3fe79a01c5 *** empty log message *** 1998-09-15 13:43:22 +00:00
Monique Teillaud 13748939ef insert_in_facet, insert_in_edge 1998-09-15 13:43:22 +00:00
Monique Teillaud 300b444248 debug is_valid 1998-09-15 13:43:22 +00:00
Monique Teillaud c5a844cc71 Initial revision 1998-09-15 13:43:22 +00:00
Monique Teillaud cdcd5c786f Initial revision 1998-09-02 09:21:54 +00:00