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