aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/contourpy/src/z_interp.h
diff options
context:
space:
mode:
authorshumkovnd <shumkovnd@yandex-team.com>2023-11-10 14:39:34 +0300
committershumkovnd <shumkovnd@yandex-team.com>2023-11-10 16:42:24 +0300
commit77eb2d3fdcec5c978c64e025ced2764c57c00285 (patch)
treec51edb0748ca8d4a08d7c7323312c27ba1a8b79a /contrib/python/contourpy/src/z_interp.h
parentdd6d20cadb65582270ac23f4b3b14ae189704b9d (diff)
downloadydb-77eb2d3fdcec5c978c64e025ced2764c57c00285.tar.gz
KIKIMR-19287: add task_stats_drawing script
Diffstat (limited to 'contrib/python/contourpy/src/z_interp.h')
-rw-r--r--contrib/python/contourpy/src/z_interp.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/contrib/python/contourpy/src/z_interp.h b/contrib/python/contourpy/src/z_interp.h
new file mode 100644
index 0000000000..76a7550be6
--- /dev/null
+++ b/contrib/python/contourpy/src/z_interp.h
@@ -0,0 +1,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