Package com.irurueta.navigation.indoor
Class WifiAccessPointLocated<P extends com.irurueta.geometry.Point<?>>
java.lang.Object
com.irurueta.navigation.indoor.WifiAccessPoint
com.irurueta.navigation.indoor.WifiAccessPointLocated<P>
- Type Parameters:
P- aPointtype.
- All Implemented Interfaces:
RadioSource,RadioSourceLocated<P>,Serializable
- Direct Known Subclasses:
WifiAccessPointLocated2D,WifiAccessPointLocated3D
public abstract class WifiAccessPointLocated<P extends com.irurueta.geometry.Point<?>>
extends WifiAccessPoint
implements RadioSourceLocated<P>
Data related to a Wi-Fi access point whose location is known.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate PPosition where access point is located.private com.irurueta.algebra.MatrixCovariance of inhomogeneous coordinates of current position (if available). -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedEmpty constructor.protectedWifiAccessPointLocated(String bssid, double frequency, String ssid, P position) Constructor.protectedWifiAccessPointLocated(String bssid, double frequency, String ssid, P position, com.irurueta.algebra.Matrix positionCovariance) Constructor.protectedWifiAccessPointLocated(String bssid, double frequency, P position) Constructor.protectedWifiAccessPointLocated(String bssid, double frequency, P position, com.irurueta.algebra.Matrix positionCovariance) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGets position where access point is located.com.irurueta.algebra.MatrixGets covariance of inhomogeneous coordinates of current position (if available).Methods inherited from class com.irurueta.navigation.indoor.WifiAccessPoint
equals, getBssid, getFrequency, getSsid, getType, hashCode
-
Field Details
-
position
Position where access point is located. -
positionCovariance
private com.irurueta.algebra.Matrix positionCovarianceCovariance of inhomogeneous coordinates of current position (if available).
-
-
Constructor Details
-
WifiAccessPointLocated
Constructor.- Parameters:
bssid- basic service set identifier of this access point in the form of a six-byte MAC address: xx:xx:xx:xx:xx:xx.frequency- frequency used by this Access Point (expressed in Hz).position- position where access point is located.- Throws:
IllegalArgumentException- if either BSSID or position are null or frequency is negative.
-
WifiAccessPointLocated
Constructor.- Parameters:
bssid- basic service set identifier of this access point in the form of a six-byte MAC address: xx:xx:xx:xx:xx:xx.frequency- frequency used by this Access Point (expressed in Hz).ssid- service set identifier (SSID) of this 802.11 network.position- position where access point is located.- Throws:
IllegalArgumentException- if either BSSID or position are null or frequency is negative.
-
WifiAccessPointLocated
protected WifiAccessPointLocated(String bssid, double frequency, P position, com.irurueta.algebra.Matrix positionCovariance) Constructor.- Parameters:
bssid- basic service set identifier of this access point in the form of a six-byte MAC address: xx:xx:xx:xx:xx:xx.frequency- frequency used by this Access Point (expressed in Hz).position- position where access point is located.positionCovariance- covariance of inhomogeneous coordinates of current position (if available).- Throws:
IllegalArgumentException- if either BSSID or position are null or frequency is negative, or covariance does not have proper size.
-
WifiAccessPointLocated
protected WifiAccessPointLocated(String bssid, double frequency, String ssid, P position, com.irurueta.algebra.Matrix positionCovariance) Constructor.- Parameters:
bssid- basic service set identifier of this access point in the form of a six-byte MAC address: xx:xx:xx:xx:xx:xx.frequency- frequency used by this Access Point (expressed in Hz).ssid- service set identifier (SSID) of this 802.11 network.position- position where access point is located.positionCovariance- covariance of inhomogeneous coordinates of current position (if available).- Throws:
IllegalArgumentException- if either BSSID or position are null or frequency is negative, or covariance does not have proper size.
-
WifiAccessPointLocated
protected WifiAccessPointLocated()Empty constructor.
-
-
Method Details
-
getPosition
Gets position where access point is located.- Specified by:
getPositionin interfaceRadioSourceLocated<P extends com.irurueta.geometry.Point<?>>- Returns:
- position where access point is located.
-
getPositionCovariance
public com.irurueta.algebra.Matrix getPositionCovariance()Gets covariance of inhomogeneous coordinates of current position (if available).- Specified by:
getPositionCovariancein interfaceRadioSourceLocated<P extends com.irurueta.geometry.Point<?>>- Returns:
- covariance of position or null.
-