Mirror
Description
Add-On Required: This feature requires the Optical Design and Simulation Library for Image Processing Toolbox add-on.
A Mirror object specifies the properties of a mirror in an
optical system, such as its shape, position, and angular orientation. Add a mirror to an
optical system using the addMirror object
function, which creates a Mirror object.
Creation
There are two ways to create a Mirror object.
Use the
addImagePlaneobject function when you want to add a mirror as the next component to an optical system in a single command. You can specify its properties, such as surface shape and spatial position, using name-value arguments.Use the
optics.component.Mirrorfunction described here. Use this function when you want to create a mirror without adding it to the optical system, or modify the properties of a mirror already in the system. After creating the object, you can specify the mirror properties by modifying the properties of the object.
Description
creates a
mirror = optics.component.MirrorMirror object with default properties.
sets writeable properties using one or more name-value arguments.mirror = optics.component.Mirror(PropertyName=Value)
Example: optics.component.Mirror(Position=[2 0 4]) creates a
Mirror object representing a mirror at a position [2 0
4].
Properties
Version History
Introduced in R2026a