Sha256: c400e014a98f3c506daa62581ee3560d605b7e240202b4d59992b7a07a0808cc

Contents?: true

Size: 486 Bytes

Versions: 12

Compression:

Stored size: 486 Bytes

Contents

# frozen_string_literal: true

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

12 entries across 12 versions & 1 rubygems

Version Path
ffi-gdal-1.0.2 lib/ogr/geometries/multi_line_string_25d.rb
ffi-gdal-1.0.1 lib/ogr/geometries/multi_line_string_25d.rb
ffi-gdal-1.0.0 lib/ogr/geometries/multi_line_string_25d.rb
ffi-gdal-1.0.0.beta16 lib/ogr/geometries/multi_line_string_25d.rb
ffi-gdal-1.0.0.beta15 lib/ogr/geometries/multi_line_string_25d.rb
ffi-gdal-1.0.0.beta14 lib/ogr/geometries/multi_line_string_25d.rb
ffi-gdal-1.0.0.beta13 lib/ogr/geometries/multi_line_string_25d.rb
ffi-gdal-1.0.0.beta12 lib/ogr/geometries/multi_line_string_25d.rb
ffi-gdal-1.0.0.beta11 lib/ogr/geometries/multi_line_string_25d.rb
ffi-gdal-1.0.0.beta10 lib/ogr/geometries/multi_line_string_25d.rb
ffi-gdal-1.0.0.beta9 lib/ogr/geometries/multi_line_string_25d.rb
ffi-gdal-1.0.0.beta8 lib/ogr/geometries/multi_line_string_25d.rb