Main Content

mirrorX

Mirror shape along X-axis

Since R2022a

Description

mirroredshape = mirrorX(shape) mirrors a shape along the X-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 slong the X-axis.

mirrorX(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