%% Subtract Two RF PCB Shapes Using - Operator
% Create and display a curved bend shape.

bend1 = bendCurved;
show(bend1)

% Create and display a curved bend shape with a spatial offset.

bend2 = bendCurved(ReferencePoint=[-1 -1]);
show(bend2)

% Subtract the offset bend from the default bend and display the result.

shapeDiff = bend1 - bend2;
show(shapeDiff)

% Copyright 2021 The MathWorks, Inc.