From 11f017e715efea05628aad9cb51a5f9834f4f874 Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Tue, 10 Sep 2024 18:26:14 +0500 Subject: [PATCH] revert manual upgrade to edges for ellipses and circles --- src/ifcgeom/mapping/IfcCircle.cpp | 7 +------ src/ifcgeom/mapping/IfcEllipse.cpp | 7 +------ 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/src/ifcgeom/mapping/IfcCircle.cpp b/src/ifcgeom/mapping/IfcCircle.cpp index 82a822e34c..754c62df62 100644 --- a/src/ifcgeom/mapping/IfcCircle.cpp +++ b/src/ifcgeom/mapping/IfcCircle.cpp @@ -35,10 +35,5 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcCircle* inst) { c->radius = r; c->matrix = taxonomy::cast(map(placement)); - auto e = taxonomy::make(); - e->basis = c; - e->start = 0.; - e->end = 2 * boost::math::constants::pi(); - - return e; + return c; } diff --git a/src/ifcgeom/mapping/IfcEllipse.cpp b/src/ifcgeom/mapping/IfcEllipse.cpp index dfde1c2128..1d1e70e303 100644 --- a/src/ifcgeom/mapping/IfcEllipse.cpp +++ b/src/ifcgeom/mapping/IfcEllipse.cpp @@ -51,10 +51,5 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcEllipse* inst) { el->radius = x; el->radius2 = y; - auto e = taxonomy::make(); - e->basis = el; - e->start = 0.; - e->end = 2 * boost::math::constants::pi(); - - return e; + return el; }