mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-21 14:23:53 +00:00
fix missing parantheses
This commit is contained in:
committed by
Thomas Krijnen
parent
15a31074e8
commit
bf6e02f99d
@@ -1365,9 +1365,9 @@ namespace IfcGeom {
|
|||||||
}
|
}
|
||||||
|
|
||||||
std::vector<T> select(const IfcGeom::BRepElement* elem, bool completely_within = false, double extend = -1.e-5) const {
|
std::vector<T> select(const IfcGeom::BRepElement* elem, bool completely_within = false, double extend = -1.e-5) const {
|
||||||
auto shp = (ifcopenshell::geometry::OpenCascadeShape*)elem->geometry().as_compound();
|
auto shp = (ifcopenshell::geometry::OpenCascadeShape*)elem->geometry().as_compound();
|
||||||
TopoDS_Shape compound(std::move((ifcopenshell::geometry::OpenCascadeShape*)shp)->shape()));
|
TopoDS_Shape compound(std::move(((ifcopenshell::geometry::OpenCascadeShape*)shp)->shape()));
|
||||||
delete shp;
|
delete shp;
|
||||||
|
|
||||||
const auto& m = elem->transformation().data()->ccomponents();
|
const auto& m = elem->transformation().data()->ccomponents();
|
||||||
gp_Trsf tr;
|
gp_Trsf tr;
|
||||||
|
|||||||
Reference in New Issue
Block a user