00001 #include "TePDIMixModelSpectralBand.hpp" 00002 00003 TePDIMixModelSpectralBand::TePDIMixModelSpectralBand(unsigned int s, unsigned int b, double ll, double ul, string l) 00004 { 00005 sensor = s; 00006 band = b; 00007 lowerlimit = ll; 00008 upperlimit = ul; 00009 label = l; 00010 } 00011 00012 TePDIMixModelSpectralBand::~TePDIMixModelSpectralBand() 00013 { 00014 } 00015 00016 unsigned int TePDIMixModelSpectralBand::getSensor() 00017 { 00018 return sensor; 00019 } 00020 00021 unsigned int TePDIMixModelSpectralBand::getBand() 00022 { 00023 return band; 00024 } 00025 00026 double TePDIMixModelSpectralBand::getLowerLimit() 00027 { 00028 return lowerlimit; 00029 } 00030 00031 double TePDIMixModelSpectralBand::getUpperLimit() 00032 { 00033 return upperlimit; 00034 } 00035 00036 string TePDIMixModelSpectralBand::getLabel() 00037 { 00038 return label; 00039 } 00040 00041 bool TePDIMixModelSpectralBand::operator==( 00042 const TePDIMixModelSpectralBand& external ) const 00043 { 00044 return ( ( sensor == external.sensor ) && ( band == external.band ) 00045 && ( lowerlimit == external.lowerlimit ) 00046 && ( upperlimit == external.upperlimit ) 00047 && ( label == external.label ) ); 00048 } 00049
1.5.3