i need to check that a given point is present or not in the given region of a circle how can i do so is there any function in ansi c to help me?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Do you want to check if point belongs to a circle or in some subregion in the circle?
To check if point belongs to the circle you can simply check if the distance from this point to the circle center is less then circle radius.