.. # split from OEMathFunctions.rst:101

.. include:: ../substitutions

.. oe:namespace:: OEMath

.. meta::
   :keywords: OEGeom2DDotProd

.. oe:function:: OEGeom2DDotProd

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

      .. oe:api::

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

   .. oe:language:: python

      .. oe:api:: python

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

   Determines the dot-product in two dimensions between ``p`` and ``q``.


