points forming a closed loop
I have many lines that start and end at some point stochasticaly, some are intersecting to form closed poyogons(triangles) and some are not. I have calculated these intersection points using the gradient(m) and the intercept(c) of these lines and put them in an array. I now want to search though the array to find which points form a closed polygon and calculate the area of the closed polygon. At least if I can get the three sets of the intersection points.
|