Fix compilation of wrapper

This commit is contained in:
Thomas Krijnen
2023-08-01 08:56:16 +08:00
parent b7f73153cc
commit d34b1e9545
2 changed files with 2 additions and 2 deletions
@@ -270,7 +270,7 @@ namespace IfcGeom {
std::vector<T> select(const IfcGeom::BRepElement* elem, bool completely_within = false, double extend = -1.e-5) const {
auto shp = elem->geometry().as_compound();
auto compound = ((OpenCascadeShape*)shp)->shape();
const auto& m = elem->transformation().data().ccomponents();
const auto& m = elem->transformation().data()->ccomponents();
gp_Trsf tr;
tr.SetValues(
m(0, 0), m(0, 1), m(0, 2), m(0, 3),