OECenter¶

template<class T, class U>
void OECenter(T *c, unsigned int size, U *trans)


Moves the cartesian points specified by c so that the collective center-of-mass is located at the origin, (0.0, 0.0, 0.0). The translation applied to every point is returned as the trans parameter.