Rotate shape about z-axis by angle
Create and Rotate Rectangle Using Specified Properties
Create and view a rectangle with a length of 2 m and a width of 4 m.
r2 = antenna.Rectangle(Length=2,Width=4); show(r2) axis equal
Rotate the rectangle.
shape — Shape created using objects
2-D and 3-D geometric shapes created using shape objects in Custom 2-D and 3-D Antenna catalog.
angle — Angle of rotation
Angle of rotation, specified as a scalar in degrees.
c — Resultant shape
Resultant shape obtained after the rotation operation on the input shape, returned as a shape object.
Introduced in R2017a