Skip to content

Commit fc2d7b8

Browse files
committed
Move all constants to a named constants file, with docstrings
1 parent 23dfca1 commit fc2d7b8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

GeometryOpsCore/src/constants.jl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
"The semi-major axis of the WGS84 ellipsoid"
2+
const WGS84_EARTH_SEMI_MAJOR_RADIUS = 6378137.0
3+
4+
"The inverse flattening of the WGS84 ellipsoid"
5+
const WGS84_EARTH_INV_FLATTENING = 298.257223563
6+
7+
"The mean radius of the WGS84 ellipsoid, used for spherical manifold default"
8+
const WGS84_EARTH_MEAN_RADIUS = 6371008.8

0 commit comments

Comments
 (0)