j2000-w84
This commit is contained in:
9
calculator/const.go
Normal file
9
calculator/const.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package calculator
|
||||
|
||||
// WGS84 ellipsoid constants
|
||||
const (
|
||||
a = 6378137.0 // semi-major axis in meters
|
||||
f = 1 / 298.257223563 // flattening
|
||||
e2 = 2*f - f*f // square of eccentricity
|
||||
J2000Epoch = 2451545.0 // Julian date of J2000 epoch
|
||||
)
|
||||
Reference in New Issue
Block a user