| 249 | } |
| 250 | |
| 251 | std::string GetLine(webifc::parsing::IfcLoader &loader, uint32_t expressID) |
| 252 | { |
| 253 | if (!loader.IsValidExpressID(expressID)) |
| 254 | return ""; |
| 255 | uint32_t lineType = loader.GetLineType(expressID); |
| 256 | if (lineType == 0) |
| 257 | return ""; |
| 258 | |
| 259 | loader.MoveToArgumentOffset(expressID, 0); |
| 260 | |
| 261 | auto arguments = GetArgs(loader); |
| 262 | |
| 263 | std::string retVal; |
| 264 | retVal += "\"ID\": " + std::to_string(expressID) + ", "; |
| 265 | retVal += "\"type\": " + std::to_string(lineType) + ", "; |
| 266 | retVal += "\"arguments\": " + arguments; |
| 267 | retVal += "}"; |
| 268 | |
| 269 | return retVal; |
| 270 | } |
| 271 | |
| 272 | std::vector<webifc::geometry::IfcFlatMesh> LoadAllTest(webifc::parsing::IfcLoader &loader, webifc::geometry::IfcGeometryProcessor &geometryLoader, uint32_t IdToExport) |
| 273 | { |
nothing calls this directly
no test coverage detected