Class: GDAL::RPCInfo
- Inherits:
-
Object
- Object
- GDAL::RPCInfo
- Extended by:
- Forwardable
- Defined in:
- lib/gdal/rpc_info.rb
Overview
Wrapper for FFI::GDAL::RPCInfo.
Instance Method Summary collapse
- #c_pointer ⇒ FFI::Pointer
-
#initialize(struct_or_ptr = nil) ⇒ RPCInfo
constructor
A new instance of RPCInfo.
- #to_metadata ⇒ Array<String>
Constructor Details
#initialize(struct_or_ptr = nil) ⇒ RPCInfo
Returns a new instance of RPCInfo.
16 17 18 19 20 21 22 23 24 25 |
# File 'lib/gdal/rpc_info.rb', line 16 def initialize(struct_or_ptr = nil) @c_struct = case struct_or_ptr when FFI::GDAL::RPCInfo struct_or_ptr when FFI::Pointer FFI::GDAL::RPCInfo.new(struct_or_ptr) else FFI::GDAL::RPCInfo.new end end |