Commit Graph

337 Commits

Author SHA1 Message Date
Mariette Yvinec c8dddb9f03 major change in Triangulation package :
-suppression of Triangulation_face_2 and Triangulation_vertex_2 classes
   the TDS and Triangulation now have the same faces and vertices
   defined in TDS class
   as well as Face_handle and Vertex_handle
  -supression of Triangulation_default_data_structure_2
   and Triangulation_data_structure_using_list_2. There is now only
   one Triangulation_data_structure_2 (which for the moment is still
   using list).
2002-01-21 13:12:40 +00:00
Mariette Yvinec 2fbb50d2d9 overload of star_hole in Constrained_triangulation_2.h
to restore constraint status
2002-01-14 17:17:51 +00:00
Mariette Yvinec eb9ba70cf8 fixed a bug in star_hole() 2002-01-09 13:14:20 +00:00
Mariette Yvinec e4cabb6d18 fixed test : _test_cls_const_Del_triangulation_2.C and
_test_cls_const_triang_plus_2.C
2002-01-08 13:40:49 +00:00
Mariette Yvinec d5ac383089 fixed test of Constrained_triangulation_plus_2 2002-01-08 10:02:16 +00:00
Mariette Yvinec b63a7e05c5 fixed the test of /Constrained_triangulation_plus_2.h
and Constraint_hierarchy_2.h
2002-01-08 09:50:49 +00:00
Mariette Yvinec d52e0b7f5b updates of TODO files 2001-09-14 07:33:25 +00:00
Mariette Yvinec 1a137787eb added queries for the constraints hierarchy in Constraint_hierarchy_2.h
and Constrained_triangulation_plus_2.h
added test for Constrained_triangulation_plus_
added a kiltered kernel test in _test_types.h
2001-09-13 08:51:36 +00:00
Mariette Yvinec 37897bd52e fixes file inpiut output in _test_cls_tds_2.C
so that it does not output non initialized points
2001-07-12 15:18:06 +00:00
Mariette Yvinec 84f24f8249 fixes in doc
changed Side_of_oriented_circle_2_3 in Triangulation_2_traits_3.h
2001-07-09 09:01:05 +00:00
Mariette Yvinec 98f20dce1f changed the names of conflicts function in Delaunay and
constrained Delaunay triangulations
2001-06-22 09:35:33 +00:00
Mariette Yvinec 63dc3306ac *** empty log message *** 2001-06-21 20:41:32 +00:00
Mariette Yvinec 8cfcbe5d94 add a test for the copy of constrained triangulations 2001-06-21 18:52:01 +00:00
Mariette Yvinec 7a5d96bb4d an attempt to test the copy of constrained triangulation 2001-06-21 09:47:14 +00:00
Mariette Yvinec 2fbdadbbba fixed include after change of package neme 2001-06-20 13:08:55 +00:00
Mariette Yvinec c172a4b7b7 changing include due to change of package name 2001-06-20 13:03:29 +00:00
Mariette Yvinec c2b0c229b1 fixed a few details to avoid bcc warning
(unused initial value fir index integer i, ii, in etc...
2001-06-20 12:02:40 +00:00
Mariette Yvinec 491cd0e41a changed find_conflicts to get_conflicts
to avoid VCC and BCC confusion with the
deprecated (non templated version) of find_conflicts

changed
  void insert(const Point & a, const Point & b);
to
  void insert(const Point a, const Point b);
in Constrained_Delaunay_triangulation_2.h.
The first one is confused by VCC and BCC with the templated insert
2001-06-20 09:32:55 +00:00
Mariette Yvinec 21b40ac195 added the default for the triangulation data structure template
parameter of Constrained, Delaunay_constrained and regular triangulations
2001-06-19 20:14:39 +00:00
Mariette Yvinec 0a8e140a2b submission of 4.99 2001-06-18 20:19:21 +00:00
Mariette Yvinec 10e7e0b039 fixed problems related to the change from Less_distance_to_point_2
to Compare_distance_2
added std:: in front of iterator_traits< >
2001-06-14 15:06:48 +00:00
Mariette Yvinec 8087e829e3 *** empty log message *** 2001-06-12 12:26:49 +00:00
Mariette Yvinec 0e6b2de0da submission of version 4.95 2001-06-11 17:00:48 +00:00
Mariette Yvinec 9289347406 added a declaration in Triangulation_iterators_2.h 2001-05-29 14:14:25 +00:00
Mariette Yvinec 27b4ae7231 fixed a bug in Line_face_circulator and extend the test suite 2001-05-29 13:25:45 +00:00
Mariette Yvinec 9485ed0706 modified find_conflicts in Delaunay_triangulation_2.h
to help resolution of overloaded fir bcc and VC++ compilers

add star_hole functions in Triangulation_data_structure_using_list_2.h
Triangulation_data_structure_using_list_2.h
Triangulation_2.h

add point iterators and corresponding test in Triangulation_2.h
_test_triangulation_iterators.C

cleaned up tests in test_triangulation_2.C
test_triangulation_2_bis.C


add test for star_hole in _test_cls_triangulation_2.C
_test_cls_triangulation_2.C _test_cls_triangulation_short_2.C
2001-05-21 08:51:35 +00:00
Mariette Yvinec 238e60295f added following functions
is_constrained(Edge e)
are_there_incident_constraints(Vertex_handle v)
are_there_incident_constraints(Vertex_handle v, OutputIterator out)
remove_incident_constraints(Vertex_handle v)
in Constrained_triangulation_2.h
remove_incident_constraints(Vertex_handle v)
remove_constraint (Vertex_handle va,Vertex_handle vb) in
Constrained_Delaunay_triangulation_2.h

added corresponding tests in _test_cls_constrained_triangulation_2.C
2001-05-15 07:37:36 +00:00
Mariette Yvinec 77b75548dc added std:: in front of back_inserter 2001-05-14 09:21:55 +00:00
Mariette Yvinec e127597ac6 Change the typedef
typedef Triangulation                      Cls;
typedef Triangulation                      Tri;

try to pleae KCC
2001-05-11 15:16:26 +00:00
Mariette Yvinec bf1324ccf7 test defaults template parameters 2001-05-07 17:25:23 +00:00
Mariette Yvinec ad6448d45a try to introduce Point iterators but drop it for now
Fixed the doc for new find_cinflicts and boundary_of_conflict zone
member function
2001-05-02 08:01:47 +00:00
Mariette Yvinec 674248c8d2 fixed the test of Constrained Delaunay triangulation 2001-04-30 14:30:44 +00:00
Mariette Yvinec e2f7c13bcd add a special file for testing constrained Delaunay triangulation
namely to test fond_conflicts operation
2001-04-30 14:29:50 +00:00
Mariette Yvinec c2e6de4240 fixed a bug in cw_permute() of Constrained_triangulation_face_base_2.h
fixed the test of constrained triangulation
2001-04-30 12:56:11 +00:00
Mariette Yvinec 14d338ada0 changed the find_cinlicts member functions 2001-04-27 09:25:04 +00:00
Mariette Yvinec 5b4dc0a86d *** empty log message *** 2001-04-17 13:03:24 +00:00
Mariette Yvinec f651d62035 - Fix warning in Triangulation_line_face_circulator_2.h
- added typename in _test_line_face_circulators
- no changes in _test_cls_delaunay_triangulation_2.C
2001-04-17 12:48:12 +00:00
Mariette Yvinec e6b1b2d9c5 comment the setting of CGAL_MAKEFILE 2001-03-14 08:08:44 +00:00
Mariette Yvinec c6d6c15bd4 suppressed extra "typename" 2001-03-13 13:57:08 +00:00
Sylvain Pion da5974ccdc - Missing typenames.
- Remove protect macros.
2001-03-05 09:38:12 +00:00
Mariette Yvinec 902b2e4c3f test for Line_face_circulator, line_walk and locate 2001-02-22 13:17:18 +00:00
Mariette Yvinec a8a14a2701 - make all the creator of Line_face_circulator coherent
- cleaned up Line_face_circulator and locate.
- fixed line_walk
- add test for Line_face_circulator and line_walk
2001-02-22 13:12:21 +00:00
Mariette Yvinec 73fe217ae0 add a default for the TDS of Triangulation_2 2001-01-09 15:47:47 +00:00
Mariette Yvinec 2df6139a6b added missing std:: 2001-01-08 09:43:24 +00:00
Mariette Yvinec 3158da8fe5 *** empty log message *** 2000-12-28 16:15:38 +00:00
Mariette Yvinec ad06dde785 to test future design 2000-12-28 16:03:13 +00:00
Mariette Yvinec 42d7ed1104 fixes iterators test 2000-12-21 17:24:18 +00:00
Mariette Yvinec 0b9ba09427 add a test of iterators used as a handle in arguments 2000-12-21 15:21:26 +00:00
Mariette Yvinec f86b703f09 *** empty log message *** 2000-12-13 09:15:44 +00:00
Mariette Yvinec a51f5e28bd add test for dual 2000-12-13 09:15:37 +00:00
Mariette Yvinec 73794a797f *** empty log message *** 2000-12-11 10:41:25 +00:00
Mariette Yvinec ba3eeb6e0b changed the shortname for Cartesian to Ca
(previous Ct clashed with the typedef in Delaunay_constrained_triangulation
for i686_CYGWINNT-4.0-20.1_CL.EXE-12.00.8168)
2000-12-11 10:21:35 +00:00
Mariette Yvinec bbebfa8d20 *** empty log message *** 2000-12-08 16:51:13 +00:00
Mariette Yvinec 71d037b7b2 added test of make_hole() and star_hole() 2000-12-08 16:50:44 +00:00
Mariette Yvinec 8dee7534e7 removed a part which makes
i686_CYGWINNT-5.0-1.1.4-0.26-3-2_CL.EXE-12.00.8804 crash
2000-09-22 11:42:15 +00:00
Mariette Yvinec 975785b62e turn the number type to an exact type 2000-09-18 08:58:59 +00:00
Mariette Yvinec 93ed0ae150 did the following :
Well, this is a fix if not an answer.  If you remove the line
    typedef Triangul    Cls;
(which is not needed anyway) at the top of the function
_test_cls_triangulation_short_2 and then replace all Cls's with Triangul's
then test_delaunay_triangulation_2 compiles.  Similarly for the line
    typedef Del         Delaunay;
in _test_cls_delaunay_triangulation_2.
2000-09-18 08:47:31 +00:00
Mariette Yvinec 2741a02ac8 fixed test_delaunay_triangulation_2.C
which did not really test Kerne_traits with homogeneous point
2000-09-18 07:53:38 +00:00
Mariette Yvinec 38b47e1c2d temporary modified to try to find out
why it loops on VC++ :
suppress the insertion of random points
add a cout to ouput the insertion level of each point
2000-09-14 09:30:17 +00:00
Mariette Yvinec fd9a18c18c change dummy template paramerter of _test_circulators( const Tr &T )
from "Triangulation" to "Tr"
2000-09-12 06:37:53 +00:00
Mariette Yvinec 69d03bea22 change dummy template parameter of _test_cls_triangulation_short_2()
from "triangulation" to "Triangul"
for Kcc...
2000-09-11 08:16:31 +00:00
Mariette Yvinec 5a6b619295 fixed CGAL_MAKEFILE 2000-08-29 07:05:06 +00:00
Mariette Yvinec d122b168c6 *** empty log message *** 2000-08-29 06:54:06 +00:00
Mariette Yvinec f0946e72d1 cosmatic changes 2000-08-29 06:53:48 +00:00
Mariette Yvinec f0a8b50caa add return 0; 2000-08-11 15:13:02 +00:00
Mariette Yvinec cb9a957f6b fixed missing tabs 2000-08-09 09:33:40 +00:00
Mariette Yvinec 3ddd0ab7c9 the test file for delaunay_hierarchy 2000-08-09 08:08:19 +00:00
Mariette Yvinec 487b8691ff fixed missing tabs 2000-08-09 08:05:13 +00:00
Mariette Yvinec 1d5a85935c fixed makefile 2000-08-07 12:07:54 +00:00
Mariette Yvinec 57f840625c added test of Delaunay hierarchy 2000-08-07 07:15:34 +00:00
Mariette Yvinec 4e8e9f80ae Delaunay hierarchie added 2000-08-07 07:11:43 +00:00
Mariette Yvinec 108b0e448f *** empty log message *** 2000-08-07 07:11:09 +00:00
Mariette Yvinec d2c436d350 Make the test suite of Triangulation shorter 2000-08-02 13:01:12 +00:00
Mariette Yvinec e987db606b further split of Triangulation test suite 2000-08-02 11:16:39 +00:00
Mariette Yvinec 88e68aa779 further split of Triangulation tests 2000-08-02 08:50:55 +00:00
Mariette Yvinec 4d169a1cbc split triangulation test in two directories
to cope with time limit
2000-07-28 17:41:29 +00:00
Mariette Yvinec 03e27c08e9 A few modif related to the traits (end of kernel traits compatibility). 2000-07-28 15:04:56 +00:00
Mariette Yvinec 3aff5a6781 addded the test of includes_edge() 2000-07-27 14:52:39 +00:00
Mariette Yvinec 68d657437f added is_edge, is_face test 2000-07-27 06:41:19 +00:00
Mariette Yvinec 857ecb51da *** empty log message *** 2000-07-27 06:41:04 +00:00
Mariette Yvinec 64a6ea7a47 *** empty log message *** 2000-07-07 17:24:15 +00:00
Mariette Yvinec 1b679a055c give up splitting 2000-07-07 16:21:29 +00:00
Mariette Yvinec 20f276a521 gave up splitting process 2000-07-07 16:12:39 +00:00
Mariette Yvinec f7a63eafc6 give up momentaneously with the idea of splitting the traits class 2000-07-07 16:06:10 +00:00
Mariette Yvinec 82ceff5aef *** empty log message *** 2000-07-07 15:41:47 +00:00
Mariette Yvinec 8db37f6610 Try not to split the include subdirectory and to put a link 2000-07-07 15:30:49 +00:00
Mariette Yvinec 695fa6d8a0 split the test of Triangulation im two directories 2000-07-07 14:58:54 +00:00
Mariette Yvinec 54dec0f671 split the test of triangulation packages in two test directory 2000-07-07 14:37:24 +00:00
Mariette Yvinec 0634afd069 the test of triangulation has been splitted in two program
to lower the resources demand.
2000-07-07 08:12:56 +00:00
Mariette Yvinec 8d0915a87b fixed Makefile
add test_triangulation_2_bis.C
2000-07-07 07:38:49 +00:00
Mariette Yvinec ea27e62e56 readded the file , lost in the process of splitting Triangulation/test/Triangulation 2000-07-07 06:49:08 +00:00
Mariette Yvinec 95232d98fe Initial revision 2000-07-06 17:36:04 +00:00
Mariette Yvinec 2a4ebb9de8 split the test of Triangulation in two directories
test/Triangulation
test/Triangulation_bis
2000-07-06 17:19:00 +00:00
Mariette Yvinec 4239f9b5f4 Try to shorten the test suite of Triangulation packages 2000-07-06 15:47:07 +00:00
Mariette Yvinec c452d8a2bf try to shorten the compile and run time of testsuite 2000-07-06 13:28:20 +00:00
Mariette Yvinec f391b78937 test of remove now works 2000-06-30 15:47:05 +00:00
Mariette Yvinec 098278d1d8 comment remove test 2000-06-29 16:54:05 +00:00
Mariette Yvinec cb3771f248 Transform classes Constrained_Delaunay_triangulation_2
and               Constrained_Delaunay_triangulation_wi_2.h
en                Constrained_Delaunay_triangulation_base_2
et                Constrained_Delaunay_triangulation_wi_base_2

add classes
template <class Gt, class Tds>
class Constrained_Delaunay_triangulation_2
and
template <class Gt, class Tds>
class Constrained_Delaunay_triangulation_wi_2
2000-06-29 15:26:42 +00:00
Mariette Yvinec 08f5502148 *** empty log message *** 2000-06-26 14:27:24 +00:00
Mariette Yvinec 0ae162a130 fixed the fonction dual() of an edge 2000-06-22 16:57:28 +00:00
Mariette Yvinec 306595fb1e add the test of Constrained_Delaunay_triangulation_2 2000-06-21 07:27:24 +00:00
Mariette Yvinec df25855687 Changed the triangulation traits classes
and the requirements for those classes
to agree with the concept of Kernel traits
2000-06-08 15:11:17 +00:00
Mariette Yvinec da983f8a66 *** empty log message *** 2000-04-14 14:35:36 +00:00
Mariette Yvinec 5134bc20a8 Try to remove "unused variable warning" from test suite result
finally drop....
2000-03-17 17:26:56 +00:00
Mariette Yvinec cfdb8971a0 add a few lines to test the kernel 2000-03-17 15:53:47 +00:00
Mariette Yvinec c5bb06f3c9 added test_triangulation_tdsul.C 2000-03-10 17:46:55 +00:00
Mariette Yvinec 0541adf630 include a compile_and_run line
for test_triangulation_dsul
2000-02-28 10:06:44 +00:00
Mariette Yvinec 123a25bdff add test_const_del_triangulation_2.C 2000-02-18 17:51:44 +00:00
Mariette Yvinec 64a2e2d72f add -pedantic option
change the traits class to Euclidean_traits to get the intersection
of two segments
2000-02-18 17:50:46 +00:00
Mariette Yvinec 1ba7de24f6 comment the testing of the sweep with Tdsul
because it does not work yet
2000-02-16 10:50:04 +00:00
Mariette Yvinec ca9cc81c04 includes test with Tdsul (Triangulation data structure using list 2000-02-16 10:47:28 +00:00
Mariette Yvinec 92258aea0f fixed two bugs in _test_cls_regular_triangulation_2.C
and _test_cls_triangulation_2.C
(call to segment(f,li) where li results from locate and has no meaning when
lt is FACE)
1999-10-25 16:24:55 +00:00
Mariette Yvinec 4416dacd99 ok 1999-10-25 12:30:49 +00:00
Mariette Yvinec 43a171f171 OK 1999-10-25 12:13:28 +00:00
Mariette Yvinec 8a1bedaeb9 0k 1999-10-22 07:50:31 +00:00
Mariette Yvinec 72d2369f6f removed makefile
update cleaning in Makefile
1999-10-21 09:37:26 +00:00
Mariette Yvinec dd1d59a2e0 fixed the test of operator* and ->
so that not to assume anythibg about the order with which things
are evaluated in a == statement
1999-10-14 07:10:26 +00:00
Mariette Yvinec 0dd79add8b OK 1999-10-14 07:09:16 +00:00
Mariette Yvinec c590c874c7 comment the
#include <vector>
1999-10-11 08:43:45 +00:00
Mariette Yvinec 9b980bdf94 introduced typedef in << and >> operators 1999-10-07 11:12:12 +00:00
Mariette Yvinec 20fb6d260b moved
typedef double TESTFT;
to try tp please MSVC
1999-10-07 11:02:01 +00:00
Mariette Yvinec c2510dcf7f std:: added 1999-10-05 07:43:38 +00:00
Mariette Yvinec 92c716af88 commented the include of vector 1999-10-04 09:59:13 +00:00
Mariette Yvinec 725331b51a OK 1999-10-04 09:58:46 +00:00
Mariette Yvinec c1ad5c98bb remove
#include <vector>
1999-09-30 15:22:07 +00:00
Mariette Yvinec c98954512c adapt to the changes made in insert signature functions 1999-09-30 12:35:06 +00:00
Mariette Yvinec cebc2c51c9 changed insert function to the following :
Vertex_handle insert(const Point &p, Face_handle start = Face_handle() );
// if location is unknown

  Vertex_handle insert(const Point& p,
		       Locate_type lt,
		       Face_handle loc, int li );
 // if location is known
1999-09-30 11:54:09 +00:00
Mariette Yvinec 21c74c26df changes the function has_vertex() to is_vertex() 1999-09-28 16:39:07 +00:00
Mariette Yvinec 1246fc0aad added std:: to endl 1999-09-28 14:18:22 +00:00
Mariette Yvinec c87d5166c8 a few std:: added 1999-09-24 14:46:37 +00:00
Mariette Yvinec dae5c4f1ca add std:: to endl 1999-09-24 13:59:41 +00:00
Mariette Yvinec dfddeb8b15 Change f->opposite_index(int i ), f->opposite_vertexint (int i)
to     f->mirror_index(int i), f->mirror_vertex(int i)

add new functionalities to Tds and Triangulation :
Face_handle add_face(Face_handle f1, int i1,
		       Face_handle f2, int i2,
		       Face_handle f3, int i3);
  Face_handle add_face(Face_handle f1, int i1,
		       Face_handle f2, int i2);
  Face_handle add_face(Face_handle f, int i, Vertex_handle v);
And change the code of remove_2D() in Triangulation_2.h
and Delaunay_triangulation_2.h

Incoporate some of the changes made in Dagsthul
to compile with VC++
1999-09-06 14:17:03 +00:00
Mariette Yvinec 110d91c077 changes made in Dagstuhl to comply to MSVC++
includes :
include codes of operators * and -> in class definition of
Tds iterators
Change the power_test
Change names for representation in traits
1999-09-01 14:37:41 +00:00
Mariette Yvinec d2ec2aa759 OK 1999-08-27 06:57:07 +00:00
Mariette Yvinec 2a1ae7f483 decomment the test of remove_first 1999-08-19 07:05:26 +00:00
Mariette Yvinec e525b13da8 header corrected 1999-08-18 08:40:34 +00:00
Mariette Yvinec 07ce07355c OK 1999-08-17 17:21:22 +00:00
Mariette Yvinec bbd886ac3d new triangulation working
examples compile and run
1999-08-17 13:55:44 +00:00
Mariette Yvinec 7676cd81ec make regular triangulation work with new Tds
testsuite compiles and runs
1999-08-17 11:50:54 +00:00
Mariette Yvinec 3b274e0db0 add the test of duality using circulators.
This alloewd to fix a bug in Triangulation_ds_circulators_2.h
(edge circulators)
1999-08-16 10:23:28 +00:00
Mariette Yvinec 296df2e088 OK 1999-08-16 10:22:22 +00:00
Mariette Yvinec 6713f47dda add std:: to cout endl ofstream ifstream 1999-08-16 08:58:34 +00:00
Mariette Yvinec 6be7b081fc Constrained triangulation have been adapted to new design of Tds
typedef included in derived triangulation for the requirement of
MIPSPRO 7.3
output and input poperators suppressed for delaunay and constrained triangulation : after all, inheritance works well
dimension() retrieved from Triangulation_ds_face_2
and included in Triangulation_face_base_2

compiles and runs (at least with gcc 2.95)
the additionnal typedef in derived classes causes compiler internal error
with egcs (at lest with the function insert* returning a vertex_handle,
when defined outside the class
1999-08-06 16:15:03 +00:00
Mariette Yvinec 3c3b714077 added using declaration for std items : cout , endl, ifstream, ofstream 1999-08-05 14:00:04 +00:00
Mariette Yvinec 0b75288392 code of _test_fct_delaunay_duality.C
incorporated in _test_cls_delaunay_triangulation_2.C
1999-08-04 06:47:57 +00:00
Mariette Yvinec 315bb2db0e made duality test compile
internal compiler error had something to see
with #include <vector>
1999-08-04 06:47:21 +00:00
Mariette Yvinec d980d38e12 Delaunay triangulation has been converted to new Tds
Test suit compiles and runs except for the test of duality
1999-08-03 17:38:16 +00:00
Mariette Yvinec 8bc877e26d Delaunay has been converted to new Tds
Testsuite compiles and runs except the test of duality
1999-08-03 17:35:38 +00:00
Mariette Yvinec 5df8a6d495 added test for operator--() 1999-08-02 16:41:32 +00:00
Mariette Yvinec c7be384022 add test for --operators() 1999-08-02 13:33:27 +00:00