ST_BA_ShdObj

List entry for a shading object.

TYPE ST_BA_ShdObj :
STRUCT
  fP1x       : REAL;
  fP1y       : REAL;
  fP1z       : REAL;
  fP2x       : REAL;
  fP2y       : REAL;
  fP2z       : REAL;
  fP3x       : REAL;
  fP3y       : REAL;
  fP3z       : REAL;
  fP4x       : REAL;
  fP4y       : REAL;
  fP4z       : REAL;
  fMx        : REAL;
  fMy        : REAL;
  fMz        : REAL;
  fRads      : REAL;
  nBegMth    : USINT;
  nEndMth    : USINT;
  eType      : E_BA_ShdObjType;
  bVld       : BOOL;
END_STRUCT
END_TYPE

Name

Type

Description

fP1x…fP4z

REAL

Corner coordinates. Of importance only if the element is a rectangle.

fMx…fMz

REAL

Center coordinates. Of importance only if the element is a sphere.

fRads

REAL

Radius of the ball. Of importance only if the element is a sphere.

nBegMth

USINT

Beginning of the shading period (month).

nEndMth

USINT

End of the shading period (month).

eType

E_BA_ShdObjType

Object type

bVld

BOOL

Plausibility of the data: bVld = TRUE: data are plausible.

Remark about the shading period:

The entries for the months may not be 0 or greater than 12, otherwise all combinations are possible.

Examples:

Start=1, End=1: shading in January.

Start=1, End=5: shading from the beginning of January to the end of May.

Start=11, End=5: shading from the beginning of November to the end of May (the following year).