public class

VDARLocalizationPrior

extends VDARPrior
java.lang.Object
   ↳ com.vidinoti.android.vdarsdk.VDARPrior
     ↳ com.vidinoti.android.vdarsdk.VDARLocalizationPrior

Class Overview

Represents a prior used to synchronize the local AR DB with models stored on the ARManager platforms. This prior actually represents the geographical location of where the user stands.

Summary

Public Constructors
VDARLocalizationPrior(float latitude, float longitude, float precision)
Create a new localization prior with the given content
VDARLocalizationPrior(float latitude, float longitude)
Create a new localization prior with the given content
Public Methods
boolean equals(Object o)
float getLatitude()
float getLongitude()
float getPrecision()
void setLatitude(float latitude)
void setLongitude(float longitude)
void setPrecision(float precision)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public VDARLocalizationPrior (float latitude, float longitude, float precision)

Create a new localization prior with the given content

Parameters
latitude The latitude of the user position
longitude The longitude of the user position
precision The precision of the position estimate

public VDARLocalizationPrior (float latitude, float longitude)

Create a new localization prior with the given content

Parameters
latitude The latitude of the user position
longitude The longitude of the user position

Public Methods

public boolean equals (Object o)

Since: API Level

public float getLatitude ()

Returns
  • The latitude of the user position

public float getLongitude ()

Returns
  • the longitude of the user position

public float getPrecision ()

Returns
  • the precision of the user position estimate (-1 if no precision information is available)

public void setLatitude (float latitude)

Parameters
latitude the latitude to set

public void setLongitude (float longitude)

Parameters
longitude the longitude to set

public void setPrecision (float precision)

Parameters
precision the precision of the user position estimate (-1 if no precision information is available)