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

Method Converter

src/ifcgeom/Converter.cpp:7–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5using namespace ifcopenshell::geometry;
6
7ifcopenshell::geometry::Converter::Converter(std::unique_ptr<ifcopenshell::geometry::kernels::AbstractKernel>&& geometry_library, IfcParse::IfcFile* file, ifcopenshell::geometry::Settings& s)
8 : kernel_(std::move(geometry_library))
9{
10 mapping_ = impl::mapping_implementations().construct(file, s);
11 // Mapping reads unit information and applies to settings
12 settings_ = mapping_->settings();
13}
14
15ifcopenshell::geometry::Converter::~Converter() {
16 delete mapping_;

Callers

nothing calls this directly

Calls 1

constructMethod · 0.45

Tested by

no test coverage detected