Function G2lib::projectPointOnCircleArc

Function Documentation

real_type G2lib::projectPointOnCircleArc(real_type x0, real_type y0, real_type c0, real_type s0, real_type k, real_type L, real_type qx, real_type qy)

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

Parameters
  • x0[in] x-starting point of circle arc

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

  • c0[in] \( \cos \theta_0 \)

  • s0[in] \( \sin \theta_0 \)

  • k[in] curvature

  • L[in] arc length

  • qx[in] x-point to be projected

  • qy[in] y-point to be projected

Returns

distance point circle