PolygonCoordinates Objects
__init__
values
List[PointCoordinate] - A list of PointCoordinate objects defining the polygon.polygons
List[List[List[PointCoordinate]]] - A list of polygons, where each polygon is a list of contours, where each contour is a list of points.
from_dict
d
dict - Dictionary containing polygon coordinates information.
PolygonCoordinates
- A PolygonCoordinates instance.
to_dict
dict
- A dictionary representation of the polygon coordinates.