Polygon.from_rectangle
- classmethod Polygon.from_rectangle(point, width, height)[source]
Construct a rectangle.
- Parameters:
- point
compas.geometry.Point The lower left corner of the rectangle.
- widthfloat
The width of the rectangle.
- heightfloat
The height of the rectangle.
- point
- Returns:
compas.geometry.PolygonA rectangle.