cgma
|
00001 00002 #ifndef EXTERNAL_COORDINATE_SYSTEM_HPP 00003 #define EXTERNAL_COORDINATE_SYSTEM_HPP 00004 00005 class ExternalCoordinateSystem 00006 { 00007 public: 00008 00009 virtual ~ExternalCoordinateSystem() {} 00010 00011 //given s,n return x,y,z 00012 virtual bool GetXYZ( double i, double j, double k, 00013 double &x, double &y, double &z ) = 0; 00014 00015 //given x,y,z , return an s,n 00016 virtual bool GetIJK( double x, double y, double z, 00017 double &i, double &j, double &k ) = 0; 00018 }; 00019 00020 #endif 00021