Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members Related Pages Search
cartesian3dcoord.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef CARTESIAN3DCOORD_H
00019 #define CARTESIAN3DCOORD_H
00020
00025 class SphericalCoord;
00026
00027 class Cartesian3DCoord
00028 {
00029 public:
00030 Cartesian3DCoord(double x, double y, double z);
00031
00032 SphericalCoord toSphericalCoord();
00033
00034 inline double x() const{return _x;}
00035 inline double y() const{return _y;}
00036 inline double z() const{return _z;}
00037
00038 private:
00039 double _x,_y,_z;
00040 };
00041
00042 #endif
|