net.aerith.misao.util
Interface MagnitudeFormula

All Known Implementing Classes:
CometaryMagnitudeFormula, AsteroidalMagnitudeFormula

public interface MagnitudeFormula

The MagnitudeFormula represents a formula to calculate the magnitude of a comet or an asteroid.


Method Summary
 double calculate(EphemerisRecord record, Orbit orbit)
          Calculates the magnitude.
 

Method Detail

calculate

public double calculate(EphemerisRecord record,
                        Orbit orbit)
Calculates the magnitude.
Parameters:
record - the ephemeris record.
orbit - the orbital elements.