aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean Fabre-Monplaisir <jean-isaac-fm@live.fr>2015-01-08 19:05:44 +0100
committerJean Fabre-Monplaisir <jean-isaac-fm@live.fr>2015-01-08 19:05:44 +0100
commitdc919c8f4ecb4bf1ce95148884f23a463c44d666 (patch)
tree8c34135543c0b0f46b81068e6eef249a2fe219cc
parent37cb25031b878c615f515bc1e66bd0361ac5e598 (diff)
downloadRobotique-Projet-dc919c8f4ecb4bf1ce95148884f23a463c44d666.tar.gz
Robotique-Projet-dc919c8f4ecb4bf1ce95148884f23a463c44d666.zip
Add prototype
-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 :*/