Using the q3c_poly_query(ra, dec, poly) function we support, see here and the example https://github.com/segasai/q3c, you could query within a polygon once you know the vertices. By rotating your bounding box by an angle you should be able to determine the new vertices (using trig ratios) required by q3c_poly_query...
359 questions
372 answers
385 comments
2,451 users