Sha256: 66230d8dcfc728f13c62fd9b90503ee2999b30b03f31f835fb635f2ac66f320a

Contents?: true

Size: 524 Bytes

Versions: 2

Compression:

Stored size: 524 Bytes

Contents

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

2 entries across 2 versions & 1 rubygems

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