osgEarth 2.1.1
|
Public Member Functions | |
StarData () | |
StarData (std::stringstream &ss) | |
Public Attributes | |
std::string | name |
double | right_ascension |
double | declination |
double | magnitude |
SkyNode::StarData::StarData | ( | std::stringstream & | ss | ) |
Definition at line 953 of file SkyNode.cpp.
{ std::getline( ss, name, ',' ); std::string buff; std::getline( ss, buff, ',' ); std::stringstream(buff) >> right_ascension; std::getline( ss, buff, ',' ); std::stringstream(buff) >> declination; std::getline( ss, buff, '\n' ); std::stringstream(buff) >> magnitude; }
std::string osgEarth::Util::SkyNode::StarData::name |