接口 HeadingSentence

所有超级接口:
Sentence
所有已知子接口:
HDGSentence, HDMSentence, HDTSentence, HTDSentence, VHWSentence

public interface HeadingSentence extends Sentence
Interface for sentences that provide vessel's true or magnetic heading.
作者:
Kimmo Tuukkanen
  • 方法详细资料

    • getHeading

      double getHeading()
      Returns the vessel's current heading.
      返回:
      Heading in degrees.
      另请参阅:
    • isTrue

      boolean isTrue()
      Tells if the heading returned and set by getHeading() and setHeading(double) methods is true or magnetic .
      返回:
      true if true heading, otherwise false for magnetic heading.
    • setHeading

      void setHeading(double hdt)
      Sets the heading value.
      参数:
      hdt - Heading in degrees
      抛出:
      IllegalArgumentException - If heading value out of range [0..360]
      另请参阅: