new CompositePositionProperty
A CompositeProperty which is also a PositionProperty.
Members
-
intervals :TimeIntervalCollection
-
Gets the interval collection.
-
referenceFrame :{ReferenceFrame} The preferred reference frame.
-
Gets or sets the reference frame which this position presents itself as. Each PositionProperty making up this object has it's own reference frame, so this property merely exposes a "preferred" reference frame for clients to use.
Methods
-
equals
-
Compares this property to the provided property and returns
true
if they are equal,false
otherwise.Parameters:
Name Type Argument Description other
Property <optional>
The other property. Returns:
Booleantrue
if left and right are equal,false
otherwise. -
getValue
-
Gets the value of the property at the provided time in the fixed frame.
Parameters:
Name Type Argument Description time
JulianDate The time for which to retrieve the value. result
Object <optional>
The object to store the value into, if omitted, a new instance is created and returned. Throws:
DeveloperError : time is required.Returns:
Object The modified result parameter or a new instance if the result parameter was not supplied. -
getValueInReferenceFrame
-
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:
-
DeveloperError : time is required.
-
DeveloperError : referenceFrame is required.
Returns:
Cartesian3 The modified result parameter or a new instance if the result parameter was not supplied. -
-
<static> TimeIntervalCollectionPositionProperty#getValue
-
Gets the value of the property at the provided time in the fixed frame.
Parameters:
Name Type Argument Description time
JulianDate The time for which to retrieve the value. result
Object <optional>
The object to store the value into, if omitted, a new instance is created and returned. Throws:
DeveloperError : time is required.Returns:
Object The modified result parameter or a new instance if the result parameter was not supplied. -
<static> TimeIntervalCollectionPositionProperty#getValueInReferenceFrame
-
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:
-
DeveloperError : time is required.
-
DeveloperError : referenceFrame is required.
Returns:
Cartesian3 The modified result parameter or a new instance if the result parameter was not supplied. -