Auto mem mngt in conversion result number types; more arithmetic on OpaqueCoordinate

This commit is contained in:
Thomas Krijnen
2026-06-22 10:38:25 +02:00
parent 312be203c9
commit 4f21bd1c69
8 changed files with 477 additions and 302 deletions
+2 -2
View File
@@ -81,7 +81,7 @@ bool IfcGeom::Representation::BRep::calculate_surface_area(double& area) const {
area = 0.;
return false;
}
area = s->area()->to_double();
area = s->area().to_double();
return true;
}
@@ -91,7 +91,7 @@ bool IfcGeom::Representation::BRep::calculate_volume(double& volume) const {
volume = 0.;
return false;
}
volume = s->volume()->to_double();
volume = s->volume().to_double();
return true;
}