HyperRogue  11.3d
game/visualization engine based on non-Euclidean geometry
Classes | Namespaces | Functions | Variables
arbitrile.cpp File Reference

Arbitrary tilings. More...

#include "hyper.h"

Classes

struct  hr::arb::shape
 
struct  hr::arb::arbi_tiling
 
struct  hr::arb::hrmap_arbi
 

Namespaces

 hr
 

Functions

EX short & hr::arb::id_of (heptagon *h)
 
bool hr::arb::correct_index (int index, int size)
 
template<class T >
bool hr::arb::correct_index (int index, const T &v)
 
template<class T >
void hr::arb::verify_index (int index, const T &v)
 
EX void hr::arb::load (const string &fname)
 
heptagon * hr::arb::build_child (heptspin p, pair< int, int > adj)
 
EX hrmap * hr::arb::new_map ()
 
int hr::arb::readArgs ()
 
EX bool hr::arb::in ()
 
EX bool hr::arb::linespattern (cell *c)
 
EX bool hr::arb::pseudohept (cell *c)
 
EX void hr::arb::choose ()
 

Variables

EX arbi_tiling hr::arb::current
 
string hr::arb::unnamed = "unnamed"
 
map< heptagon *, vector< pair< heptagon *, transmatrix > > > hr::arb::altmap
 
EX map< heptagon *, pair< heptagon *, transmatrix > > hr::arb::arbi_matrix
 
EX hrmap * hr::arb::current_altmap
 
auto hr::arb::hook = addHook(hooks_args, 100, readArgs)
 
EX string hr::arb::tes = "tessellations/marjorie-rice.tes"
 

Detailed Description

Arbitrary tilings.

Arbitrary tilings, defined in .tes files.

Function Documentation

◆ id_of()

EX short& hr::arb::id_of ( heptagon h)

id of vertex in the arbitrary tiling