Function cif::center_points

Function Documentation

point cif::center_points(std::vector<point> &pts)

Move all the points in pts so that their centroid is at the origin (0, 0, 0) and return the offset used (the former centroid)