Lines Matching defs:poly
272 double totalLength(const Polygon& poly)
275 for (size_t i = 1; i < poly.size(); ++i)
277 l += dist(poly.ps[i-1], poly.ps[i]);
302 bool inPoly(const Polygon& poly, const Point& q, bool countBorder)
304 size_t n = poly.size();
305 const std::vector<Point>& P = poly.ps;
340 Polygon poly = argpoly;
341 std::vector<Point>& P = poly.ps;
342 size_t n = poly.size();