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: 22.2.414.0 (22.2.414.0)
public TerrainProvider MeanSeaLevel { get; set; }

Property Value

Type: TerrainProvider
By default, this is .

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
EarthCentralBody earth = CentralBodiesFacet.GetFromContext().Earth;
EarthGravityModel96MeanSeaLevel msl = new EarthGravityModel96MeanSeaLevel(Path.Combine(dataPath, "WW15MGH.DAC"));
earth.MeanSeaLevel = msl;
See Also