Skip to main content

Zemax OpticStudio ZOS-API 2026 R1

File IAS_RayTrace.cs

Last update: 13.03.2026

Classes

Namespaces

Source

using System;
using System.Runtime.InteropServices;

namespace ZOSAPI.Analysis.Settings.Aberrations
{
    [ComVisible(true)]
    [Guid("A74A380E-49EA-4F15-8818-7DC1574BA059")]
    public enum RayTraceType
    {
        DirectionCosines = 0, TangentAngle = 1, YmUmYcUc = 2,
    }

    [ComVisible(true)]
    [Guid("DA20BBDB-D41F-4532-B148-7694469C0251")]
    [InterfaceType(ComInterfaceType.InterfaceIsDual)]
    public interface IAS_RayTrace : IAS_
    {
        IAS_Field Field { get; }
        IAS_Wavelength Wavelength { get; }

        bool UseGlobal { get; set; }

        double Hx { get; set; }
        double Hy { get; set; }
        double Px { get; set; }
        double Py { get; set; }

        RayTraceType Type { get; set; }

        void UseArbitraryRay();
    }
}

Connect with Ansys