This repository was archived by the owner on Aug 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Home
sylvain-guillet edited this page May 29, 2023
·
33 revisions
IO.SDK.Net is the .Net connector to IO.SDK native library.
It allows .Net developers to call IO.SDK high level features :
- Load JPL Spice kernels
- Run propagator to evaluate maneuvers and fuel balance
- Evaluate launch opportunities
- Convert elapsed seconds from J2000 to TDB or UTC string
- Find time windows based on distance constraints
- Find time windows based on occultation constraints
- Find time windows based on coordinate constraints
- Find time windows based on illumination constraints
- Find time windows when an object is in instrument field of view.
This package is hosted by Nuget here. You can install it in your project with this command :
dotnet add package IO.SDK.Net
using IO.SDK.Net.DTO;
//Instanciate API
var api = new IO.SDK.Net.API();
//Load kernels from directory, in this example the directory must contain at least the leapseconds kernel file
api.LoadKernels("/home/spacer/Sources/SDK.Net/IO.SDK.Net.Tests/bin/Release/net6.0/Data/SolarSystem");
//Convert elapsed seconds from J2000 to human readable string
var epoch = api.TDBToString(0.0);
Console.WriteLine(epoch); //Expected output : 2000-01-01 12:00:00.000000 (TDB)