Function G2lib::pointInsideCircle

Function Documentation

inline bool G2lib::pointInsideCircle(real_type x0, real_type y0, real_type c0, real_type s0, real_type k, real_type qx, real_type qy)

Check if point (qx,qy) is inside the circle passing from (x0,y0) with tangent direction (c0,s0) and curvature k

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

  • y0[in] starting y-coordinate of the circle arc

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

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

  • k[in] Curvature of the circle

  • qx[in] x-coordinate point to check

  • qy[in] y-coordinate point to check

Returns

true if point is inside