%% Intersect Two RF PCB Shapes Using & Operator
% Create and display an annular ring.

shape1 = ringAnnular(InnerRadius=1e-3);
show(shape1)

% Create and display a square ring.

shape2 = ringSquare(InnerSide=2e-3,Width=4e-3);
show(shape2)

% Display the intersection of the shapes.

shapeIntersection = shape1 & shape2;
show(shapeIntersection)

% Copyright 2021 The MathWorks, Inc.