Method: OpenCV::VectorVectorPoint2f#initialize
- Defined in:
- lib/ruby/ropencv/ropencv_types.rb
#initialize(ptr) ⇒ VectorVectorPoint2f
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.
Returns a new instance of VectorVectorPoint2f.
17277 17278 17279 17280 17281 17282 17283 |
# File 'lib/ruby/ropencv/ropencv_types.rb', line 17277 def initialize(ptr) @__obj_ptr__ = if ptr.is_a? VectorVectorPoint2fStruct ptr else VectorVectorPoint2fStruct.new(FFI::AutoPointer.new(ptr,VectorVectorPoint2fStruct.method(:release))) end end |