PCL
|
Linear interpolation algorithm. More...
#include <LinearInterpolation.h>
Public Member Functions | |
LinearInterpolation ()=default | |
LinearInterpolation (const LinearInterpolation &)=default | |
~LinearInterpolation () override | |
bool | IsValid () const override |
double | operator() (double x) const override |
Public Member Functions inherited from pcl::UnidimensionalInterpolation< double > | |
UnidimensionalInterpolation ()=default | |
UnidimensionalInterpolation (const UnidimensionalInterpolation &)=default | |
virtual | ~UnidimensionalInterpolation () |
virtual void | Clear () |
void | Initialize (const double *x, const double *y, int n) |
virtual void | Initialize (const vector_type &x, const vector_type &y) |
int | Length () const |
bool | UsingImplicitX () const |
const vector_type & | X () const |
const vector_type & | Y () const |
Additional Inherited Members | |
Public Types inherited from pcl::UnidimensionalInterpolation< double > | |
using | vector_type = GenericVector< double > |
The linear interpolation algorithm interpolates from two adjacent mapped source data items. It evaluates a linear function defined by the two adjacent points.
Definition at line 78 of file LinearInterpolation.h.
|
default |
Constructs a LinearInterpolation object.
|
default |
Copy constructor.
|
inlineoverride |
Destroys a LinearInterpolation object.
Definition at line 97 of file LinearInterpolation.h.
|
inlineoverridevirtual |
Returns true iff this interpolation is valid, i.e. if it has been correctly initialized and is ready to interpolate function values.
Reimplemented from pcl::UnidimensionalInterpolation< double >.
Definition at line 105 of file LinearInterpolation.h.
|
inlineoverridevirtual |
Interpolated value at x location.
Implements pcl::UnidimensionalInterpolation< double >.
Definition at line 113 of file LinearInterpolation.h.