public class LongitudeDefinition extends BasicDimensionDefinition
Minimum bounds = -180 and maximum bounds = 180
max, min| Constructor and Description |
|---|
LongitudeDefinition()
Convenience constructor used to construct a longitude dimension object which sits on a
Cartesian plane.
|
| Modifier and Type | Method and Description |
|---|---|
void |
fromBinary(byte[] bytes) |
static double |
getNormalizedLongitude(double lon)
Normalizes a longitude value
|
BinRange[] |
getNormalizedRanges(NumericData range)
Method is used to normalize the ranges on a Cartesian plane.
|
byte[] |
toBinary() |
clamp, clamp, denormalize, equals, getBounds, getDenormalizedRange, getFixedBinIdSize, getFullRange, getRange, hashCode, normalizepublic LongitudeDefinition()
public BinRange[] getNormalizedRanges(NumericData range)
getNormalizedRanges in interface NumericDimensionDefinitiongetNormalizedRanges in class BasicDimensionDefinitionrange - the numeric range of our data setpublic static double getNormalizedLongitude(double lon)
lon - value to normalizepublic byte[] toBinary()
toBinary in interface PersistabletoBinary in class BasicDimensionDefinitionpublic void fromBinary(byte[] bytes)
fromBinary in interface PersistablefromBinary in class BasicDimensionDefinitionCopyright © 2013–2021. All rights reserved.