Пример #1
0
 public static ConstellationInfo GetConstellation(TimeCoordinate p, int ra, double dec)
 {
     return(Constellations.FirstOrDefault(c => c.TimeCoordinate == p && c.CoordRA == ra && c.CoordDEC == dec));
 }
Пример #2
0
 public static ConstellationInfo GetConstellation(int id)
 {
     return(Constellations.FirstOrDefault(info => info.Identifier == id));
 }