Commit Graph

162 Commits

Author SHA1 Message Date
Sylvain Pion 56692ce622 - New function insert(Point, Locate_type, Cell_handle, int, int). 2002-02-18 17:44:24 +00:00
Sylvain Pion 2839a380fe - Merge get_new_cell() in create_cell().
- Get rid of the asumption that handles have a default constructor that sets
  to NULL.
2002-02-04 15:36:12 +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 317b76d8fa - Conflict_tester classes made friend for SunPro. 2001-11-25 14:43:07 +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 fcda2d8b5b - Put the testers private. 2001-10-03 09:12:57 +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 ad71db665a - Treat more corner cases, smallest dimensions. 2001-09-28 18:07:56 +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 2e24db5b41 - Use the iterators defined in CGAL/iterator.h. 2001-09-27 08:58:29 +00:00
Sylvain Pion 42994a87ed - Move set_number_of_vertices() into create_vertex()/delete_vertex(). 2001-09-24 11:50:01 +00:00
Sylvain Pion 9a76e764c1 - Missing typename for SunPro. 2001-09-24 08:14:37 +00:00
Sylvain Pion 4f0bff9669 - Fix thinkos. 2001-09-20 15:57:32 +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 cef5ebc5fe - More consts in the Conflict_testers. 2001-09-18 18:28:02 +00:00
Sylvain Pion 9138993d59 - const correcteness in remove() and co.
- New function : bool coplanar(p, q, r, s);
2001-09-18 17:57:28 +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 9e24f5a7d1 - SunPro fixes. 2001-09-17 11:41:56 +00:00
Sylvain Pion 4bf48624b3 - Replace &* by ->handle(). 2001-09-13 17:14:03 +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 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 fdad40eb7f - insert_conflict() now increases the number of vertices. 2001-09-03 16:21:26 +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 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 744fed8117 - Removes instantiations of handle2pointer().
- Mark test_dim_down() const, and optimize it a bit by avoiding point copies.
2001-08-28 14:31:40 +00:00
Sylvain Pion 9a3a39bc2e - number_of_cells() can use the one if the TDS which is faster. 2001-08-27 17:19:01 +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 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
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 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
Sylvain Pion 0fcb2d8854 - Small cleanups for order_of_creation. 2001-07-13 08:11:56 +00:00
Sylvain Pion e559e0bd02 - New functions : TDS.create_vertex() and TDS.delete_vertex(). 2001-07-09 19:16:59 +00:00
Monique Teillaud eafd7146a0 cleanup 2001-07-05 09:46:25 +00:00
Monique Teillaud 03f147798b in: std::ostream & operator<<
vertices are now output in the order of their creation
This is done to have no problem while removing vertices
in a Delaunay triangulation read from a file
2001-07-05 09:38:03 +00:00
Sylvain Pion 43beb5f9ce Remove add_cell 2001-07-03 09:44:23 +00:00
Monique Teillaud 3af7ca32ad print_cells and read_cells member functions of the tds 2001-06-29 12:48:16 +00:00
Monique Teillaud 9fc7da46a6 cosmetic changes 2001-06-21 19:39:11 +00:00
Monique Teillaud 43b93b29f5 auteurs verifies et mis a jour, entetes uniformisees 2001-06-21 18:03:45 +00:00
Monique Teillaud eb0ac8bd89 _3 removed in the names of the contruction function objects 2001-06-21 13:30:30 +00:00
Monique Teillaud 5bd678a5a9 default template parameters 2001-06-18 20:52:12 +00:00
Sylvain Pion 311ba3db9a - Remove a "new Cell" in Triangulation_3.
- Privatize a few member functions of TDS.
2001-06-15 14:06:40 +00:00
Sylvain Pion 169c9e1399 - Add a warning when using deprecated functions. 2001-06-01 08:29:10 +00:00
Sylvain Pion 7cf39e572c - preconditions(is_vertex()) changed to expensive. 2001-06-01 08:14:16 +00:00