Sha256: 30ad34b94ab232f255cbbb40cd4ec9dbaae536511ea3b22ebc54e81cc02ac0f9

Contents?: true

Size: 344 Bytes

Versions: 2

Compression:

Stored size: 344 Bytes

Contents

# frozen_string_literal: true

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