Sha256: 3c4c45cd3fc62c2c1435ce45800c30c9c36c9a47d1a2ea0c08e8c502efc8c0ab

Contents?: true

Size: 1.03 KB

Versions: 3

Compression:

Stored size: 1.03 KB

Contents

# frozen_string_literal: true

require "lutaml/model"
require_relative "vector"
require_relative "arc_string"

module Ogc
  module Gml
    class ArcStringByBulge < ArcString
      attribute :bulge, :float, collection: true
      attribute :normal, Vector, collection: true

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

        map_attribute "numDerivativesAtStart", to: :num_derivatives_at_start
        map_attribute "numDerivativesAtEnd", to: :num_derivatives_at_end
        map_attribute "numDerivativeInterior", to: :num_derivative_interior
        map_attribute "interpolation", to: :interpolation
        map_attribute "numArc", to: :num_arc
        map_element "pos", to: :pos
        map_element "pointProperty", to: :point_property
        map_element "pointRep", to: :point_rep
        map_element "posList", to: :pos_list
        map_element "coordinates", to: :coordinates
        map_element "bulge", to: :bulge
        map_element "normal", to: :normal
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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