Sha256: caf12bf9e2bea9dfe86b90e6e1c99e2efa2ec71b53424710ba047dcb9912add6

Contents?: true

Size: 993 Bytes

Versions: 3

Compression:

Stored size: 993 Bytes

Contents

# frozen_string_literal: true

require "lutaml/model"
require_relative "vector"
require_relative "arc"

module Ogc
  module Gml
    class ArcByBulge < Arc
      attribute :bulge, :float
      attribute :normal, Vector

      xml do
        root "ArcByBulge"
        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_by_bulge.rb
ogc-gml-1.0.2 lib/ogc/gml/arc_by_bulge.rb
ogc-gml-1.0.1 lib/ogc/gml/arc_by_bulge.rb