Numerical solution of the curved rigid line problem in an infinite plate