class Laser::Cutter::Notching::Shift
Public Instance Methods
next_point_after(point)
click to toggle source
# File lib/laser-cutter/notching/path_generator.rb, line 6 def next_point_after point p = point.clone shift = [] shift[dim_index] = delta * direction shift[(dim_index + 1) % 2] = 0 p.plus *shift end