X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fbase%2Frs_spline.h;h=30e613a7792df0d135549d9498a0a8de6ba0e078;hb=d774c2655ba2c3657a565f325411144452392277;hp=5927ddf308a3eb0dfb347994cfb02bc20ecbea7e;hpb=89e127aa3dbd74d3158e6dbe0ca1703420c04395;p=architektonas diff --git a/src/base/rs_spline.h b/src/base/rs_spline.h index 5927ddf..30e613a 100644 --- a/src/base/rs_spline.h +++ b/src/base/rs_spline.h @@ -58,30 +58,22 @@ public: int getNumberOfControlPoints(); bool isClosed(); void setClosed(bool c); - virtual VectorSolutions getRefPoints(); virtual Vector getNearestRef(const Vector & coord, double * dist = NULL); virtual Vector getNearestSelectedRef(const Vector & coord, double * dist = NULL); - void update(); - virtual Vector getNearestEndpoint(const Vector & coord, double * dist = NULL); virtual Vector getNearestCenter(const Vector & coord, double * dist = NULL); virtual Vector getNearestMiddle(const Vector & coord, double * dist = NULL); virtual Vector getNearestDist(double distance, const Vector & coord, double * dist = NULL); - virtual void addControlPoint(const Vector & v); virtual void removeLastControlPoint(); - virtual void move(Vector offset); virtual void rotate(Vector center, double angle); virtual void scale(Vector center, Vector factor); virtual void mirror(Vector axisPoint1, Vector axisPoint2); virtual void moveRef(const Vector & ref, const Vector & offset); - -// virtual void draw(RS_Painter* painter, RS_GraphicView* view, double patternOffset=0.0); - virtual void draw(PaintInterface * painter, RS_GraphicView * view, double patternOffset = 0.0); -// Q3ValueList getControlPoints(); + virtual void draw(PaintInterface * painter, GraphicView * view, double patternOffset = 0.0); QList getControlPoints(); friend std::ostream & operator<<(std::ostream & os, const RS_Spline & l);