I have got a list of line ends, like ((pt1 pt2) (pt3 pt4) (pt5 pt6) ...). And these lines form a closed area (only one), but some of them connect by ends and others cross each other, which means it could be rectangle or "#".
How could I get the area of the closed area? I've tried: draw the lines->pick a point manually within the closed area->genrate a region->get the area. But here, a manual point is required.
If "regen" is the only way, how can I omit the "pick point" step? Or, there is another better way to solve the problem?