public class

FullPositionVector

extends Object
java.lang.Object
   ↳ com.commsignia.v2x.client.model.bsm.FullPositionVector

Class Overview

Represents the full position vector data element in a Basic safety message.

Summary

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
From class java.lang.Object

Public Constructors

public FullPositionVector ()

Creates a new instance.

Public Methods

public boolean equals (Object o)

public Date getDateTime ()

Returns the date and time associated with this vector.

Returns
  • date and time associated with this vector

public Double getHeading ()

Returns the heading.

Returns
  • heading in degrees

public long getLatitude ()

Returns the latitude.

Returns
  • latitude in 0.1 microdegrees

public long getLongitude ()

Returns the longitude.

Returns
  • longitude in 0.1 microdegrees

public Double getSpeed ()

Returns the speed.

Returns
  • speed in meters per second

public int hashCode ()

public void setDateTime (Date dateTime)

Sets the date and time associated with this vector.

Parameters
dateTime date and time associated with this vector

public void setHeading (Double heading)

Sets the heading.

Parameters
heading heading in degrees

public void setLatitude (long latitude)

Sets the latitude.

Parameters
latitude latitude in 0.1 microdegrees

public void setLongitude (long longitude)

Sets the longitude.

Parameters
longitude longitude in 0.1 microdegrees

public void setSpeed (Double speed)

Sets the speed.

Parameters
speed speed in meters per second

public String toString ()