Interface RoutePlot

All Known Implementing Classes:
RoutePlotQuestion, RoutePlotQuestionProfile

public interface RoutePlot
An interface to mark Route Plotting questions and question profiles.
Since:
2.3
Version:
2.3
Author:
Luke
  • Method Details

    • getAirportD

      Airport getAirportD()
      Returns the departure Airport for this route.
      Returns:
      the departure Airport bean
    • getAirportA

      Airport getAirportA()
      Returns the arrival Airport for this route.
      Returns:
      the arrival Airport bean
    • setAirportD

      void setAirportD(Airport a)
      Updates the departure Airport.
      Parameters:
      a - the departure Airport bean
    • setAirportA

      void setAirportA(Airport a)
      Updates the arrival Airport.
      Parameters:
      a - the arrival Airport bean
    • getMidPoint

      GeoLocation getMidPoint()
      Returns the mid-point between the two Airports.
      Returns:
      the midpoint
    • getDistance

      int getDistance()
      Returns the distance between the two Airports.
      Returns:
      the distance in miles