mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-10-03 21:38:12 +00:00
What a bad idea to let ellipse inherit from circle"
This commit is contained in:
@@ -560,9 +560,10 @@ typedef item const* ptr;
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
struct ellipse : public circle {
|
struct ellipse : public curve {
|
||||||
DECLARE_PTR(ellipse)
|
DECLARE_PTR(ellipse)
|
||||||
|
|
||||||
|
double radius;
|
||||||
double radius2;
|
double radius2;
|
||||||
|
|
||||||
virtual ellipse* clone_() const { return new ellipse(*this); }
|
virtual ellipse* clone_() const { return new ellipse(*this); }
|
||||||
|
|||||||
Reference in New Issue
Block a user