X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fbase%2Frs_line.h;h=7b3cdcd4646fe9fcd027f6fac8c6a5667ceea2d9;hb=d774c2655ba2c3657a565f325411144452392277;hp=04a4c8651ab1e0eddc24975fc8a9c0f533e57396;hpb=89e127aa3dbd74d3158e6dbe0ca1703420c04395;p=architektonas diff --git a/src/base/rs_line.h b/src/base/rs_line.h index 04a4c86..7b3cdcd 100644 --- a/src/base/rs_line.h +++ b/src/base/rs_line.h @@ -78,8 +78,7 @@ class RS_Line: public RS_AtomicEntity virtual Vector getNearestMiddle(const Vector & coord, double * dist = NULL); virtual Vector getNearestDist(double distance, const Vector & coord, double * dist = NULL); virtual Vector getNearestDist(double distance, bool startp); - //virtual Vector getNearestRef(const Vector& coord, - // double* dist = NULL); + //virtual Vector getNearestRef(const Vector& coord, double* dist = NULL); virtual double getDistanceToPoint(const Vector & coord, RS_Entity ** entity = NULL, RS2::ResolveLevel level = RS2::ResolveNone, double solidDist = RS_MAXDOUBLE); @@ -90,9 +89,7 @@ class RS_Line: public RS_AtomicEntity virtual void mirror(Vector axisPoint1, Vector axisPoint2); virtual void stretch(Vector firstCorner, Vector secondCorner, Vector offset); 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); + virtual void draw(PaintInterface * painter, GraphicView * view, double patternOffset = 0.0); friend std::ostream & operator<<(std::ostream & os, const RS_Line & l); @@ -100,8 +97,6 @@ class RS_Line: public RS_AtomicEntity protected: RS_LineData data; - //Vector startpoint; - //Vector endpoint; }; #endif