>>> list(poly1.exterior.coords) [(1.0, 2.0), (2.0, 5.0), (6.0, 5.0), (7.0, 2.0), (5.0, 1.0), (1.0, 2.0)] >>> list(poly2.exterior.coords) [(1.0, 2.0), (2.0, 5.0), (6.0, 5.0), (7.0, 2.0), (5.0, 1.0), (1.0, 2.0)] >>> list(poly2.interiors[0].coords) [(3.0, 4.0), (2.0, 2.0), (5.0, 2.0), (6.0, 4.0), (3.0, 4.0)]
coord. points
- 3636 lectures