CGAL 6.1.2 - 2D Triangulations on Hyperbolic Surfaces: CGAL::Hyperbolic_fundamental_domain_factory_2< Traits > Class Template Reference

CGAL 6.1.2 - 2D Triangulations on Hyperbolic Surfaces

Loading...
Searching...
No Matches
List of all members
CGAL::Hyperbolic_fundamental_domain_factory_2< Traits > Class Template Reference
Reference Manual » Main Classes

`#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 function `make_hyperbolic_fundamental_domain_g2()` constructs such a domain for a surface of genus two.

Template Parameters

  Traits | must be a model of `HyperbolicSurfaceTraits_2`.

Examples
  Triangulation_on_hyperbolic_surface_2/Triangulation_on_hyperbolic_surface_2.cpp.

## Creation
| Hyperbolic_fundamental_domain_factory_2 ()
| Constructor.

## Generation of a domain in genus two.
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.