# File lib/geo_ruby/simple_features/polygon.rb, line 54
      def ==(other_polygon)
        if other_polygon.class != self.class or
            length != other_polygon.length
          false
        else
          index=0
          while index<length
            return false if self[index] != other_polygon[index]
            index+=1
          end
          true
        end
      end