Closed ctessum closed 4 years ago
s1.Angle has a String() method https://github.com/golang/geo/blob/master/s1/angle.go#L110 that prints it out using x.Degrees().
To get it as a radian you would need to either use %f, or cast it to a float https://play.golang.org/p/JN0YLlUXyBW
Hello,
I am encountering a confusing issue. s1.Radian is clearly defined as 1, but when I print it from within a program it equals 57.2957795 and s1.Degree equals 1.
Any ideas what the issue could be, or what I'm misunderstanding here?
Thanks!