Etterna 0.74.4
Loading...
Searching...
No Matches
Classes | Public Member Functions | Public Attributes | List of all members
CubicSpline Struct Reference

Public Member Functions

void solve_looped ()
 
void solve_straight ()
 
void solve_polygonal ()
 
void p_and_tfrac_from_t (float t, bool loop, size_t &p, float &tfrac) const
 
auto evaluate (float t, bool loop) const -> float
 
auto evaluate_derivative (float t, bool loop) const -> float
 
auto evaluate_second_derivative (float t, bool loop) const -> float
 
auto evaluate_third_derivative (float t, bool loop) const -> float
 
void set_point (size_t i, float v)
 
void set_coefficients (size_t i, float b, float c, float d)
 
void get_coefficients (size_t i, float &b, float &c, float &d) const
 
void set_point_and_coefficients (size_t i, float a, float b, float c, float d)
 
void get_point_and_coefficients (size_t i, float &a, float &b, float &c, float &d) const
 
void resize (size_t s)
 
auto size () const -> size_t
 
auto empty () const -> bool
 

Public Attributes

float m_spatial_extent { 0.0F }
 

The documentation for this struct was generated from the following files: