ST_BARShadingObject

List entry for a shading object.

TYPE ST_BARShadingObject :
STRUCT
     lrP1x      : LREAL;
     lrP1y      : LREAL;
     lrP1z      : LREAL;
     lrP2x      : LREAL;
     lrP2y      : LREAL;
     lrP2z      : LREAL;
     lrP3x      : LREAL;
     lrP3y      : LREAL;
     lrP3z      : LREAL;
     lrP4x      : LREAL;
     lrP4y      : LREAL;
     lrP4z      : LREAL;
     lrMx       : LREAL;
     lrMy       : LREAL;
     lrMz       : LREAL;
     lrRadius       : LREAL;
     usiBeginMonth  : USINT;
     usiEndMonth    : USINT;
     eType      : E_BARShadingObjectType;
     bValid     : BOOL;
END_STRUCT
END_TYPE

lrP1x .. lrP4z : corner coordinates. Of importance only if the element is a rectangle.

lrMx .. lrMz: center coordinates. Of importance only if the element is a sphere.

lrRadius: radius of the sphere. Of importance only if the element is a sphere.

usiBeginMonth: beginning of the shading period (month).

usiEndMonth: end of the shading period (month).

eType: object type, see E_BARShadingObjectType.

bValid: plausibility of the data: bValid=TRUE: data are plausible.

Remark about the shading period:

The month entries must not be 0 and not be greater than 12, all other 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 (of the following year).