PositionProperty

PositionProperty

new

The interface for all position Property objects. Position properties represent a world location as a Cartesian3 with an associated ReferenceFrame. This type defines an interface and cannot be instantiated directly.

See:
Source:

Members

Compares this property to the provided property and returns true if they are equal, false otherwise.

:ReferenceFrame

Gets the reference frame that the position is defined in.

Methods

Gets the value of the property at the provided time.

Parameters:
Name Type Argument Description
time JulianDate The time for which to retrieve the value.
result Cartesian3 <optional>
The object to store the value into, if omitted, a new instance is created and returned.
Throws:
DeveloperError : time is required.
Returns:
Cartesian3 The modified result parameter or a new instance if the result parameter was not supplied.

Gets the value of the property at the provided time and in the provided reference frame.

Parameters:
Name Type Argument Description
time JulianDate The time for which to retrieve the value.
referenceFrame ReferenceFrame The desired referenceFrame of the result.
result Cartesian3 <optional>
The object to store the value into, if omitted, a new instance is created and returned.
Throws:
Returns:
Cartesian3 The modified result parameter or a new instance if the result parameter was not supplied.