nisot:: azimuthal equidistant projection

This commit is contained in:
Zeno Rogue committed 2019-09-12 22:50:13 +02:00
1 parent d1b366a1f9
commit 43bcc4e2bd
2 files changed
+8 -1

No files matched your search

+6
View File
@@ -708,6 +708,12 @@ EX void applymodel(hyperpoint H, hyperpoint& ret) {
break;
case mdEquidistant: case mdEquiarea: case mdEquivolume: {
if(nonisotropic) {
H = nisot::inverse_exp(H, nisot::iTable, false);
if(nisot::local_perspective_used()) H = nisot::local_perspective * H;
ret = H; ret[3] = 1;
break;
}
ld zlev = find_zlev(H);
ld rad = hypot_d(DIM, H);