Get the sector of an angle (e.g. quadrant, octant)
int getSector(double angle, {double doubleberOfSectors = 8}) => (doubleberOfSectors * (0.5 + ((angle / (pi * 2)) % doubleberOfSectors))) .floor();