Module: Ephem::Segments::OrientationSource

Included in:
OrientationGroup, OrientationSegment
Defined in:
lib/ephem/segments/orientation_source.rb

Instance Method Summary collapse

Instance Method Details

#computeObject

Raises:

  • (NotImplementedError)


6
7
8
9
# File 'lib/ephem/segments/orientation_source.rb', line 6

def compute(*)
  raise NotImplementedError,
    "Use #angles_at or #orientation_at for orientation kernels"
end

#compute_and_differentiateObject

Raises:

  • (NotImplementedError)


11
12
13
14
# File 'lib/ephem/segments/orientation_source.rb', line 11

def compute_and_differentiate(*)
  raise NotImplementedError,
    "Use #orientation_at for orientation kernels"
end