OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimStatePlaneProjectionInfo.h>
Public Member Functions | |
ossimStatePlaneProjectionInfo (const std::string &name, int pcsCode, const std::string &projCode, const std::string ¶m1, const std::string ¶m2, const std::string ¶m3, const std::string ¶m4, double falseEast, double falseNorth, const std::string &units, const std::string &datumName) | |
int | code () const |
const ossimString & | name () const |
const ossimString & | projName () const |
double | originLat () const |
double | originLon () const |
const ossimDatum * | datum () const |
ossimGpt | origin () const |
double | parallel1 () const |
double | parallel2 () const |
double | falseEasting () const |
double | falseNorthing () const |
double | falseEastingInMeters () const |
double | falseNorthingInMeters () const |
double | scaleFactor () const |
ossimString | units () const |
Not stored as string; hence, returned by value. More... | |
ossimUnitType | getUnitType () const |
bool | matchesProjection (const ossimMapProjection *proj) const |
Checks parameters of projection against this. More... | |
bool | isSameCode (int Code) const |
void | populateProjectionKeywords (ossimKeywordlist &kwl, const char *prefix=0) const |
Private Attributes | |
int | thePcsCode |
ossimString | theName |
ossimString | theProjectionName |
const ossimDatum * | theDatum |
ossimDms | theOriginLat |
ossimDms | theOriginLon |
ossimGpt | theOrigin |
double | theParameter3 |
double | theParameter4 |
double | theFalseEasting |
double | theFalseNorthing |
double | theScaleFactor |
ossimUnitType | theUnits |
Friends | |
OSSIM_DLL std::ostream & | operator<< (std::ostream &, const ossimStatePlaneProjectionInfo &) |
Definition at line 21 of file ossimStatePlaneProjectionInfo.h.
ossimStatePlaneProjectionInfo::ossimStatePlaneProjectionInfo | ( | const std::string & | name, |
int | pcsCode, | ||
const std::string & | projCode, | ||
const std::string & | param1, | ||
const std::string & | param2, | ||
const std::string & | param3, | ||
const std::string & | param4, | ||
double | falseEast, | ||
double | falseNorth, | ||
const std::string & | units, | ||
const std::string & | datumName | ||
) |
Definition at line 19 of file ossimStatePlaneProjectionInfo.cpp.
References ossimString::c_str(), ossimDatumFactoryRegistry::create(), FLT_EPSILON, ossimDms::getDegrees(), ossimUnitTypeLut::getEntryNumber(), ossimUnitTypeLut::instance(), ossimDatumFactoryRegistry::instance(), OSSIM_FEET, OSSIM_METERS, OSSIM_US_SURVEY_FEET, ossimNotify(), ossimNotifyLevel_WARN, projName(), theDatum, theOrigin, theOriginLat, theOriginLon, theParameter3, theParameter4, theProjectionName, theScaleFactor, theUnits, ossimString::toDouble(), and units().
int ossimStatePlaneProjectionInfo::code | ( | ) | const |
Definition at line 112 of file ossimStatePlaneProjectionInfo.cpp.
References thePcsCode.
Referenced by operator<<().
const ossimDatum * ossimStatePlaneProjectionInfo::datum | ( | ) | const |
Definition at line 137 of file ossimStatePlaneProjectionInfo.cpp.
References theDatum.
double ossimStatePlaneProjectionInfo::falseEasting | ( | ) | const |
Definition at line 157 of file ossimStatePlaneProjectionInfo.cpp.
References theFalseEasting.
Referenced by operator<<().
double ossimStatePlaneProjectionInfo::falseEastingInMeters | ( | ) | const |
Definition at line 187 of file ossimStatePlaneProjectionInfo.cpp.
References MTRS_PER_FT, OSSIM_FEET, OSSIM_US_SURVEY_FEET, theFalseEasting, theUnits, and US_METERS_PER_FT.
Referenced by matchesProjection().
double ossimStatePlaneProjectionInfo::falseNorthing | ( | ) | const |
Definition at line 162 of file ossimStatePlaneProjectionInfo.cpp.
References theFalseNorthing.
Referenced by operator<<().
double ossimStatePlaneProjectionInfo::falseNorthingInMeters | ( | ) | const |
Definition at line 204 of file ossimStatePlaneProjectionInfo.cpp.
References MTRS_PER_FT, OSSIM_FEET, OSSIM_US_SURVEY_FEET, theFalseNorthing, theUnits, and US_METERS_PER_FT.
Referenced by matchesProjection().
ossimUnitType ossimStatePlaneProjectionInfo::getUnitType | ( | ) | const |
Definition at line 285 of file ossimStatePlaneProjectionInfo.cpp.
References theUnits.
bool ossimStatePlaneProjectionInfo::isSameCode | ( | int | Code | ) | const |
Definition at line 177 of file ossimStatePlaneProjectionInfo.cpp.
References thePcsCode.
bool ossimStatePlaneProjectionInfo::matchesProjection | ( | const ossimMapProjection * | proj | ) | const |
Checks parameters of projection against this.
Definition at line 290 of file ossimStatePlaneProjectionInfo.cpp.
References ossimDatum::code(), falseEastingInMeters(), falseNorthingInMeters(), ossimObject::getClassName(), ossimMapProjection::getFalseEasting(), ossimMapProjection::getFalseNorthing(), ossimTransMercatorProjection::getScaleFactor(), ossimLambertConformalConicProjection::getStandardParallel1(), ossimLambertConformalConicProjection::getStandardParallel2(), ossimMapProjection::origin(), parallel1(), parallel2(), PTR_CAST, theDatum, theOrigin, theProjectionName, and theScaleFactor.
const ossimString & ossimStatePlaneProjectionInfo::name | ( | ) | const |
Definition at line 117 of file ossimStatePlaneProjectionInfo.cpp.
References theName.
Referenced by operator<<().
ossimGpt ossimStatePlaneProjectionInfo::origin | ( | ) | const |
Definition at line 142 of file ossimStatePlaneProjectionInfo.cpp.
References theOrigin.
Referenced by operator<<(), and populateProjectionKeywords().
double ossimStatePlaneProjectionInfo::originLat | ( | ) | const |
Definition at line 127 of file ossimStatePlaneProjectionInfo.cpp.
References ossimDms::getDegrees(), and theOriginLat.
double ossimStatePlaneProjectionInfo::originLon | ( | ) | const |
Definition at line 132 of file ossimStatePlaneProjectionInfo.cpp.
References ossimDms::getDegrees(), and theOriginLon.
double ossimStatePlaneProjectionInfo::parallel1 | ( | ) | const |
Definition at line 147 of file ossimStatePlaneProjectionInfo.cpp.
References theParameter3.
Referenced by matchesProjection(), operator<<(), and populateProjectionKeywords().
double ossimStatePlaneProjectionInfo::parallel2 | ( | ) | const |
Definition at line 152 of file ossimStatePlaneProjectionInfo.cpp.
References theParameter4.
Referenced by matchesProjection(), operator<<(), and populateProjectionKeywords().
void ossimStatePlaneProjectionInfo::populateProjectionKeywords | ( | ossimKeywordlist & | kwl, |
const char * | prefix = 0 |
||
) | const |
Definition at line 221 of file ossimStatePlaneProjectionInfo.cpp.
References ossimKeywordlist::add(), ossimString::c_str(), ossimKeywordNames::CENTRAL_MERIDIAN_KW, ossimDatum::code(), ossimKeywordNames::DATUM_KW, ossimKeywordNames::FALSE_EASTING_NORTHING_KW, ossimKeywordNames::FALSE_EASTING_NORTHING_UNITS_KW, ossimUnitTypeLut::instance(), origin(), ossimKeywordNames::ORIGIN_LATITUDE_KW, parallel1(), parallel2(), ossimKeywordNames::PCS_CODE_KW, projName(), ossimKeywordNames::SCALE_FACTOR_KW, STATIC_TYPE_NAME, ossimKeywordNames::STD_PARALLEL_1_KW, ossimKeywordNames::STD_PARALLEL_2_KW, theDatum, theFalseEasting, theFalseNorthing, thePcsCode, theScaleFactor, theUnits, ossimDpt::toString(), and ossimKeywordNames::TYPE_KW.
const ossimString & ossimStatePlaneProjectionInfo::projName | ( | ) | const |
Definition at line 122 of file ossimStatePlaneProjectionInfo.cpp.
References theProjectionName.
Referenced by operator<<(), ossimStatePlaneProjectionInfo(), and populateProjectionKeywords().
double ossimStatePlaneProjectionInfo::scaleFactor | ( | ) | const |
Definition at line 167 of file ossimStatePlaneProjectionInfo.cpp.
References theScaleFactor.
Referenced by operator<<().
ossimString ossimStatePlaneProjectionInfo::units | ( | ) | const |
Not stored as string; hence, returned by value.
Definition at line 172 of file ossimStatePlaneProjectionInfo.cpp.
References ossimLookUpTable::getEntryString(), ossimUnitTypeLut::instance(), and theUnits.
Referenced by ossimStatePlaneProjectionInfo().
|
friend |
Definition at line 359 of file ossimStatePlaneProjectionInfo.cpp.
|
private |
Definition at line 86 of file ossimStatePlaneProjectionInfo.h.
Referenced by datum(), matchesProjection(), ossimStatePlaneProjectionInfo(), and populateProjectionKeywords().
|
private |
Definition at line 95 of file ossimStatePlaneProjectionInfo.h.
Referenced by falseEasting(), falseEastingInMeters(), and populateProjectionKeywords().
|
private |
Definition at line 96 of file ossimStatePlaneProjectionInfo.h.
Referenced by falseNorthing(), falseNorthingInMeters(), and populateProjectionKeywords().
|
private |
Definition at line 78 of file ossimStatePlaneProjectionInfo.h.
Referenced by name().
|
private |
Definition at line 90 of file ossimStatePlaneProjectionInfo.h.
Referenced by matchesProjection(), origin(), and ossimStatePlaneProjectionInfo().
|
private |
Definition at line 88 of file ossimStatePlaneProjectionInfo.h.
Referenced by originLat(), and ossimStatePlaneProjectionInfo().
|
private |
Definition at line 89 of file ossimStatePlaneProjectionInfo.h.
Referenced by originLon(), and ossimStatePlaneProjectionInfo().
|
private |
Definition at line 92 of file ossimStatePlaneProjectionInfo.h.
Referenced by ossimStatePlaneProjectionInfo(), and parallel1().
|
private |
Definition at line 93 of file ossimStatePlaneProjectionInfo.h.
Referenced by ossimStatePlaneProjectionInfo(), and parallel2().
|
private |
Definition at line 77 of file ossimStatePlaneProjectionInfo.h.
Referenced by code(), isSameCode(), and populateProjectionKeywords().
|
private |
ossimLambertConformalConicProjection or ossimTransMercatorProjection
Definition at line 84 of file ossimStatePlaneProjectionInfo.h.
Referenced by matchesProjection(), ossimStatePlaneProjectionInfo(), and projName().
|
private |
Definition at line 98 of file ossimStatePlaneProjectionInfo.h.
Referenced by matchesProjection(), ossimStatePlaneProjectionInfo(), populateProjectionKeywords(), and scaleFactor().
|
private |
Definition at line 100 of file ossimStatePlaneProjectionInfo.h.
Referenced by falseEastingInMeters(), falseNorthingInMeters(), getUnitType(), ossimStatePlaneProjectionInfo(), populateProjectionKeywords(), and units().