Sha256: 605451f449c060758fdfb47cc1f11a3a8264da307f2d953944af388616f16ab7

Contents?: true

Size: 555 Bytes

Versions: 3

Compression:

Stored size: 555 Bytes

Contents

# frozen_string_literal: true

require_relative "../geometry_types/curve"
require_relative "../geometry_types/container"

module OGR
  class MultiLineString
    include OGR::Geometry
    include GeometryTypes::Curve
    include GeometryTypes::Container

    # @param [FFI::Pointer] geometry_ptr
    def initialize(geometry_ptr = nil, spatial_reference: nil)
      geometry_ptr ||= OGR::Geometry.create(:wkbMultiLineString)
      initialize_from_pointer(geometry_ptr)
      self.spatial_reference = spatial_reference if spatial_reference
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ffi-gdal-1.1.0 lib/ogr/geometries/multi_line_string.rb
ffi-gdal-1.0.4 lib/ogr/geometries/multi_line_string.rb
ffi-gdal-1.0.3 lib/ogr/geometries/multi_line_string.rb