aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--geom.hpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/geom.hpp b/geom.hpp
index c6e9a2f..cb8d583 100644
--- a/geom.hpp
+++ b/geom.hpp
@@ -178,5 +178,15 @@ struct angular_sector {
angular_sector(circarc i, circarc o) : inner(i), outer(o) {
assert(i.c.c == o.c.c);
}
+ bool is_in_sector(vec p) const{
+ //TODO
+ return false;
+ }
+
+ double dist(vec p) const{
+ if (is_in_sector(p)) return 0;
+ //TODO
+ return 29 ;
+ }
};
/* vim: set ts=4 sw=4 tw=0 noet :*/