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);
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);
protected:
RS_LineData data;
- //Vector startpoint;
- //Vector endpoint;
};
#endif