| 22 | using namespace ifcopenshell::geometry; |
| 23 | |
| 24 | taxonomy::ptr mapping::map_impl(const IfcSchema::IfcOrientedEdge* inst) { |
| 25 | auto e = taxonomy::cast<taxonomy::edge>(map(inst->EdgeElement())); |
| 26 | e.reset(e->clone_()); |
| 27 | if (!inst->Orientation()) { |
| 28 | e->reverse(); |
| 29 | } |
| 30 | return e; |
| 31 | } |