#include <CGAL/Simple_cartesian.h>
#include <CGAL/Hyperbolic_Delaunay_triangulation_traits_2.h>
#include <CGAL/Hyperbolic_surface_traits_2.h>
#include <CGAL/Hyperbolic_fundamental_domain_factory_2.h>
#include <CGAL/Hyperbolic_surface_triangulation_2.h>
#include <time.h>
typedef CGAL::Simple_cartesian<Rational> Kernel;
int main(){
Factory factory = Factory();
Domain domain = factory.make_hyperbolic_fundamental_domain_g2(time(NULL));
Triangulation triangulation = Triangulation(domain);
triangulation.make_Delaunay();
std::ofstream output_file = std::ofstream ("OutputTriangulation.txt");
output_file << triangulation;
output_file.close();
std::cout << triangulation << std::endl;
return 0;
}
Represents a fundamental domain of a closed orientable hyperbolic surface.
Definition: Hyperbolic_fundamental_domain_2.h:15
Factory class, whose only purpose is to construct random fundamental domains of closed orientable hyp...
Definition: Hyperbolic_fundamental_domain_factory_2.h:15
Definition: Hyperbolic_surface_traits_2.h:11
Represents a triangulation of a closed orientable hyperbolic surface.
Definition: Hyperbolic_surface_triangulation_2.h:37