function [x,y]=tLine(L1,L2,alpha) x = [cosd(alpha)*L1 cosd(alpha)*L2]; y = [sind(alpha)*L1 sind(alpha)*L2];