Skip to main content

Zemax OpticStudio ZOS-API 2026 R1

File IAS_DiffractionEncircledEnergy.cs

Last update: 13.03.2026

Classes

Namespaces

Source

using System;
using System.Runtime.InteropServices;

namespace ZOSAPI.Analysis.Settings.EncircledEnergy
{
    [ComVisible(true)]
    [Guid("AB54B33F-409F-4268-B514-122E1B5B83FF")]
    public enum EncircledEnergyTypes
    {
        Encircled = 1, X_Only = 2, Y_Only = 3, Ensquared = 4,
    }

    [ComVisible(true)]
    [Guid("B4905081-9B49-47D8-8BDF-264636057712")]
    public enum ReferToTypes
    {
        ChiefRay = 0, Centroid = 1, Vertex = 2,
    }                 

    [ComVisible(true)]
    [Guid("FBFE00C5-8FCA-457D-939B-96B650811E79")]
    [InterfaceType(ComInterfaceType.InterfaceIsDual)]
    public interface IAS_DiffractionEncircledEnergy : IAS_
    {
        IAS_Field Field { get; }
        IAS_Surface Surface { get; }
        IAS_Wavelength Wavelength { get; }

        SampleSizes HuygensSample { get; set; }
        SampleSizes SampleSize { get; set; }
        EncircledEnergyTypes Type { get; set; }
        ReferToTypes ReferTo { get; set; }

        bool ScatterRays { get; set; }
        bool ShowDiffractionLimit { get; set; }
        bool UseDashes { get; set; }
        bool UseHuygensPSF { get; set; }
        bool UsePolarization { get; set; }

        double HuygensDelta { get; set; }
        double RadiusMaximum { get; set; }
    }
}

Connect with Ansys