diff options
author | Jean Fabre-Monplaisir <jean-isaac-fm@live.fr> | 2015-02-01 19:04:55 +0100 |
---|---|---|
committer | Jean Fabre-Monplaisir <jean-isaac-fm@live.fr> | 2015-02-01 19:04:55 +0100 |
commit | 2cb65f6726bbdecdc57b1544fe11fa6c586783dc (patch) | |
tree | efd18989407339eed5cca0092188294fbf2e0046 /geom.hpp | |
parent | e95dc022cdd0a22f1e65e9500c73b59a2fc3ea2c (diff) | |
download | Robotique-Projet-2cb65f6726bbdecdc57b1544fe11fa6c586783dc.tar.gz Robotique-Projet-2cb65f6726bbdecdc57b1544fe11fa6c586783dc.zip |
begin detection collision
Diffstat (limited to 'geom.hpp')
-rw-r--r-- | geom.hpp | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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 :*/ |