If u only want the coordinates of the points u indicated u don't need to generate the lines ... u just have to calculate their coordinates using the 4 vertices of your rectangles : u take the two shortest segments of your rectangle and then calculate their midpoints (?)
Snaileater
- 5.8k
- 1
- 16
- 27