.. include:: ../substitutions
.. include:: ../../toolkit-substitutions

.. oe:namespace:: OEDepict

.. _OEDepict_OELengthenVector:


.. oe:function:: OELengthenVector


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

      .. oe:api::

         OE2DPoint OELengthenVector(const OE2DPoint& vect, double length)

   .. oe:language:: python

      .. oe:api:: python

         OELengthenVector(vect: OE2DPoint, length: float) -> OE2DPoint

   Lengthen the given vector.

   .. seealso::

      * :ref:`OE2DPoint <OEDepict_OE2DPoint>` class
      * :oe:func:`OEDepict::OERotateVector` function
