Gets the minimum X, Y, or Z length of the geometry :param geometry: Geometry output calculated by IfcOpenShell :return: The minimum possible value out of the X, Y, and Z dimension
(geometry: W.Triangulation)
| 147 | |
| 148 | |
| 149 | def get_min_xyz(geometry: W.Triangulation) -> float: |
| 150 | """Gets the minimum X, Y, or Z length of the geometry |
| 151 | |
| 152 | :param geometry: Geometry output calculated by IfcOpenShell |
| 153 | :return: The minimum possible value out of the X, Y, and Z dimension |
| 154 | """ |
| 155 | return min(get_x(geometry), get_y(geometry), get_z(geometry)) |
| 156 | |
| 157 | |
| 158 | def get_shape_matrix(shape: ShapeElementType) -> MatrixType: |