Method: When::Ephemeris::Datum#apparent_radius

Defined in:
lib/when_exe/ephemeris.rb

#apparent_radius(t, base = Earth) ⇒ Numeric

視半径 / CIRCLE

Parameters:

Returns:



1078
1079
1080
1081
# File 'lib/when_exe/ephemeris.rb', line 1078

def apparent_radius(t, base=Earth)
  target_coords = self.coords(t, base)
  asin(@surface_radius / (target_coords.radius * AU)) / CIRCLE
end