.. # split from OEMathFunctions.rst:283

.. include:: ../substitutions

.. oe:namespace:: OEMath

.. meta::
   :keywords: OEGeom3DEulerToQuaternion

.. oe:function:: OEGeom3DEulerToQuaternion

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

      .. oe:api::

         template<class T, class U>
         void OEGeom3DEulerToQuaternion(T* quat, const U* angles)

   .. oe:language:: python

      .. oe:api:: python

         OEGeom3DEulerToQuaternion(quat: OEDoubleArray, angles: OEDoubleArray) -> None

   Constructs the four element quaternion ``quat`` for the rotation given by
   the three Euler angles ``angles``. 

