java.lang.Object | |
↳ | com.commsignia.v2x.client.model.bsm.FullPositionVector |
Represents the full position vector data element in a Basic safety message.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
FullPositionVector()
Creates a new instance.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
boolean | equals(Object o) | ||||||||||
Date |
getDateTime()
Returns the date and time associated with this vector.
| ||||||||||
Double |
getHeading()
Returns the heading.
| ||||||||||
long |
getLatitude()
Returns the latitude.
| ||||||||||
long |
getLongitude()
Returns the longitude.
| ||||||||||
Double |
getSpeed()
Returns the speed.
| ||||||||||
int | hashCode() | ||||||||||
void |
setDateTime(Date dateTime)
Sets the date and time associated with this vector.
| ||||||||||
void |
setHeading(Double heading)
Sets the heading.
| ||||||||||
void |
setLatitude(long latitude)
Sets the latitude.
| ||||||||||
void |
setLongitude(long longitude)
Sets the longitude.
| ||||||||||
void |
setSpeed(Double speed)
Sets the speed.
| ||||||||||
String | toString() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Creates a new instance.
Returns the date and time associated with this vector.
Returns the heading.
Returns the latitude.
Returns the longitude.
Returns the speed.
Sets the date and time associated with this vector.
dateTime | date and time associated with this vector |
---|
Sets the heading.
heading | heading in degrees |
---|
Sets the latitude.
latitude | latitude in 0.1 microdegrees |
---|
Sets the longitude.
longitude | longitude in 0.1 microdegrees |
---|
Sets the speed.
speed | speed in meters per second |
---|