public CrdsGeographical(DMS longitude, DMS latitude, double utcOffset = 0, double elevation = 0) : this(longitude.ToDecimalAngle(), latitude.ToDecimalAngle(), utcOffset, elevation) { }
/// <summary> /// Creates a pair of equatorial coordinates with provided values of Right Ascension and Declination. /// </summary> /// <param name="alpha">Right Ascension value, expressed in hours, minutes and seconds.</param> /// <param name="delta">Declination value, expressed in degrees, minutes and seconds.</param> public CrdsEquatorial(HMS alpha, DMS delta) { Alpha = alpha.ToDecimalAngle(); Delta = delta.ToDecimalAngle(); }
/// <summary> /// Creates new ecliptical coordinates. /// </summary> /// <param name="lambda">Ecliptical longitude, in degrees. Measured from the vernal equinox along the ecliptic.</param> /// <param name="beta">Ecliptical latitude, in degrees. Positive if north of the ecliptic, negative if south.</param> /// <param name="distance">Distance from the Sun, in astronomical units.</param> public CrdsEcliptical(DMS lambda, DMS beta, double distance = 0) { Lambda = lambda.ToDecimalAngle(); Beta = beta.ToDecimalAngle(); Distance = distance; }
public CrdsGalactical(DMS lon, DMS lat) { l = lon.ToDecimalAngle(); b = lat.ToDecimalAngle(); }