Sha256: a9fec965ed96dc00c3add1c28f8b068f2f737afff06e142485019b8e53862abd

Contents?: true

Size: 455 Bytes

Versions: 2

Compression:

Stored size: 455 Bytes

Contents

require_relative 'multi_line_string'

module OGR
  # NOTE: {{#type}} will return :wkbMultiLineString (read: 2D instead of 2.5D)
  # until a Z value is set.
  class MultiLineString25D < MultiLineString
    # @param [FFI::Pointer] geometry_ptr
    def initialize(geometry_ptr = nil, spatial_reference: nil)
      geometry_ptr ||= OGR::Geometry.create(:wkbMultiLineString25D)
      super(geometry_ptr, spatial_reference: spatial_reference)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ffi-gdal-1.0.0.beta7 lib/ogr/geometries/multi_line_string_25d.rb
ffi-gdal-1.0.0.beta6 lib/ogr/geometries/multi_line_string_25d.rb