Hi,
in One App i need to fine, is a mouse point inside a sector(Part of an arc) or not,
we know the center, radius and the point...
How can we find in which sector we clicked..?
Thanks for helping...
Hi,
in One App i need to fine, is a mouse point inside a sector(Part of an arc) or not,
we know the center, radius and the point...
How can we find in which sector we clicked..?
Thanks for helping...
point inside arc - Google Search
Where is your code which looks something like this?
Code:bool isPointInsideArc ( arcType arc, pointType point ) { bool result = false; // what to do here return result; }
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.