DataUtil
Public / Constants
GeoToGround
A converter from GeoPathSample to GroundPathSample.
Use this object as a prototype for creating a converted object that transforms vertical coordinates according to the geoid / DEM.
GroundToGeo
A converter from GroundPathSample to GeoPathSample.
Use this object as a prototype for creating a converted object that transforms vertical coordinates according to the geoid / DEM.
Public / Methods
Normalize
Normalizes the given angle range, so that RangeD.Start lies between [-180..180] and RangeD.End lies between [-180..180+360[.
Process
2 overloads
Processes the given value after reading it from a storage array.
Processes the given value before writing it to a storage array.
Unwrap
Unwraps the given angles, so that linear interpolation will take the short path.
For example:
first = 17 second = 220 result = second - 360 = -140
The long interpolation path would be from 17
to 220
, running over 203
degrees.
The short interpolation path would be from 17
to -140
, running over 157
degrees.