| 499 | } |
| 500 | |
| 501 | OpaqueNumber* ifcopenshell::geometry::CgalShape::area() |
| 502 | { |
| 503 | to_poly(); |
| 504 | auto s = *shape_; |
| 505 | CGAL::Polygon_mesh_processing::triangulate_faces(s); |
| 506 | return new NumberType(CGAL::Polygon_mesh_processing::area(s)); |
| 507 | } |
| 508 | |
| 509 | OpaqueNumber* ifcopenshell::geometry::CgalShape::volume() |
| 510 | { |
no test coverage detected