MapLibre Native Core
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
mbgl::style::expression::CubicBezierInterpolator Class Reference

#include <interpolator.hpp>

Public Member Functions

 CubicBezierInterpolator (double x1_, double y1_, double x2_, double y2_)
 
double interpolationFactor (const Range< double > &inputLevels, const double input) const
 
bool operator== (const CubicBezierInterpolator &rhs) const
 

Public Attributes

util::UnitBezier ub
 

Detailed Description

Definition at line 31 of file interpolator.hpp.

Constructor & Destructor Documentation

◆ CubicBezierInterpolator()

mbgl::style::expression::CubicBezierInterpolator::CubicBezierInterpolator ( double  x1_,
double  y1_,
double  x2_,
double  y2_ 
)
inline

Definition at line 33 of file interpolator.hpp.

Member Function Documentation

◆ interpolationFactor()

double mbgl::style::expression::CubicBezierInterpolator::interpolationFactor ( const Range< double > &  inputLevels,
const double  input 
) const
inline

Definition at line 35 of file interpolator.hpp.

◆ operator==()

bool mbgl::style::expression::CubicBezierInterpolator::operator== ( const CubicBezierInterpolator rhs) const
inline

Definition at line 45 of file interpolator.hpp.

Member Data Documentation

◆ ub

util::UnitBezier mbgl::style::expression::CubicBezierInterpolator::ub

Definition at line 49 of file interpolator.hpp.


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