mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-13 02:47:48 +00:00
Minor changes to conversion result numbers
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
#include "ConversionResult.h"
|
||||
#include "IfcGeomRepresentation.h"
|
||||
|
||||
#include <iomanip>
|
||||
|
||||
IfcGeom::Representation::Triangulation* IfcGeom::ConversionResultShape::Triangulate(const ifcopenshell::geometry::Settings& settings, Logger& logger) const
|
||||
{
|
||||
auto t = IfcGeom::Representation::Triangulation::empty(settings);
|
||||
@@ -21,11 +19,5 @@ void IfcGeom::ConversionResult::prepend(ifcopenshell::geometry::taxonomy::matrix
|
||||
placement_ = make<matrix4>(trsf->ccomponents() * placement_->ccomponents());
|
||||
}
|
||||
|
||||
std::string IfcGeom::NumberNativeDouble::to_string() const {
|
||||
std::stringstream ss;
|
||||
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>;
|
||||
|
||||
Reference in New Issue
Block a user