Hi, I have a data set of lines with slopes and y-intercepts and I need a quick test to see if 5 lines make any type of pentagram (5 lined star)
The current test I'm using now, sorts the slopes in order, calculates 10 intersection points and checks to see if 5 conditions are true. - please see attached excel sheet for elaboration
Unfortunately this is proving to be quite slow when I have a lot of combinations to check.
There's got to be a faster way.