simulation.utils.geometry.polygon module¶
Polygon.
Reference¶
-
class
Polygon(*args, frame=None)[source]¶ Bases:
shapely.geometry.polygon.PolygonPolygon class inheriting from shapely’s Polygon class.
Inheriting from shapely enables to use their powerful operations in combination with other objects, e.g. polygon intersections.
Initialization can be done in one of the following ways.
- Parameters
-
get_points() → List[simulation.utils.geometry.point.Point][source]¶ Points of polygon.
- Returns
list of points on the polygon.