Sha256: f0f467ac1c1da915322e92e49bcb149d76263d0bc65768d52cb6e277b88670f7

Contents?: true

Size: 295 Bytes

Versions: 9

Compression:

Stored size: 295 Bytes

Contents

module RCAP
  module CAP_1_1

    # A Polygon object is valid if
    # * 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

9 entries across 9 versions & 1 rubygems

Version Path
rcap-2.4.1 lib/rcap/cap_1_1/polygon.rb
rcap-2.4.0 lib/rcap/cap_1_1/polygon.rb
rcap-2.3.0 lib/rcap/cap_1_1/polygon.rb
rcap-2.2.1 lib/rcap/cap_1_1/polygon.rb
rcap-2.2.0 lib/rcap/cap_1_1/polygon.rb
rcap-2.1.0 lib/rcap/cap_1_1/polygon.rb
rcap-2.0.2 lib/rcap/cap_1_1/polygon.rb
rcap-2.0.1 lib/rcap/cap_1_1/polygon.rb
rcap-2.0.0 lib/rcap/cap_1_1/polygon.rb