public class PoiLatitude extends AbstractRvtPoiAoiLatitude
Map -(2^31-1)..(2^31-1) to +/-90. Use -(2^31) as an "error" indicator. -(2^31) = 0x80000000.Resolution: ~42 nano degrees.
Required when sending a POI.
Constructor and Description |
---|
PoiLatitude(byte[] bytes)
Create from encoded bytes.
|
PoiLatitude(double degrees)
Create from value.
|
Modifier and Type | Method and Description |
---|---|
String |
getDisplayName()
Get the human-readable name for the value.
|
getBytes, getDegrees, getDisplayableValue
public PoiLatitude(double degrees)
degrees
- Latitude, in degrees [-90,90], or Double.POSITIVE_INFINITY
to
represent an error conditionpublic PoiLatitude(byte[] bytes)
bytes
- Latitude, encoded as a 4-byte intpublic final String getDisplayName()
IKlvValue
getDisplayName
in interface IKlvValue
getDisplayName
in class AbstractRvtPoiAoiLatitude
Copyright © 2022 West Ridge Systems. All rights reserved.