 :py:mod:`mymath.trigonometry.dist` ======================================================= .. py:module:: mymath.trigonometry.dist .. autoapi-nested-parse:: Contains two functions hypot and distance Module Contents --------------- Functions ~~~~~~~~~ .. autoapisummary:: mymath.trigonometry.dist.hypotenuse mymath.trigonometry.dist.distance .. py:function:: hypotenuse(a, b) Returns hypotenuse of a right angled triangle given the length of its side :param a: length of the first side :type a: float :param b: length of the second side :type b: float :returns: length of the hypotenuse :rtype: float .. py:function:: distance(p, q) Determine the euclidean distance between two 2d points p and q :param p: x, y values of first point :type p: tuple :param q: x, y values of first point :type q: tuple :returns: distance between the two points :rtype: float