code: def __fixed_interpolation(self, line):
          
          STARTPOINT = [line.xy[0][0] - self._minx, line.xy[1][0] - self._miny]
          ENDPOINT = [line.xy[0][-1] - self._minx, line.xy[1][-1] - self._miny]
  
          count = self._interpolation_dist
          newline = [STARTPOINT]
  
          while count < line.length:
              point = line.interpolate(count)
              newline.append([point.x - self._minx, point.y - self._miny])
              count += self._interpolation_dist
  
          newline.append(ENDPOINT)
  
          return newline
docs: Place additional points on the border at the specified distance.
  
          By default the distance is 0.5 (meters) which means that the first
          point will be placed 0.5 m from the starting point, the second
          point will be placed at the distance of 1.0 m from the first
          point, etc. The loop breaks when the summarized distance exceeds
          the length of the line.
  
          Args:
              line (shapely.geometry.LineString): object
  
          Returns:
              list: a list of points where each point is represented by
                  a list of its reduced coordinates
  
          Example:
              [[X1, Y1], [X2, Y2], ..., [Xn, Yn]