Skip to content
Snippets Groups Projects
distance_getter_able.py 611 B
Newer Older
Florent Aide's avatar
Florent Aide committed
class DistanceGetterAble(object):

    def __init__(
        self, name
    ):
        self.name = name
        
        
    def get_distance(self, start, end):
        
        """
        start is the start point located by a tuple of latitude, longitude 
        
        ex: (43.83032, 4.359950)
        
        end is the destination point 
        
        Distance returned by this method is the distance calculated between 
        the two points is required to be given in KM

        """
        print("DistanceGetterAble / get_distance / Not implemented method")
        #raise NotImplementedError