C# library for satellite orbit calculations using Keplerian mechanics.
- Orbital period & velocity calculations
- Multiple celestial bodies (Earth, Mars, Moon)
- Extensible architecture
- Clean API
Quick reference: Documentation.pdf - API overview
Full documentation: To generate complete HTML documentation with search and examples:
# Install DocFX
dotnet tool install -g docfx
# Install Node.js (required for full documentation)
Download from: https://nodejs.org/
# Clone and build the project
git clone https://github.com/userKDO/KeplerSolver.git
cd KeplerSolver
dotnet build
# Generate and serve documentation
cd docs
docfx init
# When prompted:
# - Name: KeplerSolverDocs
# - Generate .NET API: y
# - .NET projects location: ../KeplerSolver.csproj
# - Use default values for other options
# Generate and serve documentation
docfx docfx.json --serve
# Opens http://localhost:8080 with full documentation// Create a satellite
var satellite = new Satellite
{
Name = "ISS",
Altitude = 400,
Inclination = 51.6
};
// Calculate orbital period
var period = OrbitalCalculator.OrbitalPeriodviaHeight(satellite, Planet.Earth);## in the reopository folder:
cd KeplerSolver.App
dotnet run
## Then you will see main program GUI## In the Repo directory:
cd KeplerSolver.Tests
dotnet run
## Then you will see GUI for testsdotnet add package KeplerSolverYou can add your own tests in mathTests.cs if you wanna tests your new methods or if you think that my tests are shit If you think that my tests are shit, pls send me your test I'll be very glad to check and upgrade my library