Skip to main content

Description

Computes the measures for an ellipse area projected on the 3D surface. Returns an array of 13 VARIANT in the following order:
  • Minimum value
  • Minimum x coordinate
  • Minimum y coordinate
  • Minimum z coordinate
  • Maximum value
  • Maximum x coordinate
  • Maximum y coordinate
  • Maximum z coordinate
  • Flux
  • Average
  • Contrast
  • Sigma
  • RMS contrast.

Syntax

object.SurfaceEllipseCalculation(double dXPos, double dYPos, double dZPos, double dXDir, double dYDir, double dZDir, double dPhi, double dWidth, double dHeight, long lSampling) As Variant
  • object: XM3Viewer object
  • dXPos: X coordinate of the center of the measurement tool.
  • dYPos: Y coordinate of the center of the measurement tool.
  • dZPos: Z coordinate of the center of the measurement tool.
  • dXDir: X coordinate of the projection vector.
  • dYDir: Y coordinate of the projection vector.
  • dZDir: Z coordinate of the projection vector.
  • dPhi: rotation angle around the projection vector.
  • dWidth: width of the ellipse.
  • dHeight: height of the ellipse.
  • lSampling: number of points for the measurement.

VB script example

IronPython example