Click or drag to resize

EarthCentralBodyMeanSeaLevel Property

Gets or sets the default mean sea level surface.

Namespace:  AGI.Foundation.Celestial
Assembly:  AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 19.1.398.0 (19.1.398.0)
Syntax
public TerrainProvider MeanSeaLevel { get; set; }

Property Value

Type: TerrainProvider
Remarks
By default, this is .
Examples
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.
C#
// 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;
See Also