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

.. oe:namespace:: OEDepict

.. _OEDepict_OERotateVector:


.. oe:function:: OERotateVector


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

      .. oe:api::

         OE2DPoint OERotateVector(const OE2DPoint& vect, double degree)

   .. oe:language:: python

      .. oe:api:: python

         OERotateVector(vect: OE2DPoint, degree: float) -> OE2DPoint

   Rotates the vector with the given degree. 

   .. seealso::

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