ConstantPositionProperty

external class ConstantPositionProperty(value: Cartesian3? = definedExternally, var referenceFrame: ReferenceFrame = definedExternally)(source)

A PositionProperty whose value does not change in respect to the ReferenceFrame in which is it defined.

Parameters

value

The property value.

See also

Constructors

Link copied to clipboard
constructor(value: Cartesian3? = definedExternally, referenceFrame: ReferenceFrame = definedExternally)

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

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

The reference frame in which the position is defined. Default value - ReferenceFrame.FIXED

Functions

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

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

Link copied to clipboard
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.

Link copied to clipboard
fun setValue(value: Cartesian3, referenceFrame: ReferenceFrame? = definedExternally)

Sets the value of the property.