/// <summary>Elevation of the terrain Above Sea Level</summary> /// <param name="this">The {IFovBoard} to be analyzed.</param> /// <param name="coords">The coordinates of the hex being tested.</param> public static int ElevationTerrainASL(this IFovBoard @this, HexCoords coords) => @this[coords].Match(hex => @this.ElevationASL(hex) + hex.HeightTerrain, MaxValue32);
/// <summary>Elevation of the hexside Above Sea Level</summary> /// <param name="this">The {IFovBoard} to be analyzed.</param> /// <param name="coords">The coordinates of the hex being tested.</param> /// <param name="hexside"></param> public static int ElevationHexsideASL(this IFovBoard @this, HexCoords coords, Hexside hexside) => @this[coords].Match(hex => @this.ElevationASL(hex) + hex.HeightHexside(hexside), MaxValue32);
/// <summary>Elevation of the observer Above Sea Level</summary> /// <param name="this">The {IFovBoard} to be analyzed.</param> /// <param name="coords">The coordinates of the hex being tested.</param> public static int ElevationObserverASL(this IFovBoard @this, HexCoords coords) => @this[coords].Match(hex => @this.ElevationASL(hex) + @this.HeightOfMan, MaxValue32);
/// <summary>Elevation of the ground Above Sea Level</summary> /// <param name="this">The {IFovBoard} to be analyzed.</param> /// <param name="coords">The coordinates of the hex being tested.</param> public static int ElevationGroundASL(this IFovBoard @this, HexCoords coords) => @this[coords].Match(hex => @this.ElevationASL(hex), MaxValue32);