public class

GeographicLocationContainer

extends Object
java.lang.Object
   ↳ com.commsignia.v2x.client.model.ivi.GeographicLocationContainer

Class Overview

Model representation of Geograpical Location Container (GLC)

Summary

Public Constructors
GeographicLocationContainer()
Public Methods
Double getHeading(DegreeUnit unit)
Returns the heading in the specified units.
Double getHeadingConfidence(DegreeUnit confidenceUnit)
Returns the heading confidence value.
List<GlcPart> getParts()
Returns the GLC parts.
ReferencePos getReferencePosition()
Returns the reference position.
Date getReferencePositionTime()
Returns the reference position time.
Double getSpeed(SpeedUnit unit)
Returns the speed in the specified unit.
Double getSpeedConfidence(SpeedUnit confidenceUnit)
Returns the speed confidence value.
void setHeading(double heading, DegreeUnit headingUnit, double confidenceWithin, DegreeUnit confidenceUnit)
Sets the heading
void setHeading(double heading, DegreeUnit headingUnit)
Sets the heading
void setParts(List<GlcPart> parts)
Sets the glc parts.
void setReferencePosition(ReferencePos referencePosition)
Set the reference position
void setReferencePositionTime(Date referencePositionTime)
void setSpeed(double speed, SpeedUnit speedUnit)
Sets the speed.
void setSpeed(double speed, SpeedUnit speedUnit, double confidenceWithin, SpeedUnit confidenceUnit)
Sets the speed.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public GeographicLocationContainer ()

Public Methods

public Double getHeading (DegreeUnit unit)

Returns the heading in the specified units.

Parameters
unit target unit
Returns
  • heading in the specified units

public Double getHeadingConfidence (DegreeUnit confidenceUnit)

Returns the heading confidence value.

Returns
  • heading confidence value

public List<GlcPart> getParts ()

Returns the GLC parts.

Returns
  • glc parts

public ReferencePos getReferencePosition ()

Returns the reference position.

Returns
  • the reference position object it containts

public Date getReferencePositionTime ()

Returns the reference position time.

Returns
  • a specific instant in time for reference position

public Double getSpeed (SpeedUnit unit)

Returns the speed in the specified unit.

Parameters
unit target unit
Returns
  • speed in the specified unit.

public Double getSpeedConfidence (SpeedUnit confidenceUnit)

Returns the speed confidence value.

Parameters
confidenceUnit target measurement unit
Returns
  • speed confidence value

public void setHeading (double heading, DegreeUnit headingUnit, double confidenceWithin, DegreeUnit confidenceUnit)

Sets the heading

Parameters
heading heading value
headingUnit heading unit
confidenceWithin heading confidence equal or within this value
confidenceUnit unit of heading confidence

public void setHeading (double heading, DegreeUnit headingUnit)

Sets the heading

Parameters
heading heading value
headingUnit heading unit

public void setParts (List<GlcPart> parts)

Sets the glc parts.

Parameters
parts as the list of glc parts

public void setReferencePosition (ReferencePos referencePosition)

Set the reference position

Parameters
referencePosition is the reference position

public void setReferencePositionTime (Date referencePositionTime)

public void setSpeed (double speed, SpeedUnit speedUnit)

Sets the speed.

Parameters
speed speed value

public void setSpeed (double speed, SpeedUnit speedUnit, double confidenceWithin, SpeedUnit confidenceUnit)

Sets the speed.

Parameters
speed speed value
speedUnit speed unit
confidenceWithin speed confidence equal or within this value
confidenceUnit unit of speed confidence