예제 #1
0
 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);
 }
예제 #2
0
 public double GetDifferenceInRaHours(SkyPosition skyPosition)
 {
     return(DegreeUtils.GetDifferenceInRaHours(m_raHours, skyPosition.m_raHours));
 }