SurfaceRectangleCalculation
Last update: 17.07.2025Description
Returns an array of 16 VARIANT of the values for the given rectangle area in the following order:
-
Minimum value
-
Minimum value X coordinate
-
Minimum value Y coordinate
-
Maximum value
-
Maximum value X coordinate
-
Maximum value Y coordinate
-
Flux
-
Average
-
Contrast
-
Sigma
-
Barycenter X coordinate
-
Barycenter Y coordinate
-
Sigma X coordinate
-
Sigma Y coordinate
-
RMS Contrast
-
Eye Irradiance
Syntax
object.SurfaceRectangleCalculation(double dXPos, double dYPos, double dWidth, double dHeight) As Variant
-
object: Virtual Photometric Lab object
-
dXPos: horizontal coordinate of the center of the rectangle
-
dYPos: vertical coordinate of the center of the rectangle
-
dWidth: horizontal size of the rectangle
-
dHeight: vertical size of the rectangle
Remark
For Conoscopic map, the given area is a corona defined by:
-
dXPos: Minimum value of the theta angle
-
dYPos: Maximum value of the theta angle
-
dWidth: Minimum value of the phi angle
-
dHeight: Maximum value of the phi angle
Warning: All angle values are defined in radian.