Main Content

mirrorY

Mirror shape along Y-axis

Since R2022a

Description

mirroredshape = mirrorY(shape) mirrors a shape along the Y-axis.

example

Examples

collapse all

Create a curved bend and view it.

shape = bendCurved;
show(bendCurved)

Figure contains an axes object. The axes object with xlabel x (mm), ylabel y (mm) contains 2 objects of type patch. These objects represent PEC, myCurvedbend.

Mirror the shape along the Y-axis.

mirrorY(shape)

Figure contains an axes object. The axes object with xlabel x (mm), ylabel y (mm) contains 2 objects of type patch. These objects represent PEC, myCurvedbend.

Input Arguments

collapse all

Shape to mirror, specified as shape or PCB object You can specify any of the shapes in Custom Geometry and PCB Fabrication.

Example: shape = bendCurved; creates a bendCurved shape object.

Version History

Introduced in R2022a