Selecting a curve:
The created circle will be:
Tangent to the curve in case of a passing point
On the curve in case a center point