.. # split from OEMathFunctions.rst:9

.. include:: ../substitutions

.. oe:namespace:: OEMath

.. meta::
   :keywords: OECenter

.. oe:function:: OECenter

   .. oe:language:: c++ java csharp

      .. oe:api::

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

   .. oe:language:: python

      .. oe:api:: python

         OECenter(conf: OEConfBase, t: OEDoubleArray = None) -> None
         OECenter(mcmol: OEMol, t: OEDoubleArray = None) -> None
         OECenter(arg1: Union[OEGraphMol,OEQMol], t: OEDoubleArray = None) -> None

   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.


