CzmlCartographic
Provides methods for working with a Cartographic defined in CZML.
Members
-
<static> doublesPerInterpolationValue
-
The number of doubles per packed value used for interpolation.
-
<static> doublesPerValue
-
The number of doubles per packed Cartographic value.
Methods
-
<static> getValue
-
Given a non-sampled unwrapped interval, returns a Cartographic instance of the data.
Parameters:
Name Type Description unwrappedIntervalObject The result of CzmlCartographic.unwrapInterval. resultCartographic The object to store the result in, if undefined a new instance will be created. Returns:
The modified result parameter or a new Cartographic instance if result was not defined. -
<static> getValueFromArray
-
Given a packed array of longitude, latitude, and height values, extracts a Cartographic instance.
Parameters:
Name Type Description arrayArray A packed array of Cartographic values, where every three elements represents a Cartographic. startingIndexNumber The index into the array that contains the longitude value of the Cartographic you would like. resultCartographic The object to store the result in, if undefined a new instance will be created. Returns:
The modified result parameter or a new Cartographic instance if result was not defined. -
<static> isSampled
-
Returns true if this interval represents data that should be interpolated by the client or false if it's a single value.
Parameters:
Name Type Description unwrappedIntervalObject The result of CzmlCartographic.unwrapInterval. -
<static> unwrapInterval
-
Returns the packed Cartographic representation contained within the provided CZML interval or undefined if the interval does not contain Cartographic data.
Parameters:
Name Type Description czmlIntervalObject The CZML interval to unwrap.
