summaryrefslogtreecommitdiff
path: root/meme/slice.h
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2015-03-14 11:10:08 (GMT)
committerWerner Almesberger <werner@almesberger.net>2015-03-14 11:10:08 (GMT)
commit5063fcc259c3f5c485ade53ea2a1b1882bec2d30 (patch)
tree579fa96ebac862b54651c8f0aad219c43ae0a4c4 /meme/slice.h
parent7d70682e30d87204e1e441c7f6c7ecbd68fe1a07 (diff)
downloadmisc-5063fcc259c3f5c485ade53ea2a1b1882bec2d30.zip
misc-5063fcc259c3f5c485ade53ea2a1b1882bec2d30.tar.gz
misc-5063fcc259c3f5c485ade53ea2a1b1882bec2d30.tar.bz2
meme/: new option -s slice.gp for intersect the mesh with a plane (WIP)
Diffstat (limited to 'meme/slice.h')
-rw-r--r--meme/slice.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/meme/slice.h b/meme/slice.h
new file mode 100644
index 0000000..071fbf2
--- /dev/null
+++ b/meme/slice.h
@@ -0,0 +1,24 @@
+/*
+ * slice.h - Intersect the mesh with a plane
+ *
+ * Written 2015 by Werner Almesberger
+ * Copyright 2015 Werner Almesberger
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ */
+
+
+#ifndef SLICE_H
+#define SLICE_H
+
+#include <stdbool.h>
+
+
+void slice_run(void (*fn)(double x, double y, double z, bool last),
+ bool needle);
+void slice_load(const char *name);
+
+#endif /* !SLICE_H */