Skip to content

A .NET abstraction of the Swiss Ephemeris

Notifications You must be signed in to change notification settings

wangfujia/Mojave.Astrology

 
 

Repository files navigation

Mojave.Astrology

A .NET abstraction of the Swiss Ephemeris. Please see the Swiss Ephemeris for licensing information: http://www.astro.com/swisseph/

To use:

var factory = new ChartFactory();
var chart = factory.Calculate<NatalChart>(new DateTime(1990, 1, 6, 15, 4, 0), -83d, 42.5d, Points.Default);

foreach (var position in chart.Positions) {
   Console.WriteLine("{0}: {1} {2} {3}", position.Name, position.ToDegree(), position.ToSign(), position.ToSeconds());
}

foreach (var cusp in chart.Cusps) {
   Console.WriteLine("{0}: {1} {2} {3}", cusp.Name, cusp.ToDegree(), cusp.ToSign(), cusp.ToSeconds());
}

About

A .NET abstraction of the Swiss Ephemeris

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%