mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 14:41:25 +00:00
Reinclude missing max_protrusions_
This commit is contained in:
committed by
Thomas Krijnen
parent
88e1b3d2f9
commit
5c4dbb924d
@@ -1924,6 +1924,7 @@ namespace IfcGeom {
|
|||||||
normals_[t] = std::move(normals);
|
normals_[t] = std::move(normals);
|
||||||
aabbs_[t] = aabb;
|
aabbs_[t] = aabb;
|
||||||
obbs_[t] = obb;
|
obbs_[t] = obb;
|
||||||
|
max_protrusions_[t] = std::min(std::min(obb.XHSize(), obb.YHSize()), obb.ZHSize()) * 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
void add_element(IfcGeom::BRepElement* elem) {
|
void add_element(IfcGeom::BRepElement* elem) {
|
||||||
|
|||||||
Reference in New Issue
Block a user