|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HDGSentence
Vessel heading with magnetic deviation and variation.
Example:$HCHDG,205.2,,,2.7,W
Field Summary |
---|
Fields inherited from interface net.sf.marineapi.nmea.sentence.Sentence |
---|
ALTERNATIVE_BEGIN_CHAR, BEGIN_CHAR, CHECKSUM_DELIMITER, FIELD_DELIMITER, MAX_LENGTH, TERMINATOR |
Method Summary | |
---|---|
double |
getDeviation()
Get magnetic deviation. |
double |
getVariation()
Get magnetic variation. |
void |
setDeviation(double deviation)
Set magnetic deviation. |
void |
setVariation(double variation)
Set magnetic variation. |
Methods inherited from interface net.sf.marineapi.nmea.sentence.HeadingSentence |
---|
getHeading, isTrue, setHeading |
Methods inherited from interface net.sf.marineapi.nmea.sentence.Sentence |
---|
getBeginChar, getFieldCount, getSentenceId, getTalkerId, isProprietary, isValid, reset, setBeginChar, setTalkerId, toSentence, toSentence, toString |
Method Detail |
---|
double getDeviation()
double getVariation()
void setDeviation(double deviation)
deviation
- Deviation, in degrees.
IllegalArgumentException
- If value is out of range [-180..180].void setVariation(double variation)
variation
- Variation, in degrees.
IllegalArgumentException
- If value is out of range [-180..180].
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |