Sylvain Pion
68e80f75c3
- for-scope bug for VC++.
2001-09-06 10:06:45 +00:00
Sylvain Pion
70e971f34e
- New function TDS::delete_cells(begin, end).
2001-09-03 16:39:22 +00:00
Sylvain Pion
fdad40eb7f
- insert_conflict() now increases the number of vertices.
2001-09-03 16:21:26 +00:00
Sylvain Pion
0a18cf3b02
- Add delete_cells(begin, end).
...
- Add star_hole_[23]() versions deleting the old cells.
- Rewrite insert_in_edge() case dim==3 re-using code.
2001-09-03 16:19:01 +00:00
Sylvain Pion
a9b6ef4770
- Be more storage efficient, and general clean up.
2001-09-03 16:14:03 +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
2d9def425a
- Remove non default ctors.
...
- Various small modifications.
2001-08-31 12:44:28 +00:00
Sylvain Pion
44f2fd0d1b
- Remove obsolete comment.
2001-08-31 11:47:09 +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
1c72acd547
- conflict_flat only needs to be a char. int is too big.
2001-08-28 14:16:07 +00:00
Sylvain Pion
f584679a14
- Fix typo.
2001-08-28 14:15:34 +00:00
Sylvain Pion
6463443bea
- Use new placement operator instead of allocator.construct() to avoid the
...
creation/copy/destruction of a temporary.
2001-08-28 12:11:19 +00:00
Sylvain Pion
dcd22083b4
- Merge find_conflicts_2 and find_conflicts_3.
2001-08-27 17:24: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
062fa9702a
- Document the precondition is_vertex() to delete_vertex().
...
- Replace strange ds_cell constructor by the copy_constructor.
- Remove unused function init().
2001-08-17 17:30:31 +00:00
Sylvain Pion
ebbb8ccd74
- Some cleanups to allow an expensive check for is_free(), given that the
...
default one may answer true when it's not (for the unlucky only :).
2001-08-17 17:09:58 +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
72b0ccff1c
- Make Free_elt more compact so that it can fit in the same size as the
...
smallest possible vertex.
2001-08-17 16:29:42 +00:00
Sylvain Pion
4eece15fa4
- Change the default. 8192 seems to be enough.
2001-08-17 14:23:15 +00:00
Sylvain Pion
ac29c0c2ae
- Change conflict_flag to unsigned.
2001-08-17 13:12:36 +00:00
Sylvain Pion
225f1aa0e8
- Remove obsolete code. The conflict flag no longer interacts with the
...
iterator.
2001-08-17 12:57:14 +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
e9bb7f6985
- Use an anonymous union.
2001-08-16 12:26:54 +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
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
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
Sylvain Pion
a9d9307b0f
- Cleanup traits requirement : Construct_object_3.
2001-07-23 13:44:28 +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
df8a0961d6
- small cell list handling cleanup.
2001-07-20 12:06:29 +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
c1a779e871
- Fix mirror_vertex() and mirror_index().
2001-07-18 12:15:22 +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
0cb69ceece
- print_cells and read_cells small cleanup.
2001-07-10 19:26:05 +00:00
Sylvain Pion
e559e0bd02
- New functions : TDS.create_vertex() and TDS.delete_vertex().
2001-07-09 19:16:59 +00:00
Monique Teillaud
27e02c22c2
copy_tds modified to preserve the order_of_creation of vertices
2001-07-06 08:29:05 +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
6d7e27f0f6
- Add a init() method to the cell base.
2001-07-03 11:27:01 +00:00
Sylvain Pion
3e73d8fe2c
- _previous_cell and _next_cell are not set in the cell constructor and
...
destructor automatically, so we do it by hand now for the list members of
the TDS (via init_cell_list).
- add_cell made private.
2001-07-03 09:51:10 +00:00
Sylvain Pion
43beb5f9ce
Remove add_cell
2001-07-03 09:44:23 +00:00
Sylvain Pion
c9e2ee96af
- Use tds.create_cell() instead of new Cell + add_cell.
2001-07-03 09:43:57 +00:00