Skip to main content

Zemax OpticStudio ZOS-API 2026 R1

Interface ZOSAPI::Tools::General::IPointTools

Last update: 13.03.2026

Definition:

Members

Public functions

Function CreatePointList

IPointList3D ZOSAPI.Tools.General.IPointTools.CreatePointList()

Return type: IPointList3D

Function CreatePoint

IPoint3D ZOSAPI.Tools.General.IPointTools.CreatePoint(double x, double y, double z)

Parameters:

  • double x
  • double y
  • double z

Return type: IPoint3D

Function Add

IPoint3D ZOSAPI.Tools.General.IPointTools.Add(IPoint3D p1, IPoint3D p2)

Parameters:

Return type: IPoint3D

Function Subtract

IPoint3D ZOSAPI.Tools.General.IPointTools.Subtract(IPoint3D p1, IPoint3D p2)

Parameters:

Return type: IPoint3D

Function Cross

IPoint3D ZOSAPI.Tools.General.IPointTools.Cross(IPoint3D p1, IPoint3D p2)

Parameters:

Return type: IPoint3D

Function Multiply

IPoint3D ZOSAPI.Tools.General.IPointTools.Multiply(IPoint3D p, double s)

Parameters:

Return type: IPoint3D

Function Divide

IPoint3D ZOSAPI.Tools.General.IPointTools.Divide(IPoint3D p, double s)

Parameters:

Return type: IPoint3D

Function Dot

double ZOSAPI.Tools.General.IPointTools.Dot(IPoint3D p1, IPoint3D p2)

Parameters:

Return type: double

Function ComputeCentroid

IPoint3D ZOSAPI.Tools.General.IPointTools.ComputeCentroid(IPointList3D points)

Parameters:

Return type: IPoint3D

Connect with Ansys