How to solve :line segment that appear tangent are actually tangent of the circle