Commit Graph

337 Commits

Author SHA1 Message Date
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
Mariette Yvinec c1762a0432 small changes 1999-07-30 16:45:54 +00:00
Mariette Yvinec 836466a77d decommented tests with Homogeneous coordinates
abs test_traits
1999-07-30 16:45:17 +00:00
Mariette Yvinec c88ef2a123 removed files _test_cls_edge_circulator.C _test_cls_face_circulator.C
_test_cls_vertex_circulator.C
1999-07-26 17:20:08 +00:00
Mariette Yvinec fb004121b4 At this point New Triangulation compiles and testsuite runs 1999-07-26 17:15:49 +00:00
Mariette Yvinec 83750aa309 _test_cls_edge_iterator.C _test_cls_face_iterator.C
_test_cls_vertex_iterator.C included in _test_triangulation_iterators.C

dded a test for infinite edges in _test_fct_is_infinite.C
various corrections in _test_cls_triangulation_2.C
1999-07-23 16:29:57 +00:00
Mariette Yvinec 93f7e50dae include new _test_types.h
fixed _test_cls_triangulation_2.C and _test_cls_triangulation_face.C
for new version
1999-07-23 12:56:06 +00:00
Mariette Yvinec b9c7bcee3c adapted to the nes Tds and new triangulations 1999-07-23 08:28:27 +00:00
Mariette Yvinec 1de11d9b91 updated test_triangulation_2.C 1999-07-23 08:27:54 +00:00
Mariette Yvinec 0d2386e5d2 test of degree() added 1999-07-19 12:27:05 +00:00
Mariette Yvinec 11d9d91f81 up to this point
test_triangulation_tds.C compiles and runs
1999-07-16 13:19:49 +00:00
Mariette Yvinec 9930304ed3 updated and merge with b18juin 1999-07-05 15:04:26 +00:00
Mariette Yvinec 63688284a3 OK 1999-06-18 14:40:34 +00:00
Mariette Yvinec 025253b07e rename makefile to Makefile
so that it is not included in submission process
1999-05-21 15:40:22 +00:00
Mariette Yvinec d9d87849fe added
CGAL::set_ascii_mode(ifx_y); CGAL::set_ascii_mode(ofx_y);
to input output tests
1999-05-11 12:25:48 +00:00
Mariette Yvinec 1f52d802bd remove one
the constructor of V2p_adaptor
 V2p_adaptor(const VIt &vit) : VIt(vit) {}
  //V2p_adaptor(VIt &vit) : VIt(vit) {}
1999-05-11 11:46:42 +00:00
Mariette Yvinec 78627638bb coord_type is Quotient<Gmpz> 1999-05-11 09:04:08 +00:00
Mariette Yvinec 3ea1d8d7f1 changed the message in test_regular_triangulation_2.C 1999-05-11 09:00:56 +00:00
Mariette Yvinec 3abe51699a change order of include files 1999-05-01 09:58:33 +00:00
Mariette Yvinec d95f340caa small bugs fixed in Zurich 1999-04-30 15:17:10 +00:00
Mariette Yvinec 8a641b5d59 added short names for filtrerd exact type number coordinate
corrected the various compare() functions if the Triangulation_test_traits
to avois name clashes with g++ 2.8.1
1999-04-13 13:51:21 +00:00
Mariette Yvinec c13301faa9 corrected the output text
with respect to the used coordinate type
1999-04-13 13:49:08 +00:00
Mariette Yvinec c81121ed08 reesatablish the test using
typedef CGAL::Triangulation_euclidean_traits_2
with cartesian<Quotient<Gmpz>

corrected in _test_cls_triangulation_2.C
the creation of points with non tnteger coordinates
1999-04-13 11:43:36 +00:00
Mariette Yvinec 295e0a462c reesatablish the test using
typedef CGAL::Triangulation_euclidean_traits_2
with cartesian<Quotient<Gmpz>
1999-04-13 11:42:44 +00:00
Mariette Yvinec aa5f9864a3 removed error.txt from cvs 1999-04-12 08:42:18 +00:00
Mariette Yvinec 3ae7efcb56 OK 1999-04-12 08:40:40 +00:00
Mariette Yvinec 3104a0ebc4 fixed a bug in _test_fct_delaunay_duality.C
(a few parasite characters had drop in)
1999-04-12 08:30:54 +00:00
Mariette Yvinec 03f0fb63ad ok 1999-04-12 08:30:00 +00:00
Mariette Yvinec 8e388ea056 OK 1999-04-09 13:40:15 +00:00
Mariette Yvinec 5d0571542e added std:: 1999-04-08 12:28:07 +00:00
Mariette Yvinec 876f37aec1 OK 1999-04-08 12:27:54 +00:00
Mariette Yvinec 5dc991c121 add std:: in front of pair, vector and list 1999-04-08 12:15:58 +00:00
Mariette Yvinec 54b4c86728 corrected the include of short_named files
add a few short names
1999-04-08 11:28:25 +00:00
Mariette Yvinec fdd53d7b40 ok 1999-04-08 11:27:34 +00:00
Mariette Yvinec 765b30fa79 reestablish #defined for test classes to make egcs compile 1999-03-31 16:22:23 +00:00
Mariette Yvinec 2aae678706 ok
ok
1999-03-31 16:21:35 +00:00
Mariette Yvinec d31aa53193 ok 1999-03-31 16:21:25 +00:00
Mariette Yvinec da6fbc877a *** empty log message *** 1999-03-31 15:41:47 +00:00
Mariette Yvinec 12456b9694 ok 1999-03-31 14:49:52 +00:00
Mariette Yvinec 33d6d68086 reput the test of circummcenter
change number types for cartesain representation
from
GMPZ to Quotient<Gmpz>
1999-03-29 09:59:37 +00:00
Mariette Yvinec e960bcc947 *** empty log message *** 1999-03-29 09:58:29 +00:00
François Rebufat b8cebb843f correct minor bug... 1999-03-29 09:40:28 +00:00
Mariette Yvinec c14af26102 comment the test of circumcenter
This is of course a temporary change
1999-03-26 08:23:39 +00:00
Mariette Yvinec fb380fa4f3 fixed small bugs
related to the use of namespace
1999-03-23 15:41:07 +00:00
Mariette Yvinec c2c4793309 correct a few bugs related to namespaces 1999-03-23 15:39:44 +00:00
Mariette Yvinec e69887ba80 correct a few bugs related to namespaces 1999-03-23 15:10:30 +00:00
Mariette Yvinec 09a9157920 fixed bugs related to namespaces 1999-03-11 14:24:49 +00:00
Mariette Yvinec 5fbec22496 fixed a bug with CGAL_BEGIN_NAMESPACE 1999-03-11 11:00:48 +00:00
Mariette Yvinec 06adbae989 changed CGAL_MAKEFILE 1999-03-11 11:00:22 +00:00
Mariette Yvinec 8dc69ef969 Bug fixes related to namespaces 1999-03-09 13:16:47 +00:00
Mariette Yvinec eba7e2394a added namespaces + new header files 1999-02-26 16:03:09 +00:00
François Rebufat 30743c705a test file for regular triangulation. first entry. 1999-01-19 09:49:45 +00:00
François Rebufat 8c17418089 adding test for regular triangulation 1999-01-19 09:48:59 +00:00
François Rebufat cfb4709955 adding regular triangulation .o 1999-01-19 09:48:30 +00:00
François Rebufat 181a3ea5fe first entry for the test of regular triangulation. 1999-01-19 09:47:46 +00:00
Mariette Yvinec ce5487cdc2 change some ciompilation option CXX_FLAGS 1998-12-30 13:53:43 +00:00
Mariette Yvinec 8ce061160c change in CGAL_MAKE_FILE= 1998-12-24 10:12:45 +00:00
Mariette Yvinec 7425f75f06 *** empty log message *** 1998-12-23 13:14:59 +00:00
Mariette Yvinec 3b2ff7dd83 change of $CGAL_MAKEFILE 1998-12-23 10:25:50 +00:00
Mariette Yvinec c82139eb99 suppress the -Wall compilation option 1998-12-23 10:24:27 +00:00
Mariette Yvinec 32822ec823 in _test_short_names_2.h
changed
#endif CGAL_TRIANGULATION_TEST_SHORT_NAMES_2_H
to
#endif //CGAL_TRIANGULATION_TEST_SHORT_NAMES_2_H

in _test_cls_distance.C
suppress the redefinition of Point :
template<class Traits, class Point>
void
CGAL__test_cls_distance(Point p[34],const Traits &)
{

  typedef typename Traits::Distance Distance;
  //typedef typename Traits::Point  Point;  this line commented
1998-12-14 10:23:25 +00:00
Mariette Yvinec 82e5ed666b together with previous commit
fixed a bug in _test_cls_geom_traits.C
namely suppress a typedef obsolote since the last modification
1998-12-09 07:44:16 +00:00
Mariette Yvinec dca75497e5 *** empty log message *** 1998-12-09 07:41:47 +00:00
Mariette Yvinec 7a2a9ff531 Change l.clear() to l.erase(l.begin(),l.end()) for STL list to make CC compile 1998-12-08 16:20:11 +00:00
Mariette Yvinec 90b1071eec suppress the test of constrained triangulation
because it does not compile with CC
1998-12-03 17:18:38 +00:00
François Rebufat 780e912b77 Change template parameters because CC does not support typename in parameter type declaration. 1998-12-03 16:02:23 +00:00
François Rebufat 5ee00f645f Change parameters of the template. 1998-11-02 18:06:19 +00:00
François Rebufat 3ee371d9a3 Same as before for Delaunay and Distance. 1998-11-02 18:04:36 +00:00
François Rebufat 740a4d8db1 Remove double template Traits and Point by one (traits). Update
signature of function CGAL__test_cls_geom_traits.
1998-11-02 17:36:03 +00:00
Mariette Yvinec 8460d8dadf readded compile_and_run test_constrained_triangulation_2 1998-10-29 14:13:59 +00:00
Mariette Yvinec e77a36d06c same message 1998-10-29 13:05:27 +00:00
Mariette Yvinec 89097affe6 suppress the test of constrained triangulation
because it does not compile with egcs
1998-10-29 12:58:18 +00:00
François Rebufat c8cfcd4628 comment a macro already defined in _test_short_names.h 1998-10-28 12:29:12 +00:00
François Rebufat 67fc07e929 Update test flii 1998-10-28 12:27:44 +00:00
François Rebufat 72bc2abfb4 Added line for constrained triangulation. 1998-10-28 12:21:57 +00:00
Mariette Yvinec c209e48112 fixed one more bug related to the constructor
with a Vertex_handle as argument
changed a few comments
1998-10-28 07:37:16 +00:00
Mariette Yvinec 7ef46e7f22 recorrected the previous bug
some lineshad been killed by error
1998-10-26 17:45:53 +00:00
Mariette Yvinec a272aebc45 The two following bugs have bben corrected :
// T0_2.insert_first(Vertex(p0).handle());
  // this  statement cause a segmentation fault on Linux
  // when the whole procedure is leaved
  Vertex_handle v0_2_0(new Vertex(p0));
  T0_2.insert_first(v0_2_0);

  Cls T1_6 = T0_2;
  //T1_6.insert_second(Vertex(p3).handle());
  // the following statement cause a segmentation fault on Linux
  // when the whole procedure is leaved
  T1_6.insert_second( Vertex_handle(new Vertex(p3)));
1998-10-26 16:24:38 +00:00
Mariette Yvinec b6c10a4ce9 fixed a bug leading to a segmentation fault with Linux
on leaving the procedure _test_cls_tds_2
(vertex vt2 was set as infinite vertex of several triangulation)
1998-10-26 10:51:00 +00:00
Mariette Yvinec c49c118e68 merged with branch b6aout 1998-10-22 15:16:42 +00:00
Mariette Yvinec 8ab8af6330 I don't know what has been changed here 1998-10-09 17:27:13 +00:00
Hervé Brönnimann cf7e7b912e This commit was generated by cvs2svn to compensate for changes in r575,
which included commits to RCS files with non-trunk default branches.
1998-10-09 13:31:55 +00:00
Mariette Yvinec cca2d29c25 added a #define for shorter names
to make the g++/egcs linker works
1998-09-29 06:49:32 +00:00
Mariette Yvinec d53026708f *** empty log message *** 1998-09-29 06:47:46 +00:00
Mariette Yvinec 549484900a suppressed the -I/u/alcor/0/prisme_util/CGAL/Local/C2/include 1998-09-28 09:57:41 +00:00
Hervé Brönnimann 73726a6404 Changed headers. --Herve 1998-09-23 12:34:11 +00:00
Hervé Brönnimann c1b898e2c5 Changed headers. --Herve
Removed extraneous files. (Program* Error* Compiler* error*) --Herve
1998-09-23 12:33:58 +00:00
Mariette Yvinec c70269a72e Initial revision 1998-09-21 17:33:58 +00:00