Gets the maximum X, Y, or Z length of the geometry :param geometry: Geometry output calculated by IfcOpenShell :return: The maximum possible value out of the X, Y, and Z dimension
(geometry: W.Triangulation)
| 138 | |
| 139 | |
| 140 | def get_max_xyz(geometry: W.Triangulation) -> float: |
| 141 | """Gets the maximum X, Y, or Z length of the geometry |
| 142 | |
| 143 | :param geometry: Geometry output calculated by IfcOpenShell |
| 144 | :return: The maximum possible value out of the X, Y, and Z dimension |
| 145 | """ |
| 146 | return max(get_x(geometry), get_y(geometry), get_z(geometry)) |
| 147 | |
| 148 | |
| 149 | def get_min_xyz(geometry: W.Triangulation) -> float: |