java.lang.Object | |
↳ | com.commsignia.v2x.client.model.ReferencePos |
Represents a reference position.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ReferencePos()
Create a new instance.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Double |
getAltitude(LengthUnit unit)
Returns the altitude of the reference position.
| ||||||||||
AltConfidence |
getAltitudeConfidence()
Returns the altitude confidence of the reference position.
| ||||||||||
Double |
getHeading(DegreeUnit unit)
Returns the heading value of the reference position.
| ||||||||||
Double |
getHeadingConfidence(DegreeUnit unit)
Returns the heading confidence of the reference position.
| ||||||||||
Long |
getLatitude()
Returns the latitude of the reference position.
| ||||||||||
Long |
getLongitude()
Returns the longitude of the geographical position.
| ||||||||||
Double |
getSemiMajorConfidence(LengthUnit unit)
Returns the semi major confidence of the reference position.
| ||||||||||
Double |
getSemiMinorConfidence(LengthUnit unit)
Returns the semi minor confidence of the reference position.
| ||||||||||
boolean |
hasAltitude()
Returns true if the altitude value has been set.
| ||||||||||
boolean |
hasHeading()
Returns true if the heading value is set.
| ||||||||||
boolean |
hasHeadingConfidence()
Returns true if the heading confidence is set.
| ||||||||||
boolean |
hasSemiMajorConfidence()
Returns true if the semi major confidence is set.
| ||||||||||
boolean |
hasSemiMinorConfidence()
Retruns true if the semi minor confidence is set.
| ||||||||||
void |
setAltitude(double altitudeValue, LengthUnit altitudeUnit, AltConfidence altitudeConfidence)
Sets the altitude and altitude confidencec of the reference position.
| ||||||||||
void |
setAltitude(double altitudeValue, LengthUnit altitudeUnit)
Sets the altitude of the reference position.
| ||||||||||
void |
setAltitudeConfidence(AltConfidence altitudeConfidence)
Sets the altitude confidence of the reference position.
| ||||||||||
void |
setHeading(double heading, DegreeUnit headingUnit)
Sets the heading value of the reference position.
| ||||||||||
void |
setHeadingConfidence(double headingConfidence, DegreeUnit headingConfidenceUnit)
Sets the heading confidence of the reference position.
| ||||||||||
void |
setLatitude(Long latitude)
Sets the latitude of the reference position.
| ||||||||||
void |
setLongitude(Long longitude)
Sets the longitude of the reference position.
| ||||||||||
void |
setSemiMajorConfidence(double semiMajorConfidence, LengthUnit semiMajorConfidenceUnit)
Sets the semi major confidence of the reference position.
| ||||||||||
void |
setSemiMinorConfidence(double semiMinorConfidence, LengthUnit semiMinorConfidenceUnit)
Sets the semi minor confidence of the reference position.
| ||||||||||
String | toString() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Create a new instance.
Returns the altitude of the reference position.
unit | target unit |
---|
Returns the altitude confidence of the reference position.
Returns the heading value of the reference position.
unit | target unit |
---|
Returns the heading confidence of the reference position.
unit | target unit |
---|
Returns the latitude of the reference position.
Returns the longitude of the geographical position.
Returns the semi major confidence of the reference position.
unit | target unit |
---|
Returns the semi minor confidence of the reference position.
unit | target unit |
---|
Returns true if the altitude value has been set.
Returns true if the heading value is set.
Returns true if the heading confidence is set.
Returns true if the semi major confidence is set.
Retruns true if the semi minor confidence is set.
Sets the altitude and altitude confidencec of the reference position.
altitudeValue | altitude value |
---|---|
altitudeUnit | altitude unit |
altitudeConfidence | altitude confidence |
Sets the altitude of the reference position. Sets confidence to unavailable.
altitudeValue | altitude value |
---|---|
altitudeUnit | altitude unit |
Sets the altitude confidence of the reference position.
altitudeConfidence | altitude confidence |
---|
Sets the heading value of the reference position.
heading | heading value |
---|---|
headingUnit | heding unit |
Sets the heading confidence of the reference position.
headingConfidence | heading confidence of the reference position in 0.1 degrees |
---|
Sets the latitude of the reference position.
latitude | in 0.1 microdegrees |
---|
Sets the longitude of the reference position.
longitude | longitude in 0.1 microdegrees |
---|
Sets the semi major confidence of the reference position.
semiMajorConfidence | semi major confidence value |
---|---|
semiMajorConfidenceUnit | semi major confidence unit |
Sets the semi minor confidence of the reference position.
semiMinorConfidence | semi minor confidence value |
---|---|
semiMinorConfidenceUnit | semi minor confidence unit |