Page principale | Liste des namespaces | Hiérarchie des classes | Liste par ordre alphabétique | Liste des composants | Liste des fichiers | Composants | Déclarations

SphericPosition.h

Aller à la documentation de ce fichier.
00001 /***************************************************************************
00002                           SphericPosition.h  -  description
00003                              -------------------
00004     begin                : dim jui 8 2003
00005     copyright            : (C) 2003 by Michel Dubois, Yann Le Guyadec
00006     email                : Michel.Dubois@univ-ubs.fr, Yann.Le-Guyadec@univ-ubs.fr
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 
00019 // Modèle statique
00020 /*
00021   * changes :
00022   *  - 08/06/03 MD Creation !
00023   */
00024 
00025 
00026 #ifndef __SPHERICPOSITION__
00027 #define __SPHERICPOSITION__
00028 
00029 namespace API {
00038 class SphericPosition
00039 {
00040     class Util;
00041     friend class Util;
00042 
00043     public:
00052       class Util {
00053         friend class SphericPosition;
00054         private:
00055           SphericPosition * sp;
00056           Util(SphericPosition * sp);
00057           ~Util();
00058         public:
00062           void          print() const;
00063           
00064        };
00065 
00071       Util * util;
00072  
00078   SphericPosition();
00079 
00088   SphericPosition(double alpha, double beta);
00089 
00095   double getAlpha();
00096 
00103   double getBeta();
00104 
00110     void setAlpha(double aRadius);
00111 
00118   void setBeta(double aRadius);
00119  // void setPosition(double alpha, double beta);
00120 
00121  private:
00122   double alpha;
00123   double beta;
00124   
00125 };// END CLASS DEFINITION SphericPosition
00126 }
00127 #endif // __SPHERICPOSITION__

Généré le Mon Mar 1 01:29:41 2004 par doxygen 1.3.3