主要内容

FieldAngle

Represent light source location at infinity

Since R2026a

    Description

    Add-On Required: This feature requires the Optical Design and Simulation Library for Image Processing Toolbox add-on.

    A FieldAngle object represents the location of a light source at an infinite distance in front of the first surface of the optical system. The object uses field angles to represent the location of the light source. To learn more about creating field points, see Create Field Points.

    Creation

    You can create a FieldAngle object using the fieldPoint function. For example, fa = fieldPoint(Angles=angles) specifies the Angles name-value argument to create light sources located an infinite distance away from the first component in the optical system at the specified angles Angles from the optical axis. fa contains a FieldAngle object for each specified pair of field angles.

    Properties

    expand all

    Angles of the light source rays relative to the optical axis, specified as a 2-element row vector. Units are in degrees.

    This property contains the values from the corresponding row of the Angles name-value argument specified to the fieldPoint function.

    Examples

    collapse all

    Create a field point representing a light source in the *yz-*plane at 15 degrees below the optical axis, located at an infinite distance away from the first component in the optical system.

    fa = fieldPoint(Angles=[15 0])
    fa = 
      FieldAngle with properties:
    
        Angles: [15 0]
    
    

    Version History

    Introduced in R2026a