A circular sector is the part of a circle bounded by two radii and
an arc connecting them. Determining whether a point lies in a
sector is not quite as easy as rectangular bounds-checking. There
are a few different approaches: θ-comparison, line-sides, and
Continue reading "Bounds-checking with a circular sector"