Commit 8c943969 authored by wangdawei's avatar wangdawei

meshes.center

parent 2cfb378b
......@@ -104,8 +104,8 @@ Vector3d AdjustPPK::ReadCenter(const string& taskName)
if(ifs) {
getline(ifs, line);
boost::split(line_vec, line, boost::is_any_of(","), boost::token_compress_on);
center.x() = stod(line_vec.at(0));
center.y() = stod(line_vec.at(1));
center.y() = stod(line_vec.at(0));
center.x() = stod(line_vec.at(1));
center.z() = stod(line_vec.at(2));
// getline(ifs, line);
// boost::split(line_vec, line, boost::is_any_of(":"), boost::token_compress_on);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment