Gallery/Closest Point

Find the closest and farthest point to the given point (In this example, Point(300, 200))

Closest Point

Source