Sha256: 5b34f1c81a043fbdb675b35e5b77ed96e81f43727216769e03b81449242a071f

Contents?: true

Size: 675 Bytes

Versions: 3

Compression:

Stored size: 675 Bytes

Contents

# frozen_string_literal: true

require "lutaml/model"
require_relative "abstract_gridded_surface"

module Ogc
  module Gml
    class Cylinder < AbstractGriddedSurface
      attribute :horizontal_curve_type, :string
      attribute :vertical_curve_type, :string

      xml do
        root "Cylinder"
        namespace "http://www.opengis.net/gml/3.2", "gml"

        map_attribute "aggregationType", to: :aggregation_type
        map_attribute "rows", to: :rows
        map_attribute "columns", to: :columns
        map_attribute "horizontalCurveType", to: :horizontal_curve_type
        map_attribute "verticalCurveType", to: :vertical_curve_type
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ogc-gml-1.0.3 lib/ogc/gml/cylinder.rb
ogc-gml-1.0.2 lib/ogc/gml/cylinder.rb
ogc-gml-1.0.1 lib/ogc/gml/cylinder.rb