public class ScalarCesiumProperty extends CesiumProperty<Double>
CesiumProperty that writes values by evaluating a given Scalar.| Constructor and Description |
|---|
ScalarCesiumProperty()
Initializes a new instance.
|
ScalarCesiumProperty(Scalar scalar)
Initializes a new instance with the provided
Scalar. |
| Modifier and Type | Method and Description |
|---|---|
Duration |
getBackwardExtrapolationDuration()
Gets the amount of time to extrapolate backward before the property becomes undefined.
|
CesiumExtrapolationType |
getBackwardExtrapolationType()
Gets the type of extrapolation to perform when a value is requested at a time before any available samples.
|
Duration |
getForwardExtrapolationDuration()
Gets the amount of time to extrapolate forward before the property becomes undefined.
|
CesiumExtrapolationType |
getForwardExtrapolationType()
Gets the type of extrapolation to perform when a value is requested at a time after any available samples.
|
CesiumInterpolationAlgorithm |
getInterpolationAlgorithm()
Gets the algorithm to use for interpolation.
|
Integer |
getInterpolationDegree()
Gets the degree of the polynomial to use for interpolation.
|
Scalar |
getScalar()
Gets the scalar.
|
void |
setBackwardExtrapolationDuration(Duration value)
Sets the amount of time to extrapolate backward before the property becomes undefined.
|
void |
setBackwardExtrapolationType(CesiumExtrapolationType value)
Sets the type of extrapolation to perform when a value is requested at a time before any available samples.
|
void |
setForwardExtrapolationDuration(Duration value)
Sets the amount of time to extrapolate forward before the property becomes undefined.
|
void |
setForwardExtrapolationType(CesiumExtrapolationType value)
Sets the type of extrapolation to perform when a value is requested at a time after any available samples.
|
void |
setInterpolationAlgorithm(CesiumInterpolationAlgorithm value)
Sets the algorithm to use for interpolation.
|
void |
setInterpolationDegree(Integer value)
Sets the degree of the polynomial to use for interpolation.
|
void |
setScalar(Scalar value)
Sets the scalar.
|
static ScalarCesiumProperty |
toScalarCesiumProperty(Scalar value)
Converts a
Scalar to a ScalarCesiumProperty. |
createGenerators, toCesiumProperty, toCesiumProperty, toCesiumPropertypublic static ScalarCesiumProperty toScalarCesiumProperty(Scalar value)
Scalar to a ScalarCesiumProperty.value - The value to convert.ScalarCesiumProperty configured with the given Scalar,
or null if value is null.public final Scalar getScalar()
public final void setScalar(Scalar value)
@Nullable public final CesiumInterpolationAlgorithm getInterpolationAlgorithm()
null indicates that the value will not be specified in the CZML output.public final void setInterpolationAlgorithm(@Nullable CesiumInterpolationAlgorithm value)
null indicates that the value will not be specified in the CZML output.@Nullable public final Integer getInterpolationDegree()
null indicates that the value will not be specified in the CZML output.public final void setInterpolationDegree(@Nullable Integer value)
null indicates that the value will not be specified in the CZML output.@Nullable public final CesiumExtrapolationType getForwardExtrapolationType()
null indicates that the value will not be specified in the CZML output.public final void setForwardExtrapolationType(@Nullable CesiumExtrapolationType value)
null indicates that the value will not be specified in the CZML output.@Nullable public final Duration getForwardExtrapolationDuration()
null indicates that the value will not be specified in the CZML output.public final void setForwardExtrapolationDuration(@Nullable Duration value)
null indicates that the value will not be specified in the CZML output.@Nullable public final CesiumExtrapolationType getBackwardExtrapolationType()
null indicates that the value will not be specified in the CZML output.public final void setBackwardExtrapolationType(@Nullable CesiumExtrapolationType value)
null indicates that the value will not be specified in the CZML output.@Nullable public final Duration getBackwardExtrapolationDuration()
null indicates that the value will not be specified in the CZML output.public final void setBackwardExtrapolationDuration(@Nullable Duration value)
null indicates that the value will not be specified in the CZML output.