Commit Graph

353 Commits

Author SHA1 Message Date
Sylvain Pion d4929cfe47 - Geomview_stream output operator uses the new gv.draw_triangles() function. 2002-12-13 13:34:20 +00:00
Sylvain Pion eec04c2bf0 - Give non-const access to .tds(). 2002-12-10 15:42:16 +00:00
Sylvain Pion 8579e553ce - Delaunay perturbation order is now lexicographic, nor insertion order. 2002-12-10 13:49:05 +00:00
Sylvain Pion aac0a9d37d - Move explicit instantiation in test_delaunay_3 after main() to please MipsPro. 2002-11-27 15:25:07 +00:00
Sylvain Pion 1015fc9446 - 2002-10-21 17:01:52 +00:00
Sylvain Pion 5104813a52 - Shorten some mangled name to please some platforms. 2002-10-12 13:36:52 +00:00
Sylvain Pion 79e89145bd commit 2002-10-09 16:13:18 +00:00
Sylvain Pion 96b438b9e7 - Fix MipsPro failures. 2002-10-09 10:11:26 +00:00
Sylvain Pion 80e000be24 - Remove _number_of_vertices, since DS_Container now counts. 2002-10-09 10:05:48 +00:00
Sylvain Pion 3e9980f599 - undocument set_number_of_vertices(), and deprecate it. 2002-09-26 13:14:50 +00:00
Sylvain Pion a2fd97aeb7 - Valgrind noticed that copy_tds() touched pointers of index > dimension(). 2002-09-04 04:23:39 +00:00
Sylvain Pion f79df941c1 *** empty log message *** 2002-08-30 17:06:27 +00:00
Mariette Yvinec 52bf08c33c submission of Version 1.117 2002-08-27 17:15:11 +00:00
Mariette Yvinec 1582527ea1 ok 2002-08-27 06:40:46 +00:00
Monique Teillaud f348a1f777 5 aug 2002-08-05 11:54:30 +00:00
Sylvain Pion f88efc8a30 - Explicit instantiation of the big classes in the test-suite. 2002-05-29 13:11:16 +00:00
Sylvain Pion 6045532ac4 - Remove deprecated functions incident_vertices() and indicent_cells()
taking std::set & as argument.
2002-05-29 13:04:08 +00:00
Sylvain Pion 7f8a81e811 - Remove src/Triangulation_3.C. 2002-05-29 12:40:50 +00:00
Monique Teillaud a45e3dfcdd *** empty log message *** 2002-05-29 11:57:04 +00:00
Monique Teillaud 6924e5bbf3 *** empty log message *** 2002-05-29 07:35:58 +00:00
Sylvain Pion 78cd266d01 - Replace max2 by maxless. 2002-05-27 11:46:33 +00:00
Monique Teillaud 7b71e25b94 use of Lazy_exact_nt in demo_voronoi 2002-05-15 12:00:13 +00:00
Monique Teillaud cc9aa3155f doc 2002-05-15 11:12:03 +00:00
Monique Teillaud 0ff70f4847 bug fix in deprecated version of incident_vertices() 2002-05-07 13:04:08 +00:00
Sylvain Pion 0202c4769f - Split insert_conflict() in insert_conflict_2() and insert_conflict_3(). 2002-04-12 22:39:42 +00:00
Sylvain Pion b9a6d12ad8 - Fix link problem in DS_Container. 2002-04-12 05:08:15 +00:00
Monique Teillaud b2cfcd1993 method Triangulation_3<GT,Tds>::triangle returns a triangle oriented
towards the outside of the cell c for facet (c,i)
2002-04-10 07:27:04 +00:00
Monique Teillaud 36115c9366 *** empty log message *** 2002-04-09 09:02:10 +00:00
Sylvain Pion deda782b81 - SunPro can't eat the automatic conversion iterator -> handle in some cases,
so fix example_color.C.
2002-04-08 19:50:56 +00:00
Monique Teillaud d96c43e1b2 - Cell.init(0 is obsolete. 2002-03-22 13:30:39 +00:00
Monique Teillaud aca7bb18c9 - Iterators and circulators are convertible to handles. 2002-03-22 12:10:57 +00:00
Monique Teillaud 288d2112a8 *** empty log message *** 2002-03-08 09:09:38 +00:00
Sylvain Pion e8144684af - Updates for DS_Container. 2002-03-01 09:56:26 +00:00
Sylvain Pion 8f741e347e *** empty log message *** 2002-02-18 18:28:44 +00:00
Sylvain Pion d20d676a54 - Add a copy of DS_Container that preserves the iterator order. 2002-02-18 18:14:39 +00:00
Sylvain Pion 56692ce622 - New function insert(Point, Locate_type, Cell_handle, int, int). 2002-02-18 17:44:24 +00:00
Sylvain Pion 25de74bd2f - Shorten DS_Container::Free_elt so that TDS_2 can use it. 2002-02-14 10:18:21 +00:00
Sylvain Pion d7d92e1e44 - Various internal cleanups. 2002-02-05 10:35:20 +00:00
Sylvain Pion daa9562773 - Update wrt recent changes in the kernel and TDS_2. 2002-01-25 10:53:47 +00:00
Sylvain Pion d273a1efb8 - Use STL_extension's Triple and Quadruple. 2002-01-22 09:59:38 +00:00
Sylvain Pion 401c70ad69 - Doc : update Tds_3 => TriangulationDataStructure_3. 2002-01-16 10:03:25 +00:00
Sylvain Pion f543ea7886 *** empty log message *** 2002-01-14 18:37:51 +00:00
Sylvain Pion 70d1402abc - Use STL_extensions' Filter_iterator<> instead of
Triangulation_finite_iterators_3<>.
2002-01-14 18:19:59 +00:00
Sylvain Pion a2e9d1fc6c - remove_from_simplex() renamed to remove_from_maximal_dimension_simplex().
- star_hole() renamed to insert_in_hole().
- various doc updates.
2002-01-14 15:32:54 +00:00
Sylvain Pion 4e4a2e49f0 - doc updates. 2002-01-10 10:24:16 +00:00
Sylvain Pion 6086978dbf - Missing typenames for GCC 3.1. 2001-12-17 17:01:13 +00:00
Sylvain Pion 59a065849d - VC++ doesn't like NULL as default argument. 2001-12-12 17:03:06 +00:00
Sylvain Pion ae8c244ec1 - Use MP_Float instead of Gmpz (GMP 4.0 produces warnings with SunPro...). 2001-12-12 15:39:35 +00:00
Sylvain Pion 317b76d8fa - Conflict_tester classes made friend for SunPro. 2001-11-25 14:43:07 +00:00
Sylvain Pion 33025bca91 - Fix example_tds.C. 2001-10-31 08:50:06 +00:00
Sylvain Pion 30cc513a0b - TDS::insert*() doesn't support the first Vertex_handle superfluous argument.
- Document this change, as well as remove_decrease_dimension(),
  remove_from_simplex(), reorient().
2001-10-26 09:45:31 +00:00
Sylvain Pion d22bd4aed5 *** empty log message *** 2001-10-05 14:04:38 +00:00
Sylvain Pion 85ababf8b0 - Proper remove_2D() implementation based on code from Delaunay_2. 2001-10-02 08:53:08 +00:00
Sylvain Pion c5bc679281 - Natural_neighbors_3 friend of Delaunay_3. 2001-10-01 17:26:13 +00:00
Sylvain Pion 49dc2e3d88 - TDS::Edge/Facet iterators now support operator->().
- T_3::Vertex_iterator -> All_vertices_iterator and similar.
- Point_iterator.
2001-10-01 11:47:42 +00:00
Sylvain Pion ac6d917882 - degree() returns int instead of unsigned.
- New functions : _reorient(), remove_decrease_dimension(),
  remove_from_simplex().
- Some functions work better in more dimensions : test_dim_down(),
  incident_vertices().
2001-09-28 12:48:46 +00:00
Sylvain Pion 07beca8227 - New function degree(v). 2001-09-27 16:06:12 +00:00
Sylvain Pion 947ead5255 *** empty log message *** 2001-09-27 14:24:16 +00:00
Sylvain Pion b80c618977 - BCC doesn't have a working std::unique_copy, so change incident_vertices(). 2001-09-27 11:15:23 +00:00
Sylvain Pion 44a5ece648 - New function TDS::create_face() to prepare for the merge TDS_2/TDS_3. 2001-09-27 10:18:15 +00:00
Sylvain Pion d226e26a4c *** empty log message *** 2001-09-25 08:20:04 +00:00
Sylvain Pion 9fbc50aeb9 - doc updates. 2001-09-21 08:35:10 +00:00
Sylvain Pion 17ca14364e *** empty log message *** 2001-09-20 10:38:10 +00:00
Sylvain Pion 3b79035c4d - Adds is_edge(Vertex_handle u, Vertex_handle v) in TDS.
- Adds incident_cells() and incident_vertices() templated by output iterators.
- various improvements.
2001-09-20 10:37:25 +00:00
Sylvain Pion e3e3528f21 - New function find_conflicts(Point, Cell_handle, bfit, cit, ifit) in
Delaunay.
- New star_hole(Vertex_handle, cell_begin, cell_end, Cell_handle, int) in TDS.
- New Get_one_output_iterator.
- create_star_[23] are back ans faster.
2001-09-20 10:26:53 +00:00
Sylvain Pion ca4993d30f *** empty log message *** 2001-09-18 13:34:49 +00:00
Sylvain Pion 26f53db953 - Finite_vertex_iterator -> Finite_vertices_iterator, idem for cell, facet and
edge.
2001-09-17 16:58:32 +00:00
Sylvain Pion 54f2346956 *** empty log message *** 2001-09-17 12:38:40 +00:00
Sylvain Pion 59b95be3ca - VC++ fixes. 2001-09-17 12:38:05 +00:00
Sylvain Pion 9e24f5a7d1 - SunPro fixes. 2001-09-17 11:41:56 +00:00
Sylvain Pion 28f7114c42 - Compare_distance_3 is now required by Delaunay (moved from Hierarchy).
- Compare_[xyz]_3 and Equal_3 are replaced by Compare_xyz_3.
2001-09-13 16:35:49 +00:00
Sylvain Pion d681ef0a60 - New internal function in Delaunay : nearest_vertex_in_cell(). 2001-09-12 16:36:58 +00:00
Sylvain Pion 87a160c8b6 - Use Pointer<> directly, no need for Triangulation_*_handle_3<>. 2001-09-11 15:45:51 +00:00
Sylvain Pion 3604ead511 *** empty log message *** 2001-09-11 14:24:27 +00:00
Sylvain Pion 3a879d286c - Split *_iterators into Finite_*_iterators. 2001-09-07 19:06:33 +00:00
Sylvain Pion dad4705287 - TDS functions now use handles instead of pointers.
- Triangulation::Vertex == TDS::Vertex.  Idem for Cell.
- Handles can't be constructed from iterators/circulators : &* is needed.
- More simplifications.
2001-09-07 15:53:31 +00:00
Sylvain Pion 70e971f34e - New function TDS::delete_cells(begin, end). 2001-09-03 16:39:22 +00:00
Sylvain Pion 18e7f467cd - Internal classes now templated either by Tds or Tr so they are more easily
reusable.
2001-08-31 17:45:50 +00:00
Sylvain Pion dfeb59e321 - Remove deprecated code. 2001-08-31 14:40:30 +00:00
Sylvain Pion 5b626d34c5 *** empty log message *** 2001-08-31 13:36:14 +00:00
Sylvain Pion eabf1e5d2b *** empty log message *** 2001-08-31 13:09:21 +00:00
Sylvain Pion 84cc95f90a - Move find_conflict() and insert_conflict() from the TDS to Triangulation.
- Rewrite TDS::create_star to TDS::star_hole_[23].
- New TDS internal functions change_orientation(Cell *) and
  set_adjacency(Cell *a, Cell *b, int a, int b).
2001-08-31 13:00:20 +00:00
Sylvain Pion 79543399cc *** empty log message *** 2001-08-27 14:29:27 +00:00
Sylvain Pion 53f21ca3f1 - Use DS_Container<Vertex> to store the vertices.
- Remove Triangulation_ds_vertex_iterator.
2001-08-17 16:31:16 +00:00
Sylvain Pion e136d73779 - DS_Container uses an allocator.
- list_pointers moved out of ds_cell, and moved to a Free_elt class,
  placeholder for a free cell.
2001-08-17 12:48:45 +00:00
Sylvain Pion d4d9576e12 - New function Triangulation_3<>::collinear_position() which is a cleaner
replacement of all calls to compare_[xyz].
2001-08-14 16:42:12 +00:00
Sylvain Pion dabd538f51 - Circulators don't store a TDS* anymore as it's not used.
- ds_cell_iterator removed, replaced by DS_Container::iterator.
- other ds_iterators use the one above internally, also don't derive from
  Triangulation_utils_3.
- const correctness fixes.
2001-08-14 13:01:46 +00:00
Sylvain Pion d264245525 - Remove list pointer from ds_cell, to make it more compact. 2001-08-14 12:43:04 +00:00
Sylvain Pion 78cf8c8ea6 - TDS uses DS_Container. 2001-08-14 12:39:21 +00:00
Sylvain Pion fba31a1039 - New cell container. 2001-08-14 12:26:57 +00:00
Sylvain Pion 35f95ab690 - Test iterators/circulators for Delaunay too. 2001-08-13 15:27:01 +00:00
Sylvain Pion 3ed5ceecfe - Commonize code between operator=() and copy_triangulation() in
Triangulation_3.h.
- Remove useless template arguments in the copy ctor.
2001-08-13 15:19:40 +00:00
Sylvain Pion 07ffc6e11e - Use std::swap instead of temporary variables in swap(). 2001-08-13 14:32:22 +00:00
Susan Hert 995ad96c65 *** empty log message *** 2001-08-03 17:04:14 +00:00
Susan Hert c7723bde76 *** empty log message *** 2001-08-01 13:30:12 +00:00
Susan Hert 774e5eb4ad *** empty log message *** 2001-08-01 13:18:15 +00:00
Susan Hert 32a4fdefd5 moved doc_tex/basic/*_ref directories up one level 2001-08-01 12:15:22 +00:00
Sylvain Pion 02cd2e8de9 - ds_cell doesn't derive from Triangulation_util_3 anymore, as this wasted
memory for nothing with GCC 2.95.
2001-07-31 09:04:53 +00:00
Susan Hert 9c87d3581c *** empty log message *** 2001-07-27 17:08:01 +00:00
Sylvain Pion ca02dbbd21 - Short names in the examples for VC++. 2001-07-25 11:43:48 +00:00
Monique Teillaud 11949f7c9a *** empty log message *** 2001-07-23 14:29:36 +00:00
Monique Teillaud e9c4652c83 *** empty log message *** 2001-07-23 14:28:52 +00:00
Sylvain Pion 5467138961 *** empty log message *** 2001-07-20 12:15:22 +00:00
Sylvain Pion e39c99682f - Don't put the traits' function objects as data members of the
triangulations.
2001-07-20 12:07:41 +00:00
Sylvain Pion fcd2c8bd9e - Make demos and examples use Filtered_kernel. 2001-07-19 14:31:20 +00:00
Sylvain Pion 899e679c2f *** empty log message *** 2001-07-18 15:29:02 +00:00
Sylvain Pion a74f95fdb9 - Replace Coplanar_orientation_3 taking 4 points, by the one taking 3 points.
- Remove Collinear_3 from the traits.
2001-07-18 14:21:26 +00:00
Monique Teillaud 98b26a13e9 deux mots dans doc sur perte de la hierarchie dans I/O et interet
de melanger les entrees pour hierarchie
2001-07-18 13:38:38 +00:00
Sylvain Pion c1a779e871 - Fix mirror_vertex() and mirror_index(). 2001-07-18 12:15:22 +00:00
Sylvain Pion 6ea95045f7 - Remove constructors for vertices in the doc. 2001-07-17 15:00:54 +00:00
Sylvain Pion fc2743a767 - Fix return type of Compare_distance_3 in the HierarchyTraits_3 doc. 2001-07-13 16:37:55 +00:00
Sylvain Pion a0fa2007f7 - replace delete Cell by delete_cell() in Regular. 2001-07-13 10:07:51 +00:00
Sylvain Pion e758218d3a - copy_tds() cleanups. 2001-07-13 09:36:49 +00:00
Sylvain Pion 0fcb2d8854 - Small cleanups for order_of_creation. 2001-07-13 08:11:56 +00:00
Sylvain Pion b70d6f3825 - With VC++, MP_Float.h must be included before Filtered_exact.h. 2001-07-11 09:59:15 +00:00
Sylvain Pion 0cb69ceece - print_cells and read_cells small cleanup. 2001-07-10 19:26:05 +00:00
Sylvain Pion cd791916a0 *** empty log message *** 2001-07-10 13:31:44 +00:00
Sylvain Pion e559e0bd02 - New functions : TDS.create_vertex() and TDS.delete_vertex(). 2001-07-09 19:16:59 +00:00
Monique Teillaud 178390a776 *** empty log message *** 2001-07-06 09:42:05 +00:00
Monique Teillaud 68cb42b91b *** empty log message *** 2001-07-06 08:30:37 +00:00
Monique Teillaud 8f9c766045 *** empty log message *** 2001-07-05 09:47:13 +00:00
Monique Teillaud f293cb317d *** empty log message *** 2001-07-04 11:23:36 +00:00
Sylvain Pion dfd680632c - VC++ needs some macros for Filtered_exact. 2001-07-04 09:29:57 +00:00
Sylvain Pion 921bbab3de - Use Filtered_exact<MP_Float> in the demo/examples. 2001-07-03 11:51:03 +00:00
Sylvain Pion 234e022d0e *** empty log message *** 2001-07-03 11:30:39 +00:00
Sylvain Pion 6d7e27f0f6 - Add a init() method to the cell base. 2001-07-03 11:27:01 +00:00
Sylvain Pion ad53173718 *** empty log message *** 2001-07-03 09:54:00 +00:00
Monique Teillaud 92d48ef9b3 *** empty log message *** 2001-07-02 09:39:59 +00:00
Monique Teillaud 8db49f7b00 *** empty log message *** 2001-06-29 12:50:21 +00:00
Monique Teillaud 50912041e8 *** empty log message *** 2001-06-28 13:22:55 +00:00
Monique Teillaud 992b91aa64 *** empty log message *** 2001-06-25 13:40:03 +00:00
Monique Teillaud d98b20c49d *** empty log message *** 2001-06-25 13:06:13 +00:00
Monique Teillaud f3ec14596a bug fix after test on sparc_SunOS-5.6_g++-2.95.2_LEDA -pedantic 2001-06-22 08:22:33 +00:00
Monique Teillaud d99e68c3d5 *** empty log message *** 2001-06-21 15:14:00 +00:00
Monique Teillaud c390bbec7d *** empty log message *** 2001-06-20 19:14:21 +00:00
Sylvain Pion ef68cb8fcc - Simplify TDS test program to use an empty traits. 2001-06-20 15:54:41 +00:00
Monique Teillaud f4b1994e72 incorporation of new examples 2001-06-20 12:34:46 +00:00
Monique Teillaud 5133f08e67 *** empty log message *** 2001-06-20 09:27:29 +00:00
Sylvain Pion 0ea36249a4 *** empty log message *** 2001-06-19 15:07:17 +00:00
Monique Teillaud efc0e3c03a *** empty log message *** 2001-06-19 12:30:20 +00:00
Monique Teillaud 2cd9e6c00a *** empty log message *** 2001-06-19 08:14:08 +00:00
Monique Teillaud 73f94cef8d *** empty log message *** 2001-06-19 08:03:06 +00:00
Monique Teillaud 70d9dcc271 *** empty log message *** 2001-06-19 08:02:04 +00:00
Sylvain Pion 1022c82696 *** empty log message *** 2001-06-15 14:09:24 +00:00
Sylvain Pion ea2036fef7 - Bump. 2001-06-14 14:06:54 +00:00
Sylvain Pion 96be8401b1 *** empty log message *** 2001-06-14 09:37:49 +00:00
Sylvain Pion 929360a714 - Change prototype of tds::clear_cells_only() to avoid unnecessary vector
copy.
2001-06-13 13:59:25 +00:00
Sylvain Pion f2e125d2ef - Test-suite. 2001-06-13 13:38:44 +00:00
Sylvain Pion 5f947ebea9 - Cleanup vertex_3 and cell_3.
- Move #include <...short_names> before all the others.
2001-06-07 16:54:21 +00:00
Sylvain Pion b1a71bb0ab - Add missing typename for MipsPro. 2001-06-05 07:36:50 +00:00