• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

kstars

csegment.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                           csegment.h  -  K Desktop Planetarium
00003                              -------------------
00004     begin                : Sun Feb 1 2004
00005     copyright            : (C) 2004 by Jason Harris
00006     email                : kstars@30doradus.org
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018 #ifndef CSEGMENT_H
00019 #define CSEGMENT_H
00020 
00021 #include <qstring.h>
00022 #include <qptrlist.h>
00023 
00038 class SkyPoint;
00039 
00040 class CSegment {
00041 public:
00043     CSegment();
00045     ~CSegment() {}
00046     
00051     void addPoint( double ra, double dec );
00052     
00056     QString name1() const { return Name1; }
00057     
00061     QString name2() const { return Name2; }
00062     
00068     bool setNames( QString n1, QString n2 );
00069     
00073     bool borders( QString cname );
00074 
00077     SkyPoint* firstNode() { return Nodes.first(); }
00081     SkyPoint* nextNode() { return Nodes.next(); }
00082 
00084     QPtrList<SkyPoint>* nodes() { return &Nodes; }
00085 
00086 private:
00087     QPtrList<SkyPoint> Nodes;
00088     QString Name1, Name2;
00089 };
00090 
00091 #endif

kstars

Skip menu "kstars"
  • Main Page
  • Modules
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • keduca
  • kstars
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal