mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-26 00:07:10 +00:00
rogueviz::embeddings:: export more functions
This commit is contained in:
1 parent
1387a6b9db
commit
1b213a9ab3
3 files changed
+7
-3
No files matched your search
@@ -196,7 +196,7 @@ struct dmercator_embedding : untiled_embedding {
|
||||
};
|
||||
|
||||
|
||||
void read_dmercator(string fname, bool only_read = false) {
|
||||
void read_dmercator(string fname, bool only_read) {
|
||||
auto me = make_shared<dmercator_embedding> ();
|
||||
int N = get_n();
|
||||
|
||||
|
||||
@@ -3,8 +3,6 @@ namespace rogueviz {
|
||||
|
||||
namespace embeddings {
|
||||
|
||||
enum class fmt { hyperb, poincare, bhyper, bhyper_reduced };
|
||||
|
||||
string format_names[4] = { "hyperboloid trailing", "Poincare", "hyperboloid leading", "hyperboloid leading reduced" };
|
||||
|
||||
fmt coord_format;
|
||||
|
||||
@@ -93,6 +93,12 @@ int count_directed_edges();
|
||||
void read_edgelist(const string& fn);
|
||||
void read_polar(const string& fn);
|
||||
|
||||
enum class fmt { hyperb, poincare, bhyper, bhyper_reduced };
|
||||
extern fmt coord_format;
|
||||
void read_coord(const string& fn);
|
||||
void read_dmercator(string fname, bool only_read = false);
|
||||
void read_poincare(string fname, int dim);
|
||||
|
||||
struct rankinfo {
|
||||
ld ranks = 0, rby = 0, map = 0, n = 0;
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user