Add one viewer call for T2

This commit is contained in:
Guillaume Damiand 2017-11-30 20:57:36 +01:00 committed by Maxime Gimeno
parent 3f15cf7307
commit 5edf2cd928
1 changed files with 9 additions and 0 deletions

View File

@ -3,6 +3,10 @@
#include <fstream>
#ifdef CGAL_USE_BASIC_VIEWER
#include <CGAL/Triangulation_2_viewer_qt.h>
#endif
typedef CGAL::Exact_predicates_inexact_constructions_kernel K;
typedef CGAL::Regular_triangulation_2<K> Regular_triangulation;
@ -24,5 +28,10 @@ int main()
std::cout << rt.number_of_vertices() << std::endl;
std::cout << "number of hidden vertices : " ;
std::cout << rt.number_of_hidden_vertices() << std::endl;
#ifdef CGAL_USE_BASIC_VIEWER
display(rt);
#endif // CGAL_USE_BASIC_VIEWER
return 0;
}