A position property that reads from a
EphemerisRingBuffer being
filled by live streaming data. Designed for 3x-realtime WebSocket streams
with clock-locked playback.
The valid time range is a sliding window that advances as new data arrives.
Implements the full PositionProperty interface so that
`viewer.trackedEntity` works identically to SampledPositionProperty.
| Name | Type | Default | Description |
|---|---|---|---|
ringBuffer |
EphemerisRingBuffer | The ring buffer to read from. | |
referenceFrame |
ReferenceFrame |
ReferenceFrame.FIXED
|
optional Reference frame. |
Members
readonly ringBuffer : EphemerisRingBuffer
The ring buffer backing this property.
Methods
Compares this property to the provided property.
| Name | Type | Description |
|---|---|---|
other |
PositionProperty | optional The other property. |
Returns:
True if the properties are equal.
getValue(time, result) → Cartesian3|undefined
Gets the position at the provided time in the FIXED frame.
| Name | Type | Description |
|---|---|---|
time |
JulianDate | The time. |
result |
Cartesian3 | optional The object to store the value. |
Returns:
The position, or undefined if outside
the valid streaming window.
getValueInReferenceFrame(time, referenceFrame, result) → Cartesian3|undefined
Gets the position at the provided time in the provided reference frame.
| Name | Type | Description |
|---|---|---|
time |
JulianDate | The time. |
referenceFrame |
ReferenceFrame | The desired reference frame. |
result |
Cartesian3 | optional The object to store the value. |
Returns:
The position, or undefined if outside
the valid streaming window.