Go to the documentation of this file.
52 #ifndef __PCL_UnidimensionalInterpolation_h
53 #define __PCL_UnidimensionalInterpolation_h
58 #include <pcl/Diagnostics.h>
117 throw Error(
"Invalid vector length in UnidimensionalInterpolation::Initialize()" );
149 virtual double operator()(
double x )
const = 0;
215 #endif // __PCL_UnidimensionalInterpolation_h
virtual void Initialize(const vector_type &x, const vector_type &y)
A simple exception with an associated error message.
virtual bool IsValid() const
void Initialize(const T *x, const T *y, int n)
bool UsingImplicitX() const
const vector_type & Y() const
virtual ~UnidimensionalInterpolation()
int Length() const noexcept
const vector_type & X() const
A generic interface to one-dimensional interpolation algorithms.