public class AisVesselPosition extends AisReport
| Modifier and Type | Field and Description |
|---|---|
protected Double |
cog
The Cog.
|
protected Double |
heading
The Heading.
|
protected dk.dma.enav.model.geometry.Position |
pos
The Pos.
|
protected byte |
posAcc
The Pos acc.
|
protected byte |
raim
The Raim.
|
protected Double |
sog
The Sog.
|
protected byte |
utcSec
The Utc sec.
|
created, mmsi, received, sourceTimestamp| Constructor and Description |
|---|
AisVesselPosition()
Instantiates a new Ais vessel position.
|
| Modifier and Type | Method and Description |
|---|---|
Double |
getCog()
Gets cog.
|
Double |
getHeading()
Gets heading.
|
dk.dma.enav.model.geometry.Position |
getPos()
Gets pos.
|
byte |
getPosAcc()
Gets pos acc.
|
byte |
getRaim()
Gets raim.
|
Double |
getSog()
Gets sog.
|
byte |
getUtcSec()
Gets utc sec.
|
void |
setCog(Double cog)
Sets cog.
|
void |
setHeading(Double heading)
Sets heading.
|
void |
setPos(dk.dma.enav.model.geometry.Position pos)
Sets pos.
|
void |
setPosAcc(byte posAcc)
Sets pos acc.
|
void |
setRaim(byte raim)
Sets raim.
|
void |
setSog(Double sog)
Sets sog.
|
void |
setUtcSec(byte utcSec)
Sets utc sec.
|
void |
update(IVesselPositionMessage posMessage)
Update.
|
getCreated, getMmsi, getReceived, getSourceTimestamp, setCreated, setMmsi, setReceived, setSourceTimestamp, updateprotected Double sog
protected Double cog
protected Double heading
protected dk.dma.enav.model.geometry.Position pos
protected byte posAcc
protected byte utcSec
protected byte raim
public AisVesselPosition()
public void update(IVesselPositionMessage posMessage)
posMessage - the pos messagepublic Double getSog()
public void setSog(Double sog)
sog - the sogpublic Double getCog()
public void setCog(Double cog)
cog - the cogpublic Double getHeading()
public void setHeading(Double heading)
heading - the headingpublic dk.dma.enav.model.geometry.Position getPos()
public void setPos(dk.dma.enav.model.geometry.Position pos)
pos - the pospublic byte getPosAcc()
public void setPosAcc(byte posAcc)
posAcc - the pos accpublic byte getUtcSec()
public void setUtcSec(byte utcSec)
utcSec - the utc secpublic byte getRaim()
public void setRaim(byte raim)
raim - the raimCopyright © 2011–2019 Danish Maritime Authority. All rights reserved.