暦法オブジェクトに天体暦機能を提供する
天体の位置情報
t : ユリウス日(Terrestrial Time)または(Temporal)Positionオブジェクト system : 座標系 0 - When::Coordinates::Spatial::ECLIPTIC (黄道座標) 1 - When::Coordinates::Spatial::EQUATORIAL (赤道座標) 2 - When::Coordinates::Spatial::HORIZONTAL (地平座標) target : When::Ephemeris::CelestialObject 対象星 returns : When::Ephemeris::Coords
# File when/ephemeris.rb, line 1321 1321: def _coords(t, system, target) 1322: pos = target.coords(t, @location) 1323: pos = pos.y_to_r(t, @location) if system >= 1 1324: pos = pos.r_to_h(t, @location) if system >= 2 1325: return pos 1326: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.