.. oe:namespace:: OEMath

.. meta::
   :keywords: OEGeom2DMagnitude

.. oe:function:: OEGeom2DMagnitude

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

      .. oe:api::

         template<class T>
         double OEGeom2DMagnitude(T* x)

   .. oe:language:: python

      .. oe:api:: python

         OEGeom2DMagnitude(x: OEFloatArray) -> float
         OEGeom2DMagnitude(x: OEDoubleArray) -> float

   Returns the length of the two element vector ``x``. 

   *x*
      Input two element vector.
