Determine if a point lies on a circle (#389)