Click or drag to resize

EarthCentralBody.MeanSeaLevel Property

Gets or sets the default mean sea level surface.

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

Property Value

Type: TerrainProvider
Remarks
By default, this is null.
Examples

This example shows how to create an EGM96 mean sea level surface and configure it for use by all other calculations which need MSL.

C#
EarthCentralBody earth = CentralBodiesFacet.GetFromContext().Earth;
EarthGravityModel96MeanSeaLevel msl = new EarthGravityModel96MeanSeaLevel();
earth.MeanSeaLevel = msl;
See Also