Sha256: 4b21b0998fb69f8b1153c73017be1e05d399f6f84a5fa2ace28c8e35b03e491d

Contents?: true

Size: 438 Bytes

Versions: 2

Compression:

Stored size: 438 Bytes

Contents

require_relative '../geometry_types/container'

module OGR
  class MultiPoint
    include OGR::Geometry
    include GeometryTypes::Container

    # @param [FFI::Pointer] geometry_ptr
    def initialize(geometry_ptr = nil, spatial_reference: nil)
      geometry_ptr ||= OGR::Geometry.create(:wkbMultiPoint)
      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_point.rb
ffi-gdal-1.0.0.beta6 lib/ogr/geometries/multi_point.rb