aboutsummaryrefslogtreecommitdiffstats
path: root/geom.hpp
diff options
context:
space:
mode:
authorJean Fabre-Monplaisir <jean-isaac-fm@live.fr>2015-02-01 19:04:55 +0100
committerJean Fabre-Monplaisir <jean-isaac-fm@live.fr>2015-02-01 19:04:55 +0100
commit2cb65f6726bbdecdc57b1544fe11fa6c586783dc (patch)
treeefd18989407339eed5cca0092188294fbf2e0046 /geom.hpp
parente95dc022cdd0a22f1e65e9500c73b59a2fc3ea2c (diff)
downloadRobotique-Projet-2cb65f6726bbdecdc57b1544fe11fa6c586783dc.tar.gz
Robotique-Projet-2cb65f6726bbdecdc57b1544fe11fa6c586783dc.zip
begin detection collision
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 cb8d583..e6dee0c 100644
--- a/geom.hpp
+++ b/geom.hpp
@@ -177,16 +177,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 :*/