This commit is contained in:
2025-09-03 12:55:19 +08:00
parent 613c73c812
commit ea91e2e867
13 changed files with 26 additions and 21 deletions

View File

@@ -26,9 +26,10 @@
******************************************************/
#include "gctl/core.h"
#include "gctl/geometry.h"
#include "gctl/poly.h"
#include "gctl/io.h"
#include "gctl/utility.h"
#include "gctl/math.h"
class HandyMan
{
@@ -353,7 +354,7 @@ void HandyMan::SR_GeoAngle()
std::cin >> c[i].lon >> c[i].lat;
}
std::cout << "The geo-centric angle is: " << gctl::geometry3d::angle(c[0].s2c(), c[1].s2c())*180.0/M_PI << " deg.\n";
std::cout << "The geo-centric angle is: " << gctl::geometry3d::angle(s2c(c[0]), s2c(c[1]))*180.0/M_PI << " deg.\n";
return;
}