#include "ConversionResult.h" #include "IfcGeomRepresentation.h" IfcGeom::Representation::Triangulation* IfcGeom::ConversionResultShape::Triangulate(const ifcopenshell::geometry::Settings& settings, Logger& logger) const { auto t = IfcGeom::Representation::Triangulation::empty(settings); static ifcopenshell::geometry::taxonomy::matrix4 iden; Triangulate(settings, iden, t, -1, -1, logger); return t; } using namespace ifcopenshell::geometry::taxonomy; void IfcGeom::ConversionResult::append(ifcopenshell::geometry::taxonomy::matrix4::ptr trsf) { placement_ = make(placement_->ccomponents() * trsf->ccomponents()); } void IfcGeom::ConversionResult::prepend(ifcopenshell::geometry::taxonomy::matrix4::ptr trsf) { placement_ = make(trsf->ccomponents() * placement_->ccomponents()); } template struct IFC_GEOM_API IfcGeom::OpaqueCoordinate<3>; template struct IFC_GEOM_API IfcGeom::OpaqueCoordinate<4>;