aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/contourpy/src/z_interp.cpp
blob: 92811ad0d02017e730451cfbb4d0f2fac0e26c74 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include "z_interp.h"
#include <iostream>

namespace contourpy {

std::ostream &operator<<(std::ostream &os, const ZInterp& z_interp)
{
    switch (z_interp) {
        case ZInterp::Linear:
            os << "Linear";
            break;
        case ZInterp::Log:
            os << "Log";
            break;
    }
    return os;
}

} // namespace contourpy