docs: def write_boundaries(self, filename):
          """
          Write boundary lines X1 Y1 X2 Y2 TYPE to file
          """
          fid = open(filename, 'w')
          for i in self.Boundaries:
              print(i)
              # fid.write('{0} {1} {2}\n'.format(i[0], i[1], i[2]))
              fid.write(
                  '{0} {1} {2} {3} {4}\n'.format(
                      i[0][0], i[0][1], i[1][0], i[1][1], i[2]))
          fid.close()