Circle.hpp

Go to the documentation of this file.
00001 #pragma ident "$Id: Circle.hpp 3140 2012-06-18 15:03:02Z susancummins $"
00002 
00004 
00005 //============================================================================
00006 //
00007 //  This file is part of GPSTk, the GPS Toolkit.
00008 //
00009 //  The GPSTk is free software; you can redistribute it and/or modify
00010 //  it under the terms of the GNU Lesser General Public License as published
00011 //  by the Free Software Foundation; either version 2.1 of the License, or
00012 //  any later version.
00013 //
00014 //  The GPSTk is distributed in the hope that it will be useful,
00015 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
00016 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00017 //  GNU Lesser General Public License for more details.
00018 //
00019 //  You should have received a copy of the GNU Lesser General Public
00020 //  License along with GPSTk; if not, write to the Free Software Foundation,
00021 //  Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
00022 //  
00023 //  Copyright 2004, The University of Texas at Austin
00024 //
00025 //============================================================================
00026 
00027 
00028 #ifndef VDRAW_CIRCLE_H
00029 #define VDRAW_CIRCLE_H
00030 
00031 #include<string>
00032 #include<list>
00033 
00034 #include "StrokeStyle.hpp"
00035 #include "Fillable.hpp"
00036 
00037 namespace vdraw
00038 {
00041 
00047    class Circle : public Fillable {
00048 
00049    public:
00050 
00052       double xc;
00053 
00055       double yc;
00056 
00058       double radius;
00059 
00067       Circle(double ixc, double iyc, double ir)
00068          : Fillable()
00069          { xc = ixc; yc = iyc; radius = ir; };
00070 
00079       Circle(double ixc, double iyc, double ir, const StrokeStyle& istyle)
00080          : Fillable(istyle)
00081          { xc = ixc; yc = iyc; radius = ir; };
00082 
00083 
00093       Circle(double ixc, double iyc, double ir,
00094            const StrokeStyle& istyle, const Color& ifillcolor)
00095          : Fillable(istyle,ifillcolor)
00096          { xc = ixc; yc = iyc; radius = ir; };
00097 
00098 
00107       Circle(double ixc, double iyc, double ir,
00108            const Color& ifillcolor)
00109          : Fillable(ifillcolor)
00110          { xc = ixc; yc = iyc; radius = ir; };
00111 
00112    protected:
00113 
00114    private:
00115             
00116    }; // class Circle
00117 
00119 
00120 } // namespace vdraw
00121 
00122 #endif //VDRAW_CIRCLE_H
00123 
00124 

Generated on Thu May 23 03:31:04 2013 for GPS ToolKit Software Library by  doxygen 1.3.9.1