.. # split from OEMathFunctions.rst:263

.. include:: ../substitutions

.. oe:namespace:: OEMath

.. meta::
   :keywords: OEGeom3DDotProd

.. oe:function:: OEGeom3DDotProd

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

      .. oe:api::

         template<class T, class U>
         double OEGeom3DDotProd(const T* p, const U* q)

   .. oe:language:: python

      .. oe:api:: python

         OEGeom3DDotProd(p: OEFloatArray, q: OEFloatArray) -> float
         OEGeom3DDotProd(p: OEDoubleArray, q: OEDoubleArray) -> float

   Returns the dot product of the two given three element vectors ``p`` and
   ``q``.

