Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 581 Bytes

polar_vector.rst

File metadata and controls

18 lines (11 loc) · 581 Bytes

polar_vector

.. py:function:: polar_vector(gpt_magnitude, gpt_dir)

    Combines two single-parameter :class:`Geopoints` into a new :class:`Geopoints` of 'polar_vector' type.

    :param gpt_magnitude: geopoints containing the magnitude values
    :type gpt_magnitude: :class:`Geopoints`
    :param gpt_dir: geopoints containing the direction values
    :type gpt_dir: :class:`Geopoints`
    :rtype: :class:`Geopoints` of 'polar_vector' type.

    ``gpt_magnitude`` and ``gpt_dir`` should contain the same number of points.



.. mv-minigallery:: polar_vector