public class VectorCesiumProperty extends CesiumProperty<Cartesian>
CesiumProperty
that writes values by evaluating a given Vector
.
The given Vector
will be evaluated, and the calculated
Cartesian
values will be written to the document.
Constructor and Description |
---|
VectorCesiumProperty()
Initializes a new instance.
|
VectorCesiumProperty(Vector vector)
Initializes a new instance with the provided
Vector . |
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.
|
Vector |
getVector()
Gets the vector.
|
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 |
setVector(Vector value)
Sets the vector.
|
static VectorCesiumProperty |
toVectorCesiumProperty(Vector value)
Converts a
Vector to a VectorCesiumProperty . |
createGenerators, toCesiumProperty, toCesiumProperty, toCesiumProperty
public static VectorCesiumProperty toVectorCesiumProperty(Vector value)
Vector
to a VectorCesiumProperty
.value
- The value to convert.VectorCesiumProperty
configured with the given Vector
,
or null
if value
is null
.public final Vector getVector()
public final void setVector(Vector 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.