X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fbase%2Frs_line.h;h=7b3cdcd4646fe9fcd027f6fac8c6a5667ceea2d9;hb=27d4a138d23453e93a833e9347444b828a971cb4;hp=4bcff0f8b92954ea15ab41d5d267a7248eece2d1;hpb=16ce54abf01ca3032e42a5bb11a4afcf9014dcca;p=architektonas diff --git a/src/base/rs_line.h b/src/base/rs_line.h index 4bcff0f..7b3cdcd 100644 --- a/src/base/rs_line.h +++ b/src/base/rs_line.h @@ -1,29 +1,3 @@ -/**************************************************************************** -** $Id: rs_line.h 1907 2004-09-04 19:56:42Z andrew $ -** -** Copyright (C) 2001-2003 RibbonSoft. All rights reserved. -** -** This file is part of the qcadlib Library project. -** -** This file may be distributed and/or modified under the terms of the -** GNU General Public License version 2 as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL included in the -** packaging of this file. -** -** Licensees holding valid qcadlib Professional Edition licenses may use -** this file in accordance with the qcadlib Commercial License -** Agreement provided with the Software. -** -** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE -** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. -** -** See http://www.ribbonsoft.com for further details. -** -** Contact info@ribbonsoft.com if any conditions of this licensing are -** not clear to you. -** -**********************************************************************/ - #ifndef RS_LINE_H #define RS_LINE_H @@ -104,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); @@ -116,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); @@ -126,8 +97,6 @@ class RS_Line: public RS_AtomicEntity protected: RS_LineData data; - //Vector startpoint; - //Vector endpoint; }; #endif