![]() |
HyperRogue
11.3d
game/visualization engine based on non-Euclidean geometry
|
Public Member Functions | |
void | reset () |
void | add (coord val) |
coord | get (coord x) |
coord | compute_cat (coord coo) |
void | canonicalize (coord &x, coord &d, transmatrix &M, bool &mirr) |
![]() | |
torus_config (intmatrix user_axes, int twisted) | |
Public Attributes | |
intmatrix | optimal_axes |
intmatrix | regular_axes |
gp::loc | twisted_vec |
gp::loc | ortho_vec |
int | det |
int | infinite_dims |
intmatrix | inverse_axes |
unordered_map< coord, int > | hash |
vector< coord > | seq |
int | index |
![]() | |
intmatrix | user_axes |
int | twisted |
void hr::euc::torus_config_full::add | ( | coord | val | ) |
add to the tori canonicalization list
get the representative on the tori canonicalization list
void hr::euc::torus_config_full::canonicalize | ( | coord & | x, |
coord & | d, | ||
transmatrix & | M, | ||
bool & | mirr | ||
) |
canonicalize coord x; in case of twisting, adjust d, M, and mirr accordingly
intmatrix hr::euc::torus_config_full::optimal_axes |
optimal representation of the periods
intmatrix hr::euc::torus_config_full::regular_axes |
regular axes (?)
gp::loc hr::euc::torus_config_full::twisted_vec |
in 2D: the period vector which is reflected
gp::loc hr::euc::torus_config_full::ortho_vec |
in 2D: a vector orthogonal to twisted_vec
int hr::euc::torus_config_full::det |
determinant
int hr::euc::torus_config_full::infinite_dims |
the number of infinite dimensions
intmatrix hr::euc::torus_config_full::inverse_axes |
?
unordered_map<coord, int> hr::euc::torus_config_full::hash |
for canonicalization on tori