21 static const char PREFIX[] =
"ref_point.";
22 static const char DISTANCE_KW[] =
"distance";
23 static const char LINE_KW[] =
"line";
24 static const char COL_KW[] =
"col";
43 _distance(rhs._distance),
44 _pix_line(rhs._pix_line),
45 _pix_col(rhs._pix_col)
156 const char* lookup = 0;
160 lookup = kwl.
find(pfx.c_str(), DISTANCE_KW);
172 lookup = kwl.
find(pfx.c_str(), LINE_KW);
184 lookup = kwl.
find(pfx.c_str(), COL_KW);
bool saveState(ossimKeywordlist &kwl, const char *prefix=0) const
Method to save object state to a keyword list.
bool saveState(ossimKeywordlist &kwl, const char *prefix=0) const
Method to save object state to a keyword list.
Represents serializable keyword/value map.
Ephemeris * get_ephemeris()
const char * find(const char *key) const
This class handles the referential point.
double get_distance() const
void set_pix_line(double pix_line)
void set_pix_col(double pix_col)
bool loadState(const ossimKeywordlist &kwl, const char *prefix=0)
Method to the load (recreate) the state of the object from a keyword list.
void add(const char *prefix, const ossimKeywordlist &kwl, bool overwrite=true)
This class represents an ephemeris.
bool loadState(const ossimKeywordlist &kwl, const char *prefix=0)
Method to the load (recreate) the state of the object from a keyword list.
virtual Ephemeris * Clone()
This function creatse a copy of the current class.
double get_pix_col() const
double get_pix_line() const
RefPoint & operator=(const RefPoint &rhs)
Affectation operator.
void set_ephemeris(Ephemeris *ephemeris)
float distance(double lat1, double lon1, double lat2, double lon2, int units)
void set_distance(double distance)