I'm making an Excel for calculating the variation in perimeter length for expanding and intersecting circles. I have written the file quite far, but have stumbled upon a problematic problem.
I need to determine if sectors of a circle is intersected by other sectors.
Example with 4 holes.gif
The Excel programming problem I have now is to determine if a angle value in column A, row 3 is between any of the sectors denoted by the angle values in row 4-6 (in example file).
Is there a way to do this effeciently, my only idea at the moment is to use e.g.But this is no viable to do for a large number of rows (I need atleast 19).![]()
Please Login or Register to view this content.
Also there is another problem with how the sectors are described with angle from -pi (-180 degrees) to pi (+180 degrees). Using the median formula won't work when the start angle and end angle passes from the plus side to the minus side, which is the case for row 6, in the example file.
The example file is for calculations for the yellow circle in the example image.
Example circle sectors.xlsx
Hope you can understand my problem and perhaps have some input or solution.
Bookmarks