Method: RADMesh::STL#each_facet
- Defined in:
- lib/radmesh/stl.rb
#each_facet ⇒ Enumerator
get an enumerator for each facet
647 648 649 650 651 652 653 654 |
# File 'lib/radmesh/stl.rb', line 647 def each_facet return to_enum(:each_facet) unless block_given? idx = 0 while idx < size yield self[idx] idx += 1 end end |