接口 AISPositionInfo

所有超级接口:
AISMessage
所有已知子接口:
AISMessage01, AISMessage02, AISMessage03, AISMessage04, AISMessage09, AISMessage18, AISMessage19, AISMessage21, AISMessage27, AISPositionReport, AISPositionReportB

public interface AISPositionInfo extends AISMessage
Interface for all position information.
作者:
Lázár József
  • 方法详细资料

    • isAccurate

      boolean isAccurate()
      Tells if the position is accurate.
      返回:
      true if accurate (< 10 meters), otherwise false.
    • getLongitudeInDegrees

      double getLongitudeInDegrees()
      Returns the longitude in degrees.
      返回:
      Longitude, in degrees.
    • getLatitudeInDegrees

      double getLatitudeInDegrees()
      Returns the latitude in degrees.
      返回:
      Latitude, in degrees.
    • hasLongitude

      boolean hasLongitude()
      Tells if the longitude is available in the message. If not, getLongitudeInDegrees() may return an out-of-range value.
      返回:
      true if available, otherwise false.
    • hasLatitude

      boolean hasLatitude()
      Tells if the latitude is available in the message. If not, getLatitudeInDegrees() may return an out-of-range value.
      返回:
      true if available, otherwise false.