Sha256: 2e12e5c3c6245d970364879ca16617e364944935d6eb16c0ae455f65ac2aec0d

Contents?: true

Size: 313 Bytes

Versions: 2

Compression:

Stored size: 313 Bytes

Contents

module RCAP
  module CAP_1_1
    # A Polygon object is valid if
    # * if points are given it has a minimum of three points
    # * each Point object in the points collection is valid
    class Polygon < RCAP::Base::Polygon
      # @return [Class]
      def point_class
        Point
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rcap-2.7.0 lib/rcap/cap_1_1/polygon.rb
rcap-2.6.0 lib/rcap/cap_1_1/polygon.rb