TracktionEngine
Public Member Functions | List of all members
tracktion::engine::Spline Struct Reference

An interpolated spline curve, used by the EQ to draw its response graph. More...

Public Member Functions

int getNumPoints () const noexcept
 
juce::Point< float > getPoint (int index) const
 
float getY (float x) const
 
void clear ()
 
void removePoint (int index)
 
void addPoint (float x, float y)
 

Detailed Description

An interpolated spline curve, used by the EQ to draw its response graph.

Member Function Documentation

◆ getNumPoints()

int tracktion::engine::Spline::getNumPoints ( ) const
noexcept

◆ getPoint()

juce::Point<float> tracktion::engine::Spline::getPoint ( int  index) const

◆ getY()

float tracktion::engine::Spline::getY ( float  x) const

◆ clear()

void tracktion::engine::Spline::clear ( )

◆ removePoint()

void tracktion::engine::Spline::removePoint ( int  index)

◆ addPoint()

void tracktion::engine::Spline::addPoint ( float  x,
float  y 
)

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