There was an error while loading. Please reload this page.
Polygon
No documentation available.
__init__(self, lines) -> Polygon
Represents a polygon composed of lines.
- `lines` (list[Line]): List of lines composing the polygon.
__id__(self): Returns the ID of the Polygon instance.
__id__(self)
__str__(self) -> str: Returns a string representation of the Polygon instance.
__str__(self) -> str
polygon(flatCurves: list[Line]) -> list[Point]: Creates a polygon from a list of flat curves.
polygon(flatCurves: list[Line]) -> list[Point]
Returns the ID of the Polygon instance.
str: The ID of the Polygon instance.
str
Returns a string representation of the Polygon instance.
str: A string representation of the Polygon instance.
Creates a polygon from a list of flat curves.
flatCurves
List[Point]: List of points representing the polygon.
List[Point]