Class SBDTypeCubicPolynomial< float >#
template <>
ClassList > SBDTypeCubicPolynomial< float >
Public Attributes#
Type | Name |
---|---|
float | c0 |
float | c0 |
float | c1 |
float | c1 |
float | c2 |
float | c2 |
float | c3 |
float | c3 |
double | endTime |
double | endTime |
double | startTime |
double | startTime |
Public Functions#
Type | Name |
---|---|
SBDTypeCubicPolynomial () |
|
SBDTypeCubicPolynomial (const float & c0, const float & c1, const float & c2, const float & c3, double startTime, double endTime) |
|
SBDTypeCubicPolynomial () |
|
SBDTypeCubicPolynomial (const float & c0, const float & c1, const float & c2, const float & c3, double startTime, double endTime) |
|
float | evaluate (double time) const |
float | evaluate (double time) const |
void | serialize (SBCSerializer * serializer, const SBVersionNumber & sdkVersionNumber=SB_SDK_VERSION_NUMBER) const Serializes the cubic polynomial using the provided serializer . This function can only be used when the template parameter is a physical quantity. |
void | serialize (SBCSerializer * serializer, const SBVersionNumber & sdkVersionNumber=SB_SDK_VERSION_NUMBER) const Serializes the cubic polynomial using the provided serializer . This function can only be used when the template parameter is a physical quantity. |
void | unserialize (SBCSerializer * serializer, const SBVersionNumber & sdkVersionNumber=SB_SDK_VERSION_NUMBER) Unserializes the physical interval using the provided serializer . This function can only be used when the template parameter is a physical quantity. |
void | unserialize (SBCSerializer * serializer, const SBVersionNumber & sdkVersionNumber=SB_SDK_VERSION_NUMBER) Unserializes the physical interval using the provided serializer . This function can only be used when the template parameter is a physical quantity. |
~SBDTypeCubicPolynomial () |
|
~SBDTypeCubicPolynomial () |
Public Static Functions#
Type | Name |
---|---|
SBVector< SBDTypeCubicPolynomial< float > > | interpolate (const SBVector< double > & timeVector, const SBVector< float > & valueVector) |
SBVector< SBDTypeCubicPolynomial< float > > | interpolate (const SBVector< double > & timeVector, const SBVector< float > & valueVector) |
Public Attributes Documentation#
variable c0 [1/2]#
variable c0 [2/2]#
variable c1 [1/2]#
variable c1 [2/2]#
variable c2 [1/2]#
variable c2 [2/2]#
variable c3 [1/2]#
variable c3 [2/2]#
variable endTime [1/2]#
variable endTime [2/2]#
variable startTime [1/2]#
variable startTime [2/2]#
Public Functions Documentation#
function SBDTypeCubicPolynomial [1/4]#
function SBDTypeCubicPolynomial [2/4]#
inline SBDTypeCubicPolynomial< float >::SBDTypeCubicPolynomial (
const float & c0,
const float & c1,
const float & c2,
const float & c3,
double startTime,
double endTime
)
function SBDTypeCubicPolynomial [3/4]#
function SBDTypeCubicPolynomial [4/4]#
inline SBDTypeCubicPolynomial< float >::SBDTypeCubicPolynomial (
const float & c0,
const float & c1,
const float & c2,
const float & c3,
double startTime,
double endTime
)
function evaluate [1/2]#
function evaluate [2/2]#
function serialize [1/2]#
Serializes the cubic polynomial using the provided serializer
. This function can only be used when the template parameter is a physical quantity.
inline void SBDTypeCubicPolynomial< float >::serialize (
SBCSerializer * serializer,
const SBVersionNumber & sdkVersionNumber=SB_SDK_VERSION_NUMBER
) const
function serialize [2/2]#
Serializes the cubic polynomial using the provided serializer
. This function can only be used when the template parameter is a physical quantity.
inline void SBDTypeCubicPolynomial< float >::serialize (
SBCSerializer * serializer,
const SBVersionNumber & sdkVersionNumber=SB_SDK_VERSION_NUMBER
) const
function unserialize [1/2]#
Unserializes the physical interval using the provided serializer
. This function can only be used when the template parameter is a physical quantity.
inline void SBDTypeCubicPolynomial< float >::unserialize (
SBCSerializer * serializer,
const SBVersionNumber & sdkVersionNumber=SB_SDK_VERSION_NUMBER
)
function unserialize [2/2]#
Unserializes the physical interval using the provided serializer
. This function can only be used when the template parameter is a physical quantity.
inline void SBDTypeCubicPolynomial< float >::unserialize (
SBCSerializer * serializer,
const SBVersionNumber & sdkVersionNumber=SB_SDK_VERSION_NUMBER
)
function ~SBDTypeCubicPolynomial [1/2]#
function ~SBDTypeCubicPolynomial [2/2]#
Public Static Functions Documentation#
function interpolate [1/2]#
static inline SBVector< SBDTypeCubicPolynomial < float > > SBDTypeCubicPolynomial< float >::interpolate (
const SBVector< double > & timeVector,
const SBVector< float > & valueVector
)
function interpolate [2/2]#
static inline SBVector< SBDTypeCubicPolynomial < float > > SBDTypeCubicPolynomial< float >::interpolate (
const SBVector< double > & timeVector,
const SBVector< float > & valueVector
)