17 fprintf(
ioQQQ,
"PROBLEM the illuminate command has come before any "
18 "radiation field shape commands.\nThis must come after the field"
19 " is specified.\nSorry.\n");
27 else if( p.
nMatch(
"REVE" ) )
29 else if( p.
nMatch(
"SYMM" ) )
41 double AngleIllumRadian = 0.;
47 p.
NoNumb(
"illumination angle");
53 AngleIllumRadian = a/RADIAN;
54 if( AngleIllumRadian < 0. || AngleIllumRadian >= PI/2. )
56 fprintf(
ioQQQ,
" Angle of illumination must be between 0 and 90 degrees "
57 "or 0 and pi/2 radians.\n" );
66 (
realnum)(1./cos(AngleIllumRadian));
bool nMatch(const char *chKey) const
realnum varang[LIMPAR][2]
char chVarFmt[LIMPAR][FILENAME_PATH_LENGTH_2]
realnum vparm[LIMEXT][LIMPAR]
void ParseIlluminate(Parser &p)
Illuminate::IlluminationType Illumination[LIMSPC]
NORETURN void NoNumb(const char *chDesc) const
bool lgOptimizeAsLinear[LIMPAR]
#define DEBUG_ENTRY(funcname)
int fprintf(const Output &stream, const char *format,...)
realnum OpticalDepthScaleFactor[LIMSPC]