Main Content

mirrorX

Mirror shape along X-axis

Description

example

mirroredshape = mirrorX(shape) mirrors a shape along the X-axis.

Examples

collapse all

Create a curved bend and view it.

shape = bendCurved;
show(bendCurved)

Figure contains an axes object. The axes object contains 2 objects of type patch. This object represents PEC.

Mirror the shape slong the X-axis.

mirrorX(shape)

Figure contains an axes object. The axes object contains 2 objects of type patch. This object represents PEC.

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