.. # split from OEMathFunctions.rst:83

.. include:: ../substitutions

.. oe:namespace:: OEMath

.. meta::
   :keywords: OEGeom2DDistance

.. oe:function:: OEGeom2DDistance

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

      .. oe:api::

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

   .. oe:language:: python

      .. oe:api:: python

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

   Determines the distance in two dimensions between ``p`` and ``q``.

   *p*
      First two dimensional input array.

   *q*
      Second two dimensional input array.

