| 3686 | } |
| 3687 | |
| 3688 | IfcProfile IfcGeometryLoader::GetProfile3D(uint32_t expressID) const |
| 3689 | { |
| 3690 | spdlog::debug("[GetProfile3D({})]", expressID); |
| 3691 | auto lineType = _loader.GetLineType(expressID); |
| 3692 | switch (lineType) |
| 3693 | { |
| 3694 | case schema::IFCARBITRARYOPENPROFILEDEF: |
| 3695 | { |
| 3696 | IfcProfile profile; |
| 3697 | |
| 3698 | _loader.MoveToArgumentOffset(expressID, 0); |
| 3699 | profile.type = _loader.GetStringArgument(); |
| 3700 | _loader.MoveToArgumentOffset(expressID, 2); |
| 3701 | profile.curve = GetCurve(_loader.GetRefArgument(), 3); |
| 3702 | |
| 3703 | return profile; |
| 3704 | } |
| 3705 | default: |
| 3706 | spdlog::error("[GetProfilebyLine()] unexpected 3D profile type {}", expressID, lineType); |
| 3707 | break; |
| 3708 | } |
| 3709 | |
| 3710 | return IfcProfile(); |
| 3711 | } |
| 3712 | |
| 3713 | glm::dvec3 IfcGeometryLoader::GetVector(uint32_t expressID) const |
| 3714 | { |
no test coverage detected