aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/contourpy/src/z_interp.h
blob: 76a7550be621fd19463cd9deb7e1360f124744c0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef CONTOURPY_Z_INTERP_H
#define CONTOURPY_Z_INTERP_H

#include <iosfwd>
#include <string>

namespace contourpy {

// Enum for type of interpolation used to find intersection of contour lines
// with grid cell edges.

// C++11 scoped enum, must be fully qualified to use.
enum class ZInterp
{
    Linear = 1,
    Log = 2
};

std::ostream &operator<<(std::ostream &os, const ZInterp& z_interp);

} // namespace contourpy

#endif // CONTOURPY_ZINTERP_H