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),
+1 -1
View File
@@ -697,7 +697,7 @@ struct collection_base : public geom_item {
struct collection : public collection_base<geom_item> {
DECLARE_PTR(collection)
virtual collection_base* clone_() const { return new collection(*this); }
virtual collection* clone_() const { return new collection(*this); }
virtual kinds kind() const { return COLLECTION; }
virtual size_t calc_hash() const {