-
Notifications
You must be signed in to change notification settings - Fork 3
PolyGon
GitHub Action edited this page Apr 24, 2024
·
2 revisions
No documentation available.
Represents a polygon composed of lines.
- `lines` (list[Line]): List of lines composing the polygon.
-
__id__(self)
: Returns the ID of the Polygon instance. -
__str__(self) -> str
: Returns a string representation of the Polygon instance. -
polygon(flatCurves: list[Line]) -> list[Point]
: Creates a polygon from a list of flat curves.
Returns the ID of the Polygon instance.
str
: The ID of the Polygon instance.
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[Line]): List of flat curves.
List[Point]
: List of points representing the polygon.