CzmlPosition

CzmlPosition

Members

<static>

The number of doubles per packed value used for interpolation.

<static>

The number of doubles per packed Cartesian3 value.

Methods

<static>

Given a non-sampled unwrapped interval, returns a Cartesian3 instance of the data.

Parameters:
Name Type Description
unwrappedInterval Object The result of CzmlPosition.unwrapInterval.
result Cartesian3 The object to store the result in, if undefined a new instance will be created.
Returns:
The modified result parameter or a new Cartesian3 instance if result was not defined.

<static>

Given a packed array of x, y, and z values, extracts a Cartesian3 instance.

Parameters:
Name Type Description
array Array A packed array of Cartesian3 values, where every three elements represents a Cartesian3.
startingIndex Number The index into the array that contains the x value of the Cartesian3 you would like.
result Cartesian3 The object to store the result in, if undefined a new instance will be created.
Returns:
The modified result parameter or a new Cartesian3 instance if result was not defined.

<static>

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
unwrappedInterval Object The result of CzmlPosition.unwrapInterval.

<static>

Returns the packed Cartesian3 representation contained within the provided CZML interval or undefined if the interval does not contain Cartesian3 data.

Parameters:
Name Type Description
czmlInterval Object The CZML interval to unwrap.