%% Rotate and Mesh Custom Line
% Create a custom line trace using default properties.

customLine = tracePoint;

% Rotate the trace by 45 degrees along the Z-axis.

customLine = rotateZ(customLine,45)

% View the trace.

show(customLine)

%
% Mesh the custom line trace at a maximum edge length of 1 m.

mesh(customLine,MaxEdgeLength=1)

% Copyright 2020 The MathWorks, Inc.