Returns the nearest point on circle's perimeter closest to point.

import { Circles } from 'https://unpkg.com/ixfx/dist/geometry.js'
const pt = Circles.nearest(circle, {x:10,y:10});

If an array of circles is provided, it will be the closest point amongst all the circles