Last change
on this file since 2730 was 2730, checked in by Takeshi Nakazato, 12 years ago |
New Development: No
JIRA Issue: Yes CAS-4770
Ready for Test: Yes
Interface Changes: 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...
Rewrite implementations for locator and interpolator.
Documentation (doxygen format) is added to header files.
|
File size:
830 bytes
|
Rev | Line | |
---|
[2727] | 1 | //
|
---|
| 2 | // C++ Interface: LinearInterpolator1D
|
---|
| 3 | //
|
---|
| 4 | // Description:
|
---|
| 5 | //
|
---|
| 6 | //
|
---|
| 7 | // Author: Takeshi Nakazato <takeshi.nakazato@nao.ac.jp>, (C) 2012
|
---|
| 8 | //
|
---|
| 9 | // Copyright: See COPYING file that comes with this distribution
|
---|
| 10 | //
|
---|
| 11 | //
|
---|
| 12 | #ifndef ASAP_LINEAR_INTERPOLATOR_1D_H
|
---|
| 13 | #define ASAP_LINEAR_INTERPOLATOR_1D_H
|
---|
| 14 |
|
---|
| 15 | #include "Interpolator1D.h"
|
---|
| 16 |
|
---|
| 17 | namespace asap {
|
---|
| 18 |
|
---|
| 19 | /**
|
---|
[2730] | 20 | * Implementation of linear interpolation
|
---|
[2727] | 21 | * @author TakeshiNakazato
|
---|
| 22 | */
|
---|
| 23 | class LinearInterpolator1D : public Interpolator1D {
|
---|
| 24 | public:
|
---|
[2730] | 25 | // Default constructor.
|
---|
[2727] | 26 | LinearInterpolator1D();
|
---|
| 27 |
|
---|
[2730] | 28 | // Destructor.
|
---|
[2727] | 29 | virtual ~LinearInterpolator1D();
|
---|
| 30 |
|
---|
[2730] | 31 | // Perform interpolation.
|
---|
| 32 | // @param[in] x horizontal location where the value is evaluated
|
---|
| 33 | // by interpolation.
|
---|
| 34 | // @return interpolated value at x.
|
---|
| 35 | // @see Interpolator1D::interpolate()
|
---|
[2727] | 36 | float interpolate(double x);
|
---|
| 37 | };
|
---|
| 38 |
|
---|
| 39 | }
|
---|
| 40 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.