summaryrefslogtreecommitdiff
path: root/digital/io-hub/src/robospierre/element.h
diff options
context:
space:
mode:
Diffstat (limited to 'digital/io-hub/src/robospierre/element.h')
-rw-r--r--digital/io-hub/src/robospierre/element.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/digital/io-hub/src/robospierre/element.h b/digital/io-hub/src/robospierre/element.h
index fa9fced7..07cb3b6b 100644
--- a/digital/io-hub/src/robospierre/element.h
+++ b/digital/io-hub/src/robospierre/element.h
@@ -181,4 +181,12 @@ element_get (uint8_t element_id)
return element_table[element_id];
}
+/** Return whether an element is blocking a line segment.
+ * - a: line segment first point.
+ * - b: line segment second point.
+ * - ab: line segment length.
+ * - returns: 1 if the path should not be used. */
+uint8_t
+element_blocking_path (vect_t a, vect_t b, int16_t ab);
+
#endif /* element_h */