aboutsummaryrefslogtreecommitdiff
path: root/src/quad.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/quad.h')
-rw-r--r--src/quad.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/quad.h b/src/quad.h
new file mode 100644
index 0000000..730f45d
--- /dev/null
+++ b/src/quad.h
@@ -0,0 +1,14 @@
+#ifndef QUAD_H
+#define QUAD_H
+
+#include "event.h"
+#include <stdlib.h> /* for size_t */
+
+/* Maximum number of quad cloud points. */
+#define QUAD_MAX 10000
+
+extern char quad_err[256];
+
+int quad(event *ev, double *pos, double *t0, size_t npoints);
+
+#endif