Calculates the surface area of the geometry :param geometry: Geometry output calculated by IfcOpenShell :return: The surface area.
(geometry: W.Triangulation)
| 459 | |
| 460 | |
| 461 | def get_area(geometry: W.Triangulation) -> float: |
| 462 | """Calculates the surface area of the geometry |
| 463 | |
| 464 | :param geometry: Geometry output calculated by IfcOpenShell |
| 465 | :return: The surface area. |
| 466 | """ |
| 467 | vertices = get_vertices(geometry) |
| 468 | faces = get_faces(geometry) |
| 469 | return get_area_vf(vertices, faces) |
| 470 | |
| 471 | |
| 472 | def get_side_area( |
nothing calls this directly
no test coverage detected