VR-Link API Documentation for HLA Evolved
geodNormalizer.h
Go to the documentation of this file.
00001 //********************************************************************
00004 //********************************************************************
00005 //********************************************************************
00007 //********************************************************************
00008 
00009 #ifndef geodNormalizer_H_
00010 #define geodNormalizer_H_
00011 
00012 #include <matrix/geodCoord.h>
00013 
00014 #if DtHLA
00015 
00019 
00020 class DT_DLL_VL DtNormalizedVector
00021 {
00022 public:
00024    DtNormalizedVector();
00025 
00027    virtual ~DtNormalizedVector();
00028 
00030    DtNormalizedVector(const DtNormalizedVector& orig);
00031 
00033    DtNormalizedVector& operator=(const DtNormalizedVector& orig);
00034 
00035    const unsigned long& operator[](int index) const;
00036    unsigned long& operator[](int index);
00037 
00038 protected:
00039    unsigned long myRep[3];
00040 };
00041 
00042 class DT_DLL_VL DtNormalizedGeodeticVector : public DtNormalizedVector
00043 {
00044 public:
00045    DtNormalizedGeodeticVector();
00046 
00047    virtual ~DtNormalizedGeodeticVector();
00048 
00049    DtNormalizedGeodeticVector(const DtNormalizedGeodeticVector& orig);
00050 
00051    DtNormalizedGeodeticVector& operator=(const DtNormalizedGeodeticVector& orig);
00052 
00053    virtual unsigned long lat();
00054    virtual unsigned long lon();
00055 };
00056 
00057 class DT_DLL_VL DtGeodeticNormalizer 
00058 {
00059 public:
00062    DtGeodeticNormalizer(
00063 #ifdef DtHLA_1516
00064       unsigned long latitudeUpperBound,
00065       unsigned long longitudeUpperBound
00066 #endif
00067 );
00068 
00070    DtGeodeticNormalizer(
00071 #ifdef DtHLA_1516
00072       unsigned long latitudeUpperBound,
00073       unsigned long longitudeUpperBound,
00074 #endif
00075       const DtGeodeticCoord& lowerPoint, const DtGeodeticCoord& upperPoint);
00076    
00078    virtual ~DtGeodeticNormalizer();
00079 
00081    DtGeodeticNormalizer(const DtGeodeticNormalizer& orig);
00082 
00084    DtGeodeticNormalizer& operator=(const DtGeodeticNormalizer& orig);
00085 
00087    virtual void normalize(const DtGeodeticCoord& vectorIn, DtNormalizedVector& vectorOut);
00088 
00089 protected:
00090 #ifdef DtHLA_1516
00091    unsigned long myMaxLatitudeBound;
00092    unsigned long myMaxLongitudeBound;
00093 #endif
00094 
00095    double myMinLatitude;
00096    double myMaxLatitude;
00097    double myMinLongitude;
00098    double myMaxLongitude;
00099 };
00100 
00101 #endif
00102 
00103 #endif
00104 

Document ID: Generated on Mon May 14 08:06:18 EDT 2012 from SVN revision 114750
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)