.. # split from OEMathFunctions.rst:482

.. include:: ../substitutions

.. oe:namespace:: OEMath

.. meta::
   :keywords: OEGeom3DReflect

.. oe:function:: OEGeom3DReflect

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

      .. oe:api::

         template<class T>
         void OEGeom3DReflect(T* xyz, unsigned int axis_to_reflect_around,
                              unsigned int ncoord)

   .. oe:language:: python

      .. oe:api:: python

         OEGeom3DReflect(xyz: OEFloatArray, axis_to_reflect_around: int,
                         ncoord: int) -> None
         OEGeom3DReflect(xyz: OEDoubleArray, axis_to_reflect_around: int,
                         ncoord: int) -> None

   Reflects the coordinates of ``xyz`` around the axis given by
   ``axis_to_reflect_around``. ``axis_to_reflect_around`` should be
   either 0, 1, or 2 for the X, Y, and Z axis respectively. 

   *xyz*
      Array of coordinates to reflect

   *axis_to_reflect_around*
      The axis to reflect around

   *ncoord*
      Number of coordinate sets to reflect

