mirror of https://github.com/CGAL/cgal
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
This commit is contained in:
parent
c13301faa9
commit
8a641b5d59
|
|
@ -637,7 +637,7 @@ _test_cls_triangulation_2( const Triangulation & )
|
|||
assert(T2_8.number_of_vertices()>=2);
|
||||
assert(T2_8.is_valid());
|
||||
//fc= T2_8.line_walk(Point(0.5,0.4),Point(5,5));
|
||||
fc= T2_8.line_walk(Point(25,20,5),Point(5,5));
|
||||
fc= T2_8.line_walk(Point(5,4,10),Point(5,5));
|
||||
fc2=fc;
|
||||
n=0;
|
||||
assert(fc==fc2);
|
||||
|
|
|
|||
|
|
@ -4,9 +4,10 @@
|
|||
|
||||
// Define shorter names to please linker (g++/egcs)
|
||||
|
||||
#define Cartesian Cart
|
||||
#define Homogeneous Hom
|
||||
#define Cartesian Ct
|
||||
#define Homogeneous Hg
|
||||
#define Quotient Qt
|
||||
#define Filtered_exact Fe
|
||||
|
||||
#define Triangulation_test_point Ttp
|
||||
#define Triangulation_test_segment Tts
|
||||
|
|
|
|||
|
|
@ -11,6 +11,9 @@
|
|||
#ifndef CGAL_GMPZ_H
|
||||
#include <CGAL/Gmpz.h>
|
||||
#endif // CGAL::GMPZ
|
||||
#include <CGAL/Quotient.h>
|
||||
#include<CGAL/Arithmetic_filter.h>
|
||||
|
||||
#ifndef CGAL_CARTESIAN_H
|
||||
#include <CGAL/Cartesian.h>
|
||||
#endif // CGAL_CARTESIAN_H
|
||||
|
|
@ -19,8 +22,11 @@
|
|||
#endif // CGAL_HOMOGENEOUS_H
|
||||
|
||||
|
||||
|
||||
typedef CGAL::Cartesian<CGAL::Quotient<CGAL::Gmpz> > Test_rep_cartesian;
|
||||
typedef CGAL::Quotient<CGAL::Gmpz> CT;
|
||||
typedef CGAL::Quotient<CGAL::Gmpz> ET;
|
||||
//typedef CGAL::Filtered_exact<CT,ET> coord_type;
|
||||
typedef CGAL::Quotient<CGAL::Gmpz> coord_type;
|
||||
typedef CGAL::Cartesian<coord_type> Test_rep_cartesian;
|
||||
//typedef CGAL::Cartesian<CGAL::Gmpz> Test_rep_cartesian;
|
||||
typedef CGAL::Homogeneous<CGAL::Gmpz> Test_rep_homogeneous;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue