MCPcopy Create free account
hub / github.com/IfcOpenShell/IfcOpenShell / map_impl

Method map_impl

src/ifcgeom/mapping/IfcOrientedEdge.cpp:24–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22using namespace ifcopenshell::geometry;
23
24taxonomy::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}

Callers

nothing calls this directly

Calls 2

reverseMethod · 0.80
resetMethod · 0.45

Tested by

no test coverage detected