From dc919c8f4ecb4bf1ce95148884f23a463c44d666 Mon Sep 17 00:00:00 2001 From: Jean Fabre-Monplaisir Date: Thu, 8 Jan 2015 19:05:44 +0100 Subject: Add prototype --- geom.hpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'geom.hpp') 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 :*/ -- cgit v1.2.3