@JsType(isNative=true, namespace="Cesium", name="CompositePositionProperty") public class CompositePositionProperty extends PositionProperty
Modifier and Type | Field and Description |
---|---|
TimeIntervalCollection |
intervals
Gets the interval collection.
|
referenceFrame
Constructor and Description |
---|
CompositePositionProperty()
A
CompositeProperty which is also a PositionProperty . |
CompositePositionProperty(Integer referenceFrame)
A
CompositeProperty which is also a PositionProperty . |
Modifier and Type | Method and Description |
---|---|
Cartesian3 |
getValueInReferenceFrame(JulianDate time,
Integer referenceFrame)
Gets the value of the property at the provided time and in the provided reference frame.
|
Cartesian3 |
getValueInReferenceFrame(JulianDate time,
Integer referenceFrame,
Cartesian3 result)
Gets the value of the property at the provided time and in the provided reference frame.
|
getValueInReferenceFrame, getValueInReferenceFrame
definitionChanged, equals, getValue, getValue, getValueOrUndefined, isConstant
@JsProperty public TimeIntervalCollection intervals
@JsConstructor public CompositePositionProperty()
CompositeProperty
which is also a PositionProperty
.@JsConstructor public CompositePositionProperty(Integer referenceFrame)
CompositeProperty
which is also a PositionProperty
.referenceFrame
- ReferenceFrame
The reference frame in which the position is defined.@JsMethod public Cartesian3 getValueInReferenceFrame(JulianDate time, Integer referenceFrame)
time
- The time for which to retrieve the value.referenceFrame
- ReferenceFrame
The desired referenceFrame of the result.@JsMethod public Cartesian3 getValueInReferenceFrame(JulianDate time, Integer referenceFrame, Cartesian3 result)
time
- The time for which to retrieve the value.referenceFrame
- ReferenceFrame
The desired referenceFrame of the result.result
- The object to store the value into, if omitted, a new instance is created and returned.Copyright © 2019. All rights reserved.