private void _Initialize(SkyPosition position1, SkyPosition position2) { m_position1 = position1; deltaRaArcSec = DegreeUtils.GetDifferenceInRaHours(position2.RaHours, position1.RaHours) * 15 * 3600; deltaDecArcSec = (position2.DecDeg - position1.DecDeg) * 3600; cosDec2 = Math.Cos(position2.Dec); }
public double GetDifferenceInRaHours(SkyPosition skyPosition) { return(DegreeUtils.GetDifferenceInRaHours(m_raHours, skyPosition.m_raHours)); }