# Function G2lib::projectPointOnCircle

- Defined in File G2lib.cc

## Function Documentation

real_type G2lib::projectPointOnCircle(real_type x0, real_type y0, real_type theta0, real_type k, real_type qx, real_type qy)

  Project point `(qx,qy)` to the circle passing from `(x0,y0)` with tangent direction `(c0,s0)` and curvature `k`

  Parameters

    - x0 – [in] x-starting point of circle arc

    - y0 – [in] y-starting point of circle arc

    - theta0 – [in] initial angle

    - k – [in] curvature

    - qx – [in] x-point to be projected

    - qy – [in] y-point to be projected

  Returns

    distance point circle