HyperRogue  11.3d
game/visualization engine based on non-Euclidean geometry
Public Member Functions | List of all members
hr::hrmap_standard Struct Reference
Inheritance diagram for hr::hrmap_standard:
hr::hrmap hr::crystal::hrmap_crystal hr::euc::hrmap_euclidean hr::hrmap_hyperbolic hr::hrmap_spherical hr::quotientspace::hrmap_quotient hr::inforder::hrmap_inforder

Public Member Functions

void draw () override
 
transmatrix relative_matrix (heptagon *h2, heptagon *h1, const hyperpoint &hint) override
 
transmatrix relative_matrix (cell *c2, cell *c1, const hyperpoint &hint) override
 
heptagoncreate_step (heptagon *h, int direction) override
 
transmatrix adj (cell *c, int d) override
 
transmatrix adj (heptagon *h, int d) override
 
ld spin_angle (cell *c, int d) override
 
double spacedist (cell *c, int i) override
 
- Public Member Functions inherited from hr::hrmap
virtual heptagongetOrigin ()
 
virtual cellgamestart ()
 
virtual vector< cell * > & allcells ()
 
virtual void verify ()
 
virtual void link_alt (const cellwalker &hs)
 
virtual void generateAlts (heptagon *h, int levs=default_levs(), bool link_cdata=true)
 
heptagonmay_create_step (heptagon *h, int direction)
 
struct transmatrix iadj (cell *c, int i)
 
transmatrix iadj (heptagon *h, int d)
 
virtual vector< hyperpointget_vertices (cell *)
 
virtual void virtualRebase (heptagon *&base, transmatrix &at)
 
virtual transmatrix spin_to (cell *c, int d, ld bonus=0)
 
virtual transmatrix spin_from (cell *c, int d, ld bonus=0)
 

Additional Inherited Members

- Static Public Attributes inherited from hr::hrmap
static constexpr ld SPIN_NOT_AVAILABLE = 1e5
 

Detailed Description

hrmaps which are based on regular non-Euclidean 2D tilings, possibly quotient
Operators can be applied to these maps. Liskov substitution warning: maps which produce both tiling like above and 3D tilings (e.g. Euclidean and Crystal) also inherit from hrmap_standard


The documentation for this struct was generated from the following files: