Ghost/Epsmap_class.py
def dist(self,coord1,coord2):
        """Get the distance between two coordinates"""
        vector=coord1-coord2
        s=0.0
        for element in vector:
            s=s+element*element
        import math
        return math.sqrt(s)
Get the distance between two coordinates
Get the distance between two coordinates
Get the distance between two coordinates
def dist(self,coord1,coord2):
        vector=coord1-coord2
        s=0.0
        for element in vector:
            s=s+element*element
        import math
        return math.sqrt(s)
def dist ( self , coord1 , coord2 ) : vector = coord1 - coord2 s = 0.0 for element in vector : s = s + element * element import math return math . sqrt ( s )
Get the distance between two coordinates
Get the distance between two coordinates
"""Get the distance between two coordinates"""
self
coord1
coord2