Web Analytics Made Easy - Statcounter
Skip to content

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]#

float SBDTypeCubicPolynomial< float >::c0;

variable c0 [2/2]#

float SBDTypeCubicPolynomial< float >::c0;

variable c1 [1/2]#

float SBDTypeCubicPolynomial< float >::c1;

variable c1 [2/2]#

float SBDTypeCubicPolynomial< float >::c1;

variable c2 [1/2]#

float SBDTypeCubicPolynomial< float >::c2;

variable c2 [2/2]#

float SBDTypeCubicPolynomial< float >::c2;

variable c3 [1/2]#

float SBDTypeCubicPolynomial< float >::c3;

variable c3 [2/2]#

float SBDTypeCubicPolynomial< float >::c3;

variable endTime [1/2]#

double SBDTypeCubicPolynomial< float >::endTime;

variable endTime [2/2]#

double SBDTypeCubicPolynomial< float >::endTime;

variable startTime [1/2]#

double SBDTypeCubicPolynomial< float >::startTime;

variable startTime [2/2]#

double SBDTypeCubicPolynomial< float >::startTime;

Public Functions Documentation#

function SBDTypeCubicPolynomial [1/4]#

inline SBDTypeCubicPolynomial< float >::SBDTypeCubicPolynomial () 

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]#

inline SBDTypeCubicPolynomial< float >::SBDTypeCubicPolynomial () 

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]#

inline float SBDTypeCubicPolynomial< float >::evaluate (
    double time
) const

function evaluate [2/2]#

inline float SBDTypeCubicPolynomial< float >::evaluate (
    double time
) const

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]#

inline SBDTypeCubicPolynomial< float >::~SBDTypeCubicPolynomial () 

function ~SBDTypeCubicPolynomial [2/2]#

inline SBDTypeCubicPolynomial< float >::~SBDTypeCubicPolynomial () 

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
)