Sha256: 540133b673f59f770d1713b0cfe270b3831ff4c3c4627f5c4b3905b94c2b92cf

Contents?: true

Size: 962 Bytes

Versions: 3

Compression:

Stored size: 962 Bytes

Contents

# frozen_string_literal: true

require "lutaml/model"
require_relative "bezier"

module Ogc
  module Gml
    class BSpline < Bezier
      xml do
        root "BSpline"
        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 "isPolynomial", to: :is_polynomial
        map_attribute "knotType", to: :knot_type
        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 "degree", to: :degree
        map_element "knot", to: :knot
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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