# File Geodesic.rb, line 56 def subdivide_by( frequency=0 ) @sub_freq = frequency @sub_x_offset = (@b-@c) / (frequency+1) @sub_y_offset = (@a-@c) / (frequency+1) @sub_faces = [] @sub_points = {} _sub_process_hex( 0, 0 ) @sub_points.each_value{ |v| v.normalize! } @sub_faces end