Gets the maximum X or Y length of the geometry :param geometry: Geometry output calculated by IfcOpenShell :return: The maximum possible value out of the X and Y dimension
(geometry: W.Triangulation)
| 129 | |
| 130 | |
| 131 | def get_max_xy(geometry: W.Triangulation) -> float: |
| 132 | """Gets the maximum X or Y length of the geometry |
| 133 | |
| 134 | :param geometry: Geometry output calculated by IfcOpenShell |
| 135 | :return: The maximum possible value out of the X and Y dimension |
| 136 | """ |
| 137 | return max(get_x(geometry), get_y(geometry)) |
| 138 | |
| 139 | |
| 140 | def get_max_xyz(geometry: W.Triangulation) -> float: |