%% U-Shaped Line Trace
% Create and view a U-shaped line trace with mitered bends and a width of 1 m.

Ushapeline = traceLine;
Ushapeline.Length = [10 5 10];
Ushapeline.Angle  = [-90 0 90];
Ushapeline.Width  = 1;
Ushapeline.Corner = 2;
show(Ushapeline);

% Copyright 2020 The MathWorks, Inc.