Sha256: 075fe238b5a0b3ea3cbcada97a36bbb736a73c29364430fba2006f5803efd838
Contents?: true
Size: 817 Bytes
Versions: 9
Compression:
Stored size: 817 Bytes
Contents
# frozen_string_literal: true module GDAL module Transformers class ReprojectionTransformer # @return [FFI::Pointer] def self.function FFI::GDAL::Alg::ReprojectionTransform end # @return [FFI::Pointer] C pointer to the C reprojection transformer. attr_reader :c_pointer # @param source_wkt [String] # @param destination_wkt [String] def initialize(source_wkt, destination_wkt) @c_pointer = FFI::GDAL::Alg.GDALCreateReprojectionTransformer(source_wkt, destination_wkt) end def destroy! return unless @c_pointer FFI::GDAL::Alg.GDALDestroyReprojectionTransformer(@c_pointer) @c_pointer = nil end # @return [FFI::Pointer] def function self.class.function end end end end
Version data entries
9 entries across 9 versions & 1 rubygems