Boolean intersection operation on two shapes
Intersect Rectangle and Circle
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)
rc = Polygon with properties: Name: 'mypolygon' Vertices: [12x3 double]
show(rc) axis equal
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.
c = intersect(rectangle1, rectangle2) where
rectangle1 and rectangle2 are shapes created using
Introduced in R2017a