aboutsummaryrefslogtreecommitdiff
path: root/geom.hpp
diff options
context:
space:
mode:
authorAlex Auvolat <alex.auvolat@ens.fr>2015-02-01 18:07:27 +0100
committerAlex Auvolat <alex.auvolat@ens.fr>2015-02-01 18:07:27 +0100
commitcacec4dbb8b5cc017b9c6d9975f8f792db13cc7a (patch)
tree00a3a31b475c678dbafca8b73f0ac26f14d15bfb /geom.hpp
parent29158da41e7943ea8019efdbff70c994fb1c73e9 (diff)
parent93cd8ba7c9ea2ee22bfcb828cd5190c4662a05b0 (diff)
downloadRobotique-Projet-cacec4dbb8b5cc017b9c6d9975f8f792db13cc7a.tar.gz
Robotique-Projet-cacec4dbb8b5cc017b9c6d9975f8f792db13cc7a.zip
Merge branch 'master' of https://github.com/Alexis211/Robotique
Diffstat (limited to 'geom.hpp')
-rw-r--r--geom.hpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/geom.hpp b/geom.hpp
index fc9f32c..06b9e65 100644
--- a/geom.hpp
+++ b/geom.hpp
@@ -181,16 +181,19 @@ struct angular_sector {
angular_sector(circarc i, circarc o) : inner(i), outer(o) {
assert(i.c.c == o.c.c);
+ assert(i.theta1 == o.theta1);
+ assert(i.theta2 == o.theta2);
+
}
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 ;
+ return 42 ;
}
};
/* vim: set ts=4 sw=4 tw=0 noet :*/