windkit.spatial.BBox.from_cornerpts
- classmethod BBox.from_cornerpts(minx=0.0, miny=0.0, maxx=1000.0, maxy=1000.0, crs='epsg:32632')[source]
Create a bounding box object from min and max values
- Parameters:
minx (float) – Minimum values of the east-west direction. Defaults to 0.0.
maxx (float) – Maximum values of the east-west direction. Defaults to 1000.0.
miny (float) – Minimum values of the south-north direction. Defaults to 0.0.
maxy (float) – Maximum values of the south-north direction. Defaults to 1000.0.
crs (int, dict, str or pyproj.crs.CRS) – Value to initialize
pyproj.crs.CRS
Defaults to “epsg:32632”.
- Returns:
A bounding box of the requested coordinates.
- Return type: