PositionPropertyArray

new Cesium.PositionPropertyArray(value, referenceFrame)

一个 Property,其值是一个数组,其项是计算值 的其他 PositionProperty 实例。
Name Type Default Description
value Array.<Property> optional Property 实例的数组。
referenceFrame ReferenceFrame ReferenceFrame.FIXED optional 定义位置的参考系。

Members

获取此属性的定义发生更改时引发的事件。 每当使用不同的数据调用 setValue 时,定义都会更改 时,当前值或数组中的某个属性也会更改。
获取一个值,该值指示此属性是否为 constant。 此属性 如果数组中的所有属性项都是常量,则被视为常量。
获取定义位置的参考帧。
Default Value: ReferenceFrame.FIXED;

Methods

Compares this property to the provided property and returns true,否则为false
Name Type Description
other Property optional The other property.
Returns:
true如果左和右相等,否则false
Gets the value of the property.
Name Type Default Description
time JulianDate JulianDate.now() optional The time for which to retrieve the value. If omitted, the current system time is used.
result Array.<Cartesian3> optional The object to store the value into, if omitted, a new instance is created and returned.
Returns:
修改后的结果参数 or a new instance if the result parameter was not supplied.

getValueInReferenceFrame(time, referenceFrame, result)Array.<Cartesian3>

Gets the value of the property at the provided time and in the provided reference frame.
Name Type Description
time JulianDate The time for which to retrieve the value.
referenceFrame ReferenceFrame The desired referenceFrame of the result.
result Array.<Cartesian3> optional The object to store the value into, if omitted, a new instance is created and returned.
Returns:
修改后的结果参数 or a new instance if the result parameter was not supplied.
Sets the value of the property.
Name Type Description
value Array.<Property> An array of Property instances.
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.