diff options
author | Jean Fabre-Monplaisir <jean-isaac-fm@live.fr> | 2015-01-08 19:05:44 +0100 |
---|---|---|
committer | Jean Fabre-Monplaisir <jean-isaac-fm@live.fr> | 2015-01-08 19:05:44 +0100 |
commit | dc919c8f4ecb4bf1ce95148884f23a463c44d666 (patch) | |
tree | 8c34135543c0b0f46b81068e6eef249a2fe219cc | |
parent | 37cb25031b878c615f515bc1e66bd0361ac5e598 (diff) | |
download | Robotique-Projet-dc919c8f4ecb4bf1ce95148884f23a463c44d666.tar.gz Robotique-Projet-dc919c8f4ecb4bf1ce95148884f23a463c44d666.zip |
Add prototype
-rw-r--r-- | geom.hpp | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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 :*/ |