unit6_pp/scripts/planner_solution.py
def distance2D(utm1, utm2):
        """ Compute 2D Euclidean distance between two utm points.

        :param utm1: The first point.
        :type utm1: geodesy.utm.UTMPoint
        :param utm2: The second point.
        :type utm2: geodey.utm.UTMPoint

        :return: Distance in meters within the UTM XY plane. Altitudes are ignored.
        :rtype: float64
        """
        dx = utm2.easting - utm1.easting
        dy = utm2.northing - utm1.northing
        return numpy.sqrt(dx*dx + dy*dy)
 Compute 2D Euclidean distance between two utm points.

        :param utm1: The first point.
        :type utm1: geodesy.utm.UTMPoint
        :param utm2: The second point.
        :type utm2: geodey.utm.UTMPoint

        :return: Distance in meters within the UTM XY plane. Altitudes are ignored.
        :rtype: float64
        
Compute 2D Euclidean distance between two utm points.
Compute 2D Euclidean distance between two utm points .
def distance2D(utm1, utm2):
        dx = utm2.easting - utm1.easting
        dy = utm2.northing - utm1.northing
        return numpy.sqrt(dx*dx + dy*dy)
def distance2D ( utm1 , utm2 ) : dx = utm2 . easting - utm1 . easting dy = utm2 . northing - utm1 . northing return numpy . sqrt ( dx * dx + dy * dy )
Compute 2D Euclidean distance between two utm points.
Compute 2D Euclidean distance between two utm points .
""" Compute 2D Euclidean distance between two utm points.

        :param utm1: The first point.
        :type utm1: geodesy.utm.UTMPoint
        :param utm2: The second point.
        :type utm2: geodey.utm.UTMPoint

        :return: Distance in meters within the UTM XY plane. Altitudes are ignored.
        :rtype: float64
        """
Distance in meters within the UTM XY plane. Altitudes are ignored.
Distance in meters within the UTM XY plane . Altitudes are ignored .
float64
utm1
The first point.
The first point .
utm2
The second point.
The second point .