| Package | Description |
|---|---|
| net.maritimecloud.message |
Provides classes for serializing and deserializing messages.
|
| net.maritimecloud.util.geometry |
Contains geometry based utility classes.
|
| Modifier and Type | Field and Description |
|---|---|
static ValueSerializer<PositionTime> |
ValueSerializer.POSITION_TIME
A value serializer that can serialize instances of
PositionTime. |
| Modifier and Type | Method and Description |
|---|---|
PositionTime |
ValueReader.readPositionTime() |
PositionTime |
MessageReader.readPositionTime(int tag,
String name) |
PositionTime |
MessageReader.readPositionTime(int tag,
String name,
PositionTime defaultValue) |
| Modifier and Type | Method and Description |
|---|---|
PositionTime |
MessageReader.readPositionTime(int tag,
String name,
PositionTime defaultValue) |
void |
MessageWriter.writePositionTime(int tag,
String name,
PositionTime value) |
void |
ValueWriter.writePositionTime(PositionTime value) |
| Modifier and Type | Field and Description |
|---|---|
static MessageSerializer<PositionTime> |
PositionTime.SERIALIZER
A parser of PositionTime messages.
|
| Modifier and Type | Method and Description |
|---|---|
static PositionTime |
PositionTime.create(double latitude,
double longitude) |
static PositionTime |
PositionTime.create(double latitude,
double longitude,
long time)
Creates a new position from the specified latitude and longitude.
|
static PositionTime |
PositionTime.create(Position position,
long time) |
static PositionTime |
PositionTime.create(String pos) |
PositionTime |
PositionTime.extrapolatePosition(float cog,
float sog,
long time)
Calculate - using linear extrapolation (or dead reckoning) - a position based on known speed and course from this
position.
|
static PositionTime |
PositionTime.fromBinary(Binary b) |
abstract PositionTime |
PositionReader.getCurrentPosition()
Returns the current position and a timestamp for when the position was read.
|
PositionTime |
PositionTime.interpolatedPosition(PositionTime laterPosition,
long time)
Calculate - using linear interpolation - a position between this position and a specified.
|
static PositionTime |
PositionTime.readFrom(MessageReader r) |
PositionTime |
Position.withTime(long time)
Returns a new position time with this position added with the current time.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
PositionTime.equals(PositionTime other) |
static PositionReader |
PositionReader.fixedPosition(PositionTime positionTime)
Returns a reader that returns the same position and time every time.
|
PositionTime |
PositionTime.interpolatedPosition(PositionTime laterPosition,
long time)
Calculate - using linear interpolation - a position between this position and a specified.
|
Copyright © 2012–2015 Danish Maritime Authority. All rights reserved.