Polygon-constrained motion planning problems