Class: OpenCV::Cvflann::FlannDistanceTStruct Private

Inherits:
FFI::Struct
  • Object
show all
Defined in:
lib/ruby/ropencv/ropencv_types.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

object wrapping cvflann::flann_distance_t

Class Method Summary collapse

Class Method Details

.release(pointer) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

auto delete



15297
15298
15299
15300
15301
# File 'lib/ruby/ropencv/ropencv_types.rb', line 15297

def self.release(pointer)
    Rbind::delete_cvflann_flann_distancet_struct(pointer) unless pointer.null?
rescue Exception => e
    puts e
end