From fecca6a8b2e24d277f2911dca969eece200ae32d Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Fri, 28 Jun 2024 16:17:43 +0200 Subject: [PATCH] What a bad idea to let ellipse inherit from circle" --- src/ifcgeom/taxonomy.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ifcgeom/taxonomy.h b/src/ifcgeom/taxonomy.h index c3fbbf9008..e118aff996 100644 --- a/src/ifcgeom/taxonomy.h +++ b/src/ifcgeom/taxonomy.h @@ -560,9 +560,10 @@ typedef item const* ptr; } }; - struct ellipse : public circle { + struct ellipse : public curve { DECLARE_PTR(ellipse) + double radius; double radius2; virtual ellipse* clone_() const { return new ellipse(*this); }