MCPcopy Create free account
hub / github.com/Pamphlett/Outram / vec2point

Function vec2point

src/STDesc.cpp:254–260  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

252}
253
254pcl::PointXYZI vec2point(const Eigen::Vector3d &vec) {
255 pcl::PointXYZI pi;
256 pi.x = vec[0];
257 pi.y = vec[1];
258 pi.z = vec[2];
259 return pi;
260}
261Eigen::Vector3d point2vec(const pcl::PointXYZI &pi) {
262 return Eigen::Vector3d(pi.x, pi.y, pi.z);
263}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected