EarthCentralBodyMeanSeaLevel Property |
Namespace: AGI.Foundation.Celestial
This example shows how to create an EGM96 mean sea level surface and configure it for use as the official mean sea level surface by the rest of the library.
// The EGM96 worldwide 15 minute binary geoid height data file, WW15MGH.DAC, can // be obtained from http://earth-info.nga.mil/GandG/wgs84/gravitymod/egm96/binary/binarygeoid.html EarthCentralBody earth = CentralBodiesFacet.GetFromContext().Earth; EarthGravityModel96MeanSeaLevel msl = new EarthGravityModel96MeanSeaLevel(Path.Combine(dataPath, "WW15MGH.DAC")); earth.MeanSeaLevel = msl;