NCBI C++ ToolKit
|
Search Toolkit Book for CCountryLine
#include <objects/seqfeat/SubSource.hpp>
Public Member Functions | |
CCountryLine (const string &country_name, double y, double min_x, double max_x, double scale) | |
~CCountryLine (void) | |
const string & | GetCountry (void) const |
double | GetLat (void) const |
double | GetMinLon (void) const |
double | GetMaxLon (void) const |
int | GetY (void) const |
int | GetMinX (void) const |
int | GetMaxX (void) const |
void | SetBlock (CCountryExtreme *block) |
CCountryExtreme * | GetBlock (void) const |
Static Public Member Functions | |
static int | ConvertLat (double y, double scale) |
static int | ConvertLon (double x, double scale) |
Private Member Functions | |
int | x_ConvertLat (double y) |
int | x_ConvertLon (double x) |
Private Attributes | |
CCountryExtreme * | m_Block |
string | m_CountryName |
int | m_Y |
int | m_MinX |
int | m_MaxX |
double | m_Scale |
Definition at line 372 of file SubSource.hpp.
CCountryLine::CCountryLine | ( | const string & | country_name, |
double | y, | ||
double | min_x, | ||
double | max_x, | ||
double | scale | ||
) |
Definition at line 5294 of file SubSource.cpp.
References m_MaxX, m_MinX, m_Y, x_ConvertLat(), and x_ConvertLon().
CCountryLine::~CCountryLine | ( | void | ) |
Definition at line 5306 of file SubSource.cpp.
|
static |
Definition at line 5313 of file SubSource.cpp.
References EPSILON, int, and val.
Referenced by CLatLonMap_Base::IsCountryInLatLon(), CLatLonMap_Base::IsNearLatLon(), and x_ConvertLat().
|
static |
Definition at line 5340 of file SubSource.cpp.
References EPSILON, int, and val.
Referenced by CLatLonMap_Base::FindClosestToLatLon(), CLatLonMap_Base::GuessRegionForLatLon(), CLatLonMap_Base::IsClosestToLatLon(), CLatLonMap_Base::IsCountryInLatLon(), CLatLonMap_Base::IsNearLatLon(), and x_ConvertLon().
|
inline |
Definition at line 390 of file SubSource.hpp.
References m_Block.
Definition at line 378 of file SubSource.hpp.
References m_CountryName.
|
inline |
Definition at line 379 of file SubSource.hpp.
|
inline |
Definition at line 381 of file SubSource.hpp.
|
inline |
Definition at line 384 of file SubSource.hpp.
References m_MaxX.
Referenced by CCountryExtreme::AddLine().
|
inline |
Definition at line 380 of file SubSource.hpp.
|
inline |
Definition at line 383 of file SubSource.hpp.
References m_MinX.
Referenced by CCountryExtreme::AddLine().
|
inline |
Definition at line 382 of file SubSource.hpp.
References m_Y.
Referenced by CCountryExtreme::AddLine().
|
inline |
Definition at line 389 of file SubSource.hpp.
References m_Block.
|
private |
Definition at line 5335 of file SubSource.cpp.
References ConvertLat(), and m_Scale.
Referenced by CCountryLine().
|
private |
Definition at line 5362 of file SubSource.cpp.
References ConvertLon(), and m_Scale.
Referenced by CCountryLine().
|
private |
Definition at line 396 of file SubSource.hpp.
Referenced by GetBlock(), and SetBlock().
|
private |
Definition at line 397 of file SubSource.hpp.
Referenced by GetCountry().
|
private |
Definition at line 400 of file SubSource.hpp.
Referenced by CCountryLine(), GetMaxLon(), and GetMaxX().
|
private |
Definition at line 399 of file SubSource.hpp.
Referenced by CCountryLine(), GetMinLon(), and GetMinX().
|
private |
Definition at line 401 of file SubSource.hpp.
Referenced by GetLat(), GetMaxLon(), GetMinLon(), x_ConvertLat(), and x_ConvertLon().
|
private |
Definition at line 398 of file SubSource.hpp.
Referenced by CCountryLine(), GetLat(), and GetY().