CGAL 6.0 - 2D Hyperbolic Surface Triangulations
Loading...
Searching...
No Matches
CGAL::Hyperbolic_fundamental_domain_factory_2< Traits > Class Template Reference

#include <CGAL/Hyperbolic_fundamental_domain_factory_2.h>

Definition

template<class Traits>
class CGAL::Hyperbolic_fundamental_domain_factory_2< Traits >

Factory class, whose only purpose is to construct random fundamental domains of closed orientable hyperbolic surfaces.

The method make_hyperbolic_fundamental_domain_g2 constructs such a domain for a surface of genus 2.

Template Parameters
Traitsis the traits class and must be a model of HyperbolicSurfaceTraits_2 (default model: Hyperbolic_surface_traits_2).
Examples
Hyperbolic_surface_triangulation_2/hyperbolic_surface_triangulation.cpp.

Creation

 Hyperbolic_fundamental_domain_factory_2 ()
 Constructor.
 

Generation of a domain in genus 2.

Hyperbolic_fundamental_domain_2< Traits > make_hyperbolic_fundamental_domain_g2 (unsigned int seed)
 randomly generates a convex domain of a closed orientable hyperbolic surface of genus two from a seed.