reV.bespoke.pack_turbs.smallest_area_with_tiebreakers
- smallest_area_with_tiebreakers(g)[source]
_summary_
This function helps break ties in the area of two different geometries using their exterior coordinate values.
- Parameters:
g (_type_) – A geometry object with an area and an exterior.coords coords attribute.
- Returns:
tuple –
- Tuple with the following elements:
area of the geometry
minimum exterior coordinate (southwest)
maximum exterior coordinate (northeast)