mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-30 16:43:00 +00:00
Rename geometry and serializer files
Apply the rename manifest, normalize serializer filenames to the classes they define, and update includes and CMake source lists. Generated with the assistance of an AI coding tool.
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
#include "conversion_result.h"
|
||||
#include "representation.h"
|
||||
|
||||
ifcopenshell::geom::Representation::triangulation* ifcopenshell::geom::conversion_result_shape::Triangulate(const ifcopenshell::geom::settings& settings, ifcopenshell::logger& logger) const
|
||||
{
|
||||
auto t = ifcopenshell::geom::Representation::triangulation::empty(settings);
|
||||
static ifcopenshell::geom::taxonomy::matrix4 iden;
|
||||
Triangulate(settings, iden, t, -1, -1, logger);
|
||||
return t;
|
||||
}
|
||||
|
||||
using namespace ifcopenshell::geom::taxonomy;
|
||||
|
||||
void ifcopenshell::geom::conversion_result::append(ifcopenshell::geom::taxonomy::matrix4::ptr trsf) {
|
||||
placement_ = make<matrix4>(placement_->ccomponents() * trsf->ccomponents());
|
||||
}
|
||||
|
||||
void ifcopenshell::geom::conversion_result::prepend(ifcopenshell::geom::taxonomy::matrix4::ptr trsf) {
|
||||
placement_ = make<matrix4>(trsf->ccomponents() * placement_->ccomponents());
|
||||
}
|
||||
|
||||
template struct IFC_GEOM_API ifcopenshell::geom::opaque_coordinate<3>;
|
||||
template struct IFC_GEOM_API ifcopenshell::geom::opaque_coordinate<4>;
|
||||
Reference in New Issue
Block a user