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

namespace contourpy {

std::ostream &operator<<(std::ostream &os, const OuterOrHole& outer_or_hole)
{
    switch (outer_or_hole) {
        case Outer:
            os << "Outer";
            break;
        case Hole:
            os << "Hole";
            break;
    }
    return os;
}

} // namespace contourpy