mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-14 19:34:34 +00:00
Auto mem mngt in conversion result number types; more arithmetic on OpaqueCoordinate
This commit is contained in:
@@ -23,9 +23,9 @@ void IfcGeom::ConversionResult::prepend(ifcopenshell::geometry::taxonomy::matrix
|
||||
|
||||
std::string IfcGeom::NumberNativeDouble::to_string() const {
|
||||
std::stringstream ss;
|
||||
ss << std::setprecision(std::numeric_limits<double>::digits10 + 1) << value_;
|
||||
ss << std::setprecision(std::numeric_limits<double>::digits10 + 1) << value();
|
||||
return ss.str();
|
||||
}
|
||||
|
||||
template struct IFC_GEOM_API IfcGeom::OpaqueCoordinate<3>;
|
||||
template struct IFC_GEOM_API IfcGeom::OpaqueCoordinate<4>;
|
||||
template struct IFC_GEOM_API IfcGeom::OpaqueCoordinate<4>;
|
||||
|
||||
Reference in New Issue
Block a user