ISimulatorWorld
USI.Core
Geographic and physical-world queries owned by the simulator.
public interface ISimulatorWorldMethods
TryConvertMagneticHeadingToTrueAsync
public Task<USIResult<Angle>> TryConvertMagneticHeadingToTrueAsync(Angle headingMagnetic, Angle latitude, Angle longitude)Converts a magnetic heading to true at a geographic location using the simulator's magnetic model.
TryConvertTrueHeadingToMagneticAsync
public Task<USIResult<Angle>> TryConvertTrueHeadingToMagneticAsync(Angle headingTrue, Angle latitude, Angle longitude)Converts a true heading to magnetic at a geographic location using the simulator's magnetic model.
TryGetMagneticVariationAsync
public Task<USIResult<Angle>> TryGetMagneticVariationAsync(Angle latitude, Angle longitude)Gets signed magnetic variation at a geographic location. Add the result to a magnetic heading to obtain true heading.
TryGetMarineTrafficAsync
public Task<USIResult<MarineTrafficSnapshot>> TryGetMarineTrafficAsync()Gets simulator-managed marine traffic in geographic coordinates. Provider-local rendering coordinates are never exposed.
TryGetPhysicalModelAsync
public Task<USIResult<WorldPhysicalModelSnapshot>> TryGetPhysicalModelAsync()Gets the simulator's physical-world constants and average sea-level reference conditions. This is distinct from live local weather.
TryGetTerrainSurfaceAsync
public Task<USIResult<TerrainSurfaceSample>> TryGetTerrainSurfaceAsync(Angle latitude, Angle longitude)Resolves the highest physical terrain or moving surface at the requested latitude and longitude. Surface vectors use east/up/north axes.
