Sha256: 2e468928f1c442bd463273e27a9519bda7f4993201c9ebf2ed5958b6f70be7be

Contents?: true

Size: 313 Bytes

Versions: 2

Compression:

Stored size: 313 Bytes

Contents

module RCAP
  module CAP_1_0
    # 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_0/polygon.rb
rcap-2.6.0 lib/rcap/cap_1_0/polygon.rb