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
- Anybody can ask a question
- Anybody can answer
- The best answers are voted up and rise to the top
Assuming you're talking about an arc of a circle, the first question to ask is whether the point lies on the circle. This just means that the distance from the center of the circle to your point is equal to the radius. Then find out the angle between the radius to your point and, say, a horizontal line, and figure out whether the point is within the bounds of the arc.
Did you take a look here: http://mathforum.org/library/drmath/view/54365.html