dotnet add package VSOPTOP2013 --version 1.0.0
NuGet\Install-Package VSOPTOP2013 -Version 1.0.0
<PackageReference Include="VSOPTOP2013" Version="1.0.0" />
paket add VSOPTOP2013 --version 1.0.0
#r "nuget: VSOPTOP2013, 1.0.0"
// Install VSOPTOP2013 as a Cake Addin #addin nuget:?package=VSOPTOP2013&version=1.0.0 // Install VSOPTOP2013 as a Cake Tool #tool nuget:?package=VSOPTOP2013&version=1.0.0
An implementation of the analytic planetary solutions published by G. Francou and J. L. Simon of the Paris Observatory. For a given date and time from -4000 to +8000, returns the position and velocity of any planet 1-9 using VSOP or 5-9 using TOP. VSOP/TOP2013 is a CLS-compliant library targeted to .NET Standard 2.0.
How to Use
A Planet object may be obtained by index or name. Then the Position method may be called with the desired Barycentric Dynamical Time (TDB) expressed as a Julian date. The method returns an orbital coordinate containing position and velocity of the planet at that time. Examples:
// Construct by 1-based index. VSOP is the default solution. Planet myPlanet = new Planet(2); // Construct by enumerated index. Planet myPlanet = new Planet(Planets.Venus); // Construct by name. Planet myPlanet = new Planet("Venus"); // Construct by name and specify TOP solution. Valid only for the outer planets. Planet myPlanet = new Planet("Saturn", true); // Call Position method for TDB 2411545 and return result in J2000.0 ecliptical coordinates. OrbitalCoordinate myCoordinate = myPlanet.Position(2411545, Frame.J2000); Console.Write(myCoordinate); // X: -8.51511074854885, Y: 3.69589695443049, Z: 0.272426618537697 // VelocityX: -0.00251503644983892, VelocityY: -0.00512845140735252, VelocityZ: 0.000190225351577721 // Frame: J2000 // Call Position method for TDB 2459543.5 and return result in ICRF equatorial coordinates. OrbitalCoordinate myCoordinate = myPlanet.Position(2459543.5, Frame.ICRF); Console.Write(myCoordinate); // X: 6.82294199648418, Y: -6.55672280255307, Z: -3.00201564910881 // VelocityX: 0.00374508722196133, VelocityY: 0.00359950179347434, VelocityZ: 0.00132560239628805 // Frame: ICRF
|Product||Versions Compatible and additional computed target framework versions.|
|.NET||net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed.|
|.NET Core||netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed.|
|.NET Standard||netstandard2.0 is compatible. netstandard2.1 was computed.|
|.NET Framework||net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed.|
|MonoAndroid||monoandroid was computed.|
|MonoMac||monomac was computed.|
|MonoTouch||monotouch was computed.|
|Tizen||tizen40 was computed. tizen60 was computed.|
|Xamarin.iOS||xamarinios was computed.|
|Xamarin.Mac||xamarinmac was computed.|
|Xamarin.TVOS||xamarintvos was computed.|
|Xamarin.WatchOS||xamarinwatchos was computed.|
- No dependencies.
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
Initial release. Sample outputs agree with FORTRAN control outputs as rounded.