QCAD
Open Source 2D CAD
REllipseProxy.h
Go to the documentation of this file.
1 
20 #ifndef RELLIPSEPROXY_H
21 #define RELLIPSEPROXY_H
22 
23 #include "../core_global.h"
24 
25 #include <RS.h>
26 
27 class REllipse;
28 class RSpline;
29 class RPolyline;
30 
31 
39 public:
40  virtual ~REllipseProxy() {}
41 
42  virtual QList<RSpline> approximateWithSplines(const REllipse& ellipse) const = 0;
43  virtual RPolyline approximateWithArcs(const REllipse& ellipse, int segments) const = 0;
44 };
45 
46 #endif
Copyright (c) 2011-2017 by Andrew Mustun.
Definition: RSpline.h:55
#define QCADCORE_EXPORT
Definition: core_global.h:10
Proxy for advanced ellipse functionality.
Definition: REllipseProxy.h:38
Low-level mathematical representation of an ellipse or ellipse arc.
Definition: REllipse.h:42
Low-level mathematical representation of an open polyline or closed polyline (= polygon).
Definition: RPolyline.h:49
virtual ~REllipseProxy()
Definition: REllipseProxy.h:40