Ignore:
Timestamp:
01/16/13 20:00:01 (11 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: Yes CAS-4770

Ready for Test: Yes

Interface Changes: Yes/No?

What Interface Changed: Please list interface changes

Test Programs: List test programs

Put in Release Notes: Yes/No?

Module(s): Module Names change impacts.

Description: Describe your changes here...

Redefined Interpolator1D and derived classes as template class.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/NearestInterpolator1D.h

    r2730 r2733  
    3131 * @author TakeshiNakazato
    3232 */
    33 class NearestInterpolator1D : public Interpolator1D {
     33template <class T, class U>
     34class NearestInterpolator1D : public Interpolator1D<T, U> {
    3435public:
    3536  // Default constructor.
     
    4445  // @return interpolated value at x.
    4546  // @see Interpolator1D::interpolate()
    46   float interpolate(double x);
     47  U interpolate(T x);
    4748};
    4849
    4950}
     51
     52#include "NearestInterpolator1D.tcc"
     53
    5054#endif
Note: See TracChangeset for help on using the changeset viewer.