Method: OpenCV::VectorVectorPoint2f#each
- Defined in:
- lib/ruby/ropencv/ropencv_types.rb
#each(&block) ⇒ Object
17294 17295 17296 17297 17298 17299 17300 17301 17302 17303 |
# File 'lib/ruby/ropencv/ropencv_types.rb', line 17294 def each(&block) if block s = size 0.upto(s-1) do |i| yield self[i] end else Enumerator.new(self) end end |