Skip to main content

Zemax OpticStudio ZOS-API 2026 R1

Interface ZOSAPI::Editors::LDE::ISTAR_DeformationFits

Last update: 13.03.2026

Definition:

Members

Properties

Property SurfaceNumber

Definition:

int ZOSAPI.Editors.LDE.ISTAR_DeformationFits.SurfaceNumber

Return type: int

Property IsSurfaceDeformationEnabled

Definition:

bool ZOSAPI.Editors.LDE.ISTAR_DeformationFits.IsSurfaceDeformationEnabled

Return type: bool

Property Settings

Definition:

ISTAR_FEAFitSettings ZOSAPI.Editors.LDE.ISTAR_DeformationFits.Settings

Return type: ISTAR_FEAFitSettings

Property FitResultsDX

Definition:

ISTAR_FEAFitResults ZOSAPI.Editors.LDE.ISTAR_DeformationFits.FitResultsDX

Return type: ISTAR_FEAFitResults

Property FitResultsDY

Definition:

ISTAR_FEAFitResults ZOSAPI.Editors.LDE.ISTAR_DeformationFits.FitResultsDY

Return type: ISTAR_FEAFitResults

Property FitResultsDZ

Definition:

ISTAR_FEAFitResults ZOSAPI.Editors.LDE.ISTAR_DeformationFits.FitResultsDZ

Return type: ISTAR_FEAFitResults

Property FitResultsAverage

Definition:

ISTAR_FEAFitResults ZOSAPI.Editors.LDE.ISTAR_DeformationFits.FitResultsAverage

Return type: ISTAR_FEAFitResults

Property Options

Definition:

STARDeformationOption ZOSAPI.Editors.LDE.ISTAR_DeformationFits.Options

Return type: STARDeformationOption

Public functions

Function ApplyDeformations

void ZOSAPI.Editors.LDE.ISTAR_DeformationFits.ApplyDeformations()

Return type: void

Function RemoveDeformations

void ZOSAPI.Editors.LDE.ISTAR_DeformationFits.RemoveDeformations()

Return type: void

Function GetFittedDeformationRBMremoved

ISTAR_Deformation ZOSAPI.Editors.LDE.ISTAR_DeformationFits.GetFittedDeformationRBMremoved(double X, double Y)

Parameters:

  • double X
  • double Y

Return type: ISTAR_Deformation

Function GetFittedDeformation

ISTAR_Deformation ZOSAPI.Editors.LDE.ISTAR_DeformationFits.GetFittedDeformation(double X, double Y)

Parameters:

  • double X
  • double Y

Return type: ISTAR_Deformation

Function MeshFittedDeformationSafe

ISTAR_PointWithDeformation[] ZOSAPI.Editors.LDE.ISTAR_DeformationFits.MeshFittedDeformationSafe(int num_X_pts, int num_Y_pts, double X1_edge, double Y1_edge, double X2_edge, double Y2_edge)

Parameters:

  • int num_X_pts
  • int num_Y_pts
  • double X1_edge
  • double Y1_edge
  • double X2_edge
  • double Y2_edge

Return type: ISTAR_PointWithDeformation[]

Function ListFittedDeformationSafe

ISTAR_PointWithDeformation[] ZOSAPI.Editors.LDE.ISTAR_DeformationFits.ListFittedDeformationSafe(double[] xCoor, double[] yCoor)

Parameters:

  • double[] xCoor
  • double[] yCoor

Return type: ISTAR_PointWithDeformation[]

Function Refit

void ZOSAPI.Editors.LDE.ISTAR_DeformationFits.Refit()

Return type: void

Function GetFittedDeformation_1

ISTAR_PointWithDeformation ZOSAPI.Editors.LDE.ISTAR_DeformationFits.GetFittedDeformation_1(double X, double Y, STARDeformationOption option)

Parameters:

Return type: ISTAR_PointWithDeformation

Function MeshFittedDeformationSafe_1

ISTAR_PointWithDeformation[] ZOSAPI.Editors.LDE.ISTAR_DeformationFits.MeshFittedDeformationSafe_1(int num_X_pts, int num_Y_pts, double X1_edge, double Y1_edge, double X2_edge, double Y2_edge, STARDeformationOption option)

Parameters:

  • int num_X_pts
  • int num_Y_pts
  • double X1_edge
  • double Y1_edge
  • double X2_edge
  • double Y2_edge
  • STARDeformationOption option

Return type: ISTAR_PointWithDeformation[]

Function ListFittedDeformationSafe_1

ISTAR_PointWithDeformation[] ZOSAPI.Editors.LDE.ISTAR_DeformationFits.ListFittedDeformationSafe_1(double[] xCoor, double[] yCoor, STARDeformationOption option)

Parameters:

Return type: ISTAR_PointWithDeformation[]

Connect with Ansys