mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-12 02:23:34 +00:00
Fix compilation of wrapper
This commit is contained in:
@@ -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),
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user