.. # split from OEMathFunctions.rst:293

.. include:: ../substitutions

.. oe:namespace:: OEMath

.. meta::
   :keywords: OEGeom3DEulerToRotMatrix

.. oe:function:: OEGeom3DEulerToRotMatrix

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

      .. oe:api::

         template<class T>
         void OEGeom3DEulerToRotMatrix(T* RMat, const double* angles)
         template<class T>
         void OEGeom3DEulerToRotMatrix(T* RMat, const double phi,
                                       const double theta, const double psi)

   .. oe:language:: python

      .. oe:api:: python

         OEGeom3DEulerToRotMatrix(RMat: OEDoubleArray, angles: OEDoubleArray) -> None

   Constructs a :math:`3x3` rotation matrix ``RMat`` from the given Euler angles. 


