Sha256: a594fc75400cea014b68072a007419fd3288fb117bd22c52b038419b8167e361

Contents?: true

Size: 344 Bytes

Versions: 2

Compression:

Stored size: 344 Bytes

Contents

# frozen_string_literal: true

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.4 lib/rcap/cap_1_1/polygon.rb
rcap-2.7.3 lib/rcap/cap_1_1/polygon.rb