# how to find point lie on the arc

i have arc A ,i know startangle,endangle,startPoint,Endpoint,centre,radius of arc and i have point B, i like to find point B lies or not in arc A , i need formula or algorithum for this

-
You probably need to worry about numeric precision. These are clearly floating point numbers and B may not be exactly on the arc, even if it should be. –  Ross Millikan May 1 '14 at 0:04

@ratty. In the second step using $\arctan(y/x)$ is not sufficient. You must use atan2: en.wikipedia.org/wiki/Atan2 –  Jyotirmoy Bhattacharya Oct 6 '10 at 12:29