Boolean intersection operation on two shapes
c = intersect(shape1,shape2)
Create a default rectangle.
r = antenna.Rectangle;
Create a default circle.
c = antenna.Circle;
intersect to combine the shared surfaces of the rectangle and the circle.
rc = intersect(r,c) show(rc) axis equal
rc = Polygon with properties: Name: 'mypolygon' Vertices: [30x3 double]
shape1,shape2— Shapes created using custom elements and shape objects
Shapes created using custom elements and shape objects of Antenna Toolbox, specified as an object handle.
c = intersect(rectangle1, rectangle2) where
rectangle1 and rectangle2 are shapes created using