PositionProperty

abstract external class PositionProperty(source)

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

See also

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Gets the event that is raised whenever the definition of this property changes. The definition is considered to have changed if a call to getValue would return a different result for the same time.

Link copied to clipboard
abstract val isConstant: Boolean

Gets a value indicating if this property is constant. A property is considered constant if getValue always returns the same result for the current definition.

Link copied to clipboard

Gets the reference frame that the position is defined in.

Functions

Link copied to clipboard
abstract fun getValue(time: JulianDate? = definedExternally, result: Cartesian3? = definedExternally): Cartesian3?

Gets the value of the property at the provided time in the fixed frame.

Link copied to clipboard
abstract fun getValueInReferenceFrame(time: JulianDate, referenceFrame: ReferenceFrame, result: Cartesian3? = definedExternally): Cartesian3?

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