25 #include <utility/string_util.hh>
27 #include <utility/vector1.hh>
31 namespace conformation {
113 assert( coords.size() >= 3 );
115 assert( split.size() == 3 );
116 axis_x_ =
Vector( ( static_cast<core::Real>( std::atof( split[1].c_str() ) ) ),
117 ( static_cast<core::Real>( std::atof( split[2].c_str() ) ) ),
118 ( static_cast<core::Real>( std::atof( split[3].c_str() ) ) ) );
119 split = utility::string_split( coords[ coord_start +1 ],
',' );
120 axis_y_ =
Vector( ( static_cast<core::Real>( std::atof( split[1].c_str() ) ) ),
121 ( static_cast<core::Real>( std::atof( split[2].c_str() ) ) ),
122 ( static_cast<core::Real>( std::atof( split[3].c_str() ) ) ) );
124 if ( coords.size() == 5 ) {
125 split = utility::string_split( coords[ coord_start +2 ],
',' );
127 ( static_cast<core::Real>( std::atof( split[2].c_str() ) ) ),
128 ( static_cast<core::Real>( std::atof( split[3].c_str() ) ) ) );