Store lowest_z in WKT footprint generation

This commit is contained in:
Thomas Krijnen
2024-10-07 20:45:52 +02:00
parent f3df7b8475
commit 461e3d478a
+1
View File
@@ -299,6 +299,7 @@ void TtlWktSerializer::write(const IfcGeom::TriangulationElement* o)
// @nb we take abs because so that we can ignore face orientation and potential convatities rquire
if ((std::abs(cross_product.z()) + 1.e-9) >= 1.0 && v0.z() < lowest_z) {
lowest_face = f.begin();
lowest_z = v0.z();
}
}